From bef0aad257646af7b5d1ac020bd5188e8b91c4d8 Mon Sep 17 00:00:00 2001 From: milisbir Date: Thu, 14 Apr 2016 22:23:30 +0000 Subject: [PATCH] gamin-yama --- rootfs/lib/services/init-functions | 4 +- .../remove_deprecated_G_CONST_RETURN.patch | 44 +++++++++++++++++++ talimatname/genel/gamin/talimat | 4 +- 3 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 talimatname/genel/gamin/remove_deprecated_G_CONST_RETURN.patch diff --git a/rootfs/lib/services/init-functions b/rootfs/lib/services/init-functions index 30824c9f1..c0a9c6703 100644 --- a/rootfs/lib/services/init-functions +++ b/rootfs/lib/services/init-functions @@ -9,7 +9,7 @@ # : DJ Lucas - dj@linuxfromscratch.org # Update : Bruce Dubbs - bdubbs@linuxfromscratch.org # : Thierry Nuttens - tnut@nutyx.org -# +# : milisarge@gmail.com # Version : LFS 7.0 # : milis # @@ -71,7 +71,7 @@ FAILURE_PREFIX="${FAILURE}*****${NORMAL}" WARNING_PREFIX="${WARNING} *** ${NORMAL}" SUCCESS_SUFFIX="${BRACKET}[${SUCCESS} TAMAM ${BRACKET}]${NORMAL}" -FAILURE_SUFFIX="${BRACKET}[${FAILURE} BAŞARISIZ ${BRACKET}]${NORMAL}" +FAILURE_SUFFIX="${BRACKET}[${FAILURE} BASARISIZ ${BRACKET}]${NORMAL}" WARNING_SUFFIX="${BRACKET}[${WARNING} UYARI ${BRACKET}]${NORMAL}" BOOTLOG=/run/bootlog diff --git a/talimatname/genel/gamin/remove_deprecated_G_CONST_RETURN.patch b/talimatname/genel/gamin/remove_deprecated_G_CONST_RETURN.patch new file mode 100644 index 000000000..f8430a79b --- /dev/null +++ b/talimatname/genel/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) diff --git a/talimatname/genel/gamin/talimat b/talimatname/genel/gamin/talimat index e3dba1556..369ded460 100644 --- a/talimatname/genel/gamin/talimat +++ b/talimatname/genel/gamin/talimat @@ -1,6 +1,6 @@ # Description: File and directory monitoring system defined to be a subset of the File Alteration Monitor # URL: http://www.gnome.org/~veillard/gamin -# Packager: pierre at nutyx dot org +# Packager: milisarge # Depends on: glib python name=gamin @@ -8,7 +8,7 @@ version=0.1.10 release=1 source=(http://www.gnome.org/~veillard/gamin/sources/$name-$version.tar.gz - http://downloads.nutyx.org/files/patchs/$name/remove_deprecated_G_CONST_RETURN.patch) + remove_deprecated_G_CONST_RETURN.patch) build() { cd $name-$version