midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame glib-2.46.2.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
--- glib-2.46.2/configure.orig	2015-11-06 22:28:54.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
+++ glib-2.46.2/configure	2016-03-06 18:55:06.490493143 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
@@ -21737,33 +21737,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 if ${glib_cv_stack_grows+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
   $as_echo_n "(cached) " >&6
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-        if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-as_fn_error $? "cannot run test program while cross compiling
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-See \`config.log' for more details" "$LINENO" 5; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-/* end confdefs.h.  */
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-	volatile int *a = 0, *b = 0;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-	void f (int i) { volatile int x = 5; if (i == 0) b = &x; else f (i - 1); }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-	int main () { volatile int y = 7; a = &y; f (100); return b > a ? 0 : 1; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-_ACEOF
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-if ac_fn_c_try_run "$LINENO"; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
   glib_cv_stack_grows=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  glib_cv_stack_grows=no
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_stack_grows" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 $as_echo "$glib_cv_stack_grows" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
@@ -25142,37 +25116,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 if ${glib_cv_uscore+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
   $as_echo_n "(cached) " >&6
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-as_fn_error $? "cannot run test program while cross compiling
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-See \`config.log' for more details" "$LINENO" 5; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-/* end confdefs.h.  */
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-#include <dlfcn.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-                int glib_underscore_test (void) { return 42; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		int main() {
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		  void *f1 = (void*)0, *f2 = (void*)0, *handle;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		  handle = dlopen ((void*)0, 0);
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		  if (handle) {
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		    f1 = dlsym (handle, "glib_underscore_test");
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		    f2 = dlsym (handle, "_glib_underscore_test");
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		  } return (!f2 || f1);
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		}
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-_ACEOF
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-if ac_fn_c_try_run "$LINENO"; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
   glib_cv_uscore=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  glib_cv_uscore=no
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-		rm -f plugin.c plugin.$ac_objext plugin.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_uscore" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 $as_echo "$glib_cv_uscore" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
@@ -26503,37 +26447,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 if ${ac_cv_func_posix_getpwuid_r+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
   $as_echo_n "(cached) " >&6
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-as_fn_error $? "cannot run test program while cross compiling
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-See \`config.log' for more details" "$LINENO" 5; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-/* end confdefs.h.  */
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-#include <errno.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-#include <pwd.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-int main () {
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    char buffer[10000];
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    struct passwd pwd, *pwptr = &pw;;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    int error;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    errno = 0;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    error = getpwuid_r (0, &pwd, buffer,
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-                        sizeof (buffer), &pwptr);
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-   return (error < 0 && errno == ENOSYS)
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-	   || error == ENOSYS;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-}
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-_ACEOF
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-if ac_fn_c_try_run "$LINENO"; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
   ac_cv_func_posix_getpwuid_r=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  ac_cv_func_posix_getpwuid_r=no
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_posix_getpwuid_r" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 $as_echo "$ac_cv_func_posix_getpwuid_r" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
@@ -26594,37 +26508,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 if ${ac_cv_func_posix_getgrgid_r+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
   $as_echo_n "(cached) " >&6
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  if test "$cross_compiling" = yes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-as_fn_error $? "cannot run test program while cross compiling
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-See \`config.log' for more details" "$LINENO" 5; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-/* end confdefs.h.  */
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-#include <errno.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-#include <grp.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-int main () {
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    char buffer[10000];
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    struct group grp, *grpptr = &grp;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    int error;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    errno = 0;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-    error = getgrgid_r (0, &grp, buffer,
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-                        sizeof (buffer), &grpptr);
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-   return (error < 0 && errno == ENOSYS)
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-	   || error == ENOSYS;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-}
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-_ACEOF
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-if ac_fn_c_try_run "$LINENO"; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
   ac_cv_func_posix_getgrgid_r=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  ac_cv_func_posix_getgrgid_r=no
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_posix_getgrgid_r" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 $as_echo "$ac_cv_func_posix_getgrgid_r" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
@@ -27053,7 +26937,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 }
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 _ACEOF
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 if ac_fn_c_try_compile "$LINENO"; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-  glib_cv_eventfd=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
+  glib_cv_eventfd=no
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
   glib_cv_eventfd=no
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
--- glib-2.46.2/gio/inotify/Makefile.in.orig	2015-11-06 23:28:59.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
+++ glib-2.46.2/gio/inotify/Makefile.in	2016-09-07 05:20:16.670049836 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
@@ -180,7 +180,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
 	"$(DESTDIR)$(installed_test_metadir)" \
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
 	"$(DESTDIR)$(installed_testdir)"
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
 LTLIBRARIES = $(installed_test_LTLIBRARIES) $(noinst_LTLIBRARIES)
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
-libinotify_la_LIBADD =
Lucio Andrés Illanes Albornoz (arab, vxp) af1d9c
+libinotify_la_LIBADD = -L../../glib -lglib-2.0
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
 am__objects_1 =
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
 am_libinotify_la_OBJECTS = libinotify_la-inotify-kernel.lo \
Lucio Andrés Illanes Albornoz (arab, vxp) e46d8e
 	libinotify_la-inotify-sub.lo libinotify_la-inotify-path.lo \