OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../pkgconfig/glib-configure.patch.cross
  5. # Copyright (C) 2015 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./glib/configure.orig 2013-01-22 13:13:56.000000000 +0000
  17. +++ ./glib/configure 2015-09-28 20:35:51.631788072 +0000
  18. @@ -20094,10 +20094,8 @@
  19. glib_save_LIBS=$LIBS
  20. LIBS="$LIBS -lm"
  21. if test "$cross_compiling" = yes; then :
  22. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  24. -as_fn_error $? "cannot run test program while cross compiling
  25. -See \`config.log' for more details" "$LINENO" 5; }
  26. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming none" >&5
  27. + $as_echo "none needed" >&6; }
  28. else
  29. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30. /* end confdefs.h. */
  31. @@ -20111,10 +20109,11 @@
  32. glib_save_CFLAGS=$CFLAGS
  33. CFLAGS="$CFLAGS -std1"
  34. if test "$cross_compiling" = yes; then :
  35. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  36. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  37. -as_fn_error $? "cannot run test program while cross compiling
  38. -See \`config.log' for more details" "$LINENO" 5; }
  39. +for glib_sysdef_input in POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 ; do
  40. + echo "#define GLIB_SYSDEF_${glib_sysdef_input/:/=}" >> $glib_sysdefso
  41. +done
  42. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming defaults" >&5
  43. +$as_echo "assuming defaults" >&6; }
  44. else
  45. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46. /* end confdefs.h. */