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/config.sub.orig	2016-01-18 17:21:43.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
+++ glib-2.46.2/config.sub	2016-03-06 17:24:27.478613857 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
@@ -810,6 +810,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 	microblaze*)
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 		basic_machine=microblaze-xilinx
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
+	midipix)
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
+		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
+		os=-midipix
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
+		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 	mingw64)
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 		os=-mingw64
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
@@ -1390,7 +1394,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 	      | -chorusos* | -chorusrdb* | -cegcc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
-	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
+	      | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 	      | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
Lucio Andrés Illanes Albornoz (arab, vxp) 95bf77
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
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