From 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:15:45 +0100 Subject: split de git pakxe et NuTyX-extra --- gamin/remove_deprecated_G_CONST_RETURN.patch | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 gamin/remove_deprecated_G_CONST_RETURN.patch (limited to 'gamin/remove_deprecated_G_CONST_RETURN.patch') diff --git a/gamin/remove_deprecated_G_CONST_RETURN.patch b/gamin/remove_deprecated_G_CONST_RETURN.patch new file mode 100644 index 000000000..f8430a79b --- /dev/null +++ b/gamin/remove_deprecated_G_CONST_RETURN.patch @@ -0,0 +1,44 @@ +--- ./server/gam_node.h.orig 2007-07-04 15:36:49.000000000 +0200 ++++ ./server/gam_node.h 2011-08-26 01:49:59.504423790 +0200 +@@ -58,7 +58,7 @@ + void gam_node_set_is_dir (GamNode *node, + gboolean is_dir); + +-G_CONST_RETURN char *gam_node_get_path (GamNode *node); ++const char *gam_node_get_path (GamNode *node); + + GList *gam_node_get_subscriptions (GamNode *node); + +--- ./server/gam_subscription.h.orig 2007-07-04 15:36:49.000000000 +0200 ++++ ./server/gam_subscription.h 2011-08-26 01:49:59.504423790 +0200 +@@ -21,7 +21,7 @@ + + int gam_subscription_get_reqno (GamSubscription *sub); + +-G_CONST_RETURN char *gam_subscription_get_path (GamSubscription *sub); ++const char *gam_subscription_get_path (GamSubscription *sub); + + GamListener *gam_subscription_get_listener (GamSubscription *sub); + +--- ./server/gam_node.c.orig 2007-07-04 15:36:49.000000000 +0200 ++++ ./server/gam_node.c 2011-08-26 01:49:59.504423790 +0200 +@@ -122,7 +122,7 @@ + * it has finished with the string. If it must keep it longer, it + * should makes its own copy. The returned string must not be freed. + */ +-G_CONST_RETURN char * ++const char * + gam_node_get_path(GamNode * node) + { + g_assert(node); +--- ./server/gam_subscription.c.orig 2007-07-04 15:36:49.000000000 +0200 ++++ ./server/gam_subscription.c 2011-08-26 01:49:59.504423790 +0200 +@@ -141,7 +141,7 @@ + * @param sub the GamSubscription + * @returns The path being monitored. It should not be freed. + */ +-G_CONST_RETURN char * ++const char * + gam_subscription_get_path(GamSubscription * sub) + { + if (sub == NULL) -- cgit v1.2.3-54-g00ecf