diff --git a/plugins/deadbeef-rating/manifest.json b/plugins/deadbeef-rating/manifest.json index 5ee2e68..043423a 100644 --- a/plugins/deadbeef-rating/manifest.json +++ b/plugins/deadbeef-rating/manifest.json @@ -4,7 +4,8 @@ type: "git", url: "https://github.com/splushii/deadbeef-rating.git", patches: [ - 'make.diff' + 'make.diff', + 'warnings.diff' ], }, make: { diff --git a/plugins/deadbeef-rating/warnings.diff b/plugins/deadbeef-rating/warnings.diff new file mode 100644 index 0000000..387c8d8 --- /dev/null +++ b/plugins/deadbeef-rating/warnings.diff @@ -0,0 +1,55 @@ +diff --git a/rating.c b/rating.c +index c11e3b2..b9e47dd 100644 +--- a/rating.c ++++ b/rating.c +@@ -103,43 +103,43 @@ out: + } + + static int +-rating_action_rate0(DB_plugin_action_t *action, int ctx) ++rating_action_rate0(DB_plugin_action_t *action, ddb_action_context_t ctx) + { + return rating_action_rate_helper(action, ctx, 0); + } + + static int +-rating_action_rate1(DB_plugin_action_t *action, int ctx) ++rating_action_rate1(DB_plugin_action_t *action, ddb_action_context_t ctx) + { + return rating_action_rate_helper(action, ctx, 1); + } + + static int +-rating_action_rate2(DB_plugin_action_t *action, int ctx) ++rating_action_rate2(DB_plugin_action_t *action, ddb_action_context_t ctx) + { + return rating_action_rate_helper(action, ctx, 2); + } + + static int +-rating_action_rate3(DB_plugin_action_t *action, int ctx) ++rating_action_rate3(DB_plugin_action_t *action, ddb_action_context_t ctx) + { + return rating_action_rate_helper(action, ctx, 3); + } + + static int +-rating_action_rate4(DB_plugin_action_t *action, int ctx) ++rating_action_rate4(DB_plugin_action_t *action, ddb_action_context_t ctx) + { + return rating_action_rate_helper(action, ctx, 4); + } + + static int +-rating_action_rate5(DB_plugin_action_t *action, int ctx) ++rating_action_rate5(DB_plugin_action_t *action, ddb_action_context_t ctx) + { + return rating_action_rate_helper(action, ctx, 5); + } + + static int +-rating_action_remove(DB_plugin_action_t *action, int ctx) ++rating_action_remove(DB_plugin_action_t *action, ddb_action_context_t ctx) + { + return rating_action_rate_helper(action, ctx, -1); + }