summaryrefslogtreecommitdiffstats
path: root/base/gamin
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-09-28 21:14:08 +0200
committerpiernov <piernov@piernov.org>2011-09-28 21:14:08 +0200
commit5d2027fbf64d6869dc84a00169bf7da860aa9107 (patch)
tree7f4c06ab65cb99dc4156d9e3f3ff8bb3afa288b5 /base/gamin
parentdec0440b8506b7daffd7c2313e200563e35f026c (diff)
downloadnutyx-pakxe-5d2027fbf64d6869dc84a00169bf7da860aa9107.tar.gz
nutyx-pakxe-5d2027fbf64d6869dc84a00169bf7da860aa9107.tar.bz2
nutyx-pakxe-5d2027fbf64d6869dc84a00169bf7da860aa9107.tar.xz
nutyx-pakxe-5d2027fbf64d6869dc84a00169bf7da860aa9107.zip
gamin 0.1.10-2 ajout patch glib 2.29.x
Diffstat (limited to 'base/gamin')
-rw-r--r--base/gamin/.md5sum.i6861
-rw-r--r--base/gamin/.md5sum.x86_641
-rwxr-xr-xbase/gamin/Pkgfile6
-rw-r--r--base/gamin/remove_deprecated_G_CONST_RETURN.patch44
4 files changed, 50 insertions, 2 deletions
diff --git a/base/gamin/.md5sum.i686 b/base/gamin/.md5sum.i686
index c563cfe7c..cbaad13f2 100644
--- a/base/gamin/.md5sum.i686
+++ b/base/gamin/.md5sum.i686
@@ -1 +1,2 @@
b4ec549e57da470c04edd5ec2876a028 gamin-0.1.10.tar.gz
+900d35909afeacc9c4d4c26fe8d3b8f1 remove_deprecated_G_CONST_RETURN.patch
diff --git a/base/gamin/.md5sum.x86_64 b/base/gamin/.md5sum.x86_64
index c563cfe7c..cbaad13f2 100644
--- a/base/gamin/.md5sum.x86_64
+++ b/base/gamin/.md5sum.x86_64
@@ -1 +1,2 @@
b4ec549e57da470c04edd5ec2876a028 gamin-0.1.10.tar.gz
+900d35909afeacc9c4d4c26fe8d3b8f1 remove_deprecated_G_CONST_RETURN.patch
diff --git a/base/gamin/Pkgfile b/base/gamin/Pkgfile
index 5b1daac97..a8f000d58 100755
--- a/base/gamin/Pkgfile
+++ b/base/gamin/Pkgfile
@@ -5,11 +5,13 @@
name=gamin
version=0.1.10
-release=1
-source=(http://www.gnome.org/~veillard/gamin/sources/$name-$version.tar.gz)
+release=2
+source=(http://www.gnome.org/~veillard/gamin/sources/$name-$version.tar.gz
+ remove_deprecated_G_CONST_RETURN.patch)
build() {
cd $name-$version
+ patch -p0 < ../remove_deprecated_G_CONST_RETURN.patch
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' python/gamin.py
./configure --prefix=/usr \
diff --git a/base/gamin/remove_deprecated_G_CONST_RETURN.patch b/base/gamin/remove_deprecated_G_CONST_RETURN.patch
new file mode 100644
index 000000000..f8430a79b
--- /dev/null
+++ b/base/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)