summaryrefslogtreecommitdiffstats
path: root/devel/glib20/files/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glib20/files/patch-ae')
-rw-r--r--devel/glib20/files/patch-ae43
1 files changed, 43 insertions, 0 deletions
diff --git a/devel/glib20/files/patch-ae b/devel/glib20/files/patch-ae
new file mode 100644
index 000000000..e62156bf5
--- /dev/null
+++ b/devel/glib20/files/patch-ae
@@ -0,0 +1,43 @@
+--- configure.orig 2013-03-28 02:59:16.000000000 +0000
++++ configure 2013-03-28 03:00:20.000000000 +0000
+@@ -603,6 +603,9 @@
+ #ifdef HAVE_SYS_TYPES_H
+ # include <sys/types.h>
+ #endif
++#ifdef HAVE_SYS_PARAM_H
++# include <sys/param.h>
++#endif
+ #ifdef HAVE_SYS_STAT_H
+ # include <sys/stat.h>
+ #endif
+@@ -5699,7 +5702,7 @@
+ fi
+
+ GLIB_RUNTIME_LIBDIR="$with_runtime_libdir"
+-ABS_GLIB_RUNTIME_LIBDIR="`readlink -f $libdir/$with_runtime_libdir`"
++ABS_GLIB_RUNTIME_LIBDIR="`readlink $libdir/$with_runtime_libdir`"
+
+
+ if test "x$with_runtime_libdir" != "x"; then
+@@ -23089,7 +23092,7 @@
+ fi
+ done
+
+-for ac_func in chown lchmod lchown fchmod fchown link utimes getgrgid getpwuid getresuid
++for ac_func in chown lchmod lchown fchmod fchown link utimes getgrgid getpwuid getresuid sysctlbyname
+ do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+@@ -26629,10 +26632,10 @@
+ # b) FreeBSD doesn't do this either.
+ #
+ case $host in
+- *-*-freebsd*|*-*-linux*)
++ *-*-linux*)
+ G_THREAD_LIBS_FOR_GTHREAD="`echo $G_THREAD_LIBS | sed s/-pthread/-lpthread/`"
+ ;;
+- *-*-openbsd*)
++ *-*-openbsd*|*-*-freebsd*)
+ LDFLAGS="$LDFLAGS -pthread"
+ ;;
+ *)