diff options
author | vs <vs@FreeBSD.org> | 2004-08-31 14:13:14 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-08-31 14:13:14 +0000 |
commit | 19e4ec2c15679790e452d60a8630082b8a48550a (patch) | |
tree | 1ac8dbad7a01419b10688f06bde2a3592b48aebc /net/gyach/files/patch-configure | |
parent | a7d6c263cae9087a26322d0b13071eef710ee07c (diff) | |
download | FreeBSD-ports-19e4ec2c15679790e452d60a8630082b8a48550a.zip FreeBSD-ports-19e4ec2c15679790e452d60a8630082b8a48550a.tar.gz |
- Update to 0.9.8
- Fix threading (me)
PR: ports/68847
Submitted by: Aaron Myles Landwehr (maintainer)
Diffstat (limited to 'net/gyach/files/patch-configure')
-rw-r--r-- | net/gyach/files/patch-configure | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/net/gyach/files/patch-configure b/net/gyach/files/patch-configure new file mode 100644 index 0000000..cde9546 --- /dev/null +++ b/net/gyach/files/patch-configure @@ -0,0 +1,69 @@ +--- configure.orig Wed Jul 14 14:42:28 2004 ++++ configure Wed Jul 14 14:42:53 2004 +@@ -4042,66 +4042,6 @@ + fi + + +-echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5 +-echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6 +-if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lc_r $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-#line $LINENO "configure" +-#include "confdefs.h" +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char pthread_create (); +-#ifdef F77_DUMMY_MAIN +-# ifdef __cplusplus +- extern "C" +-# endif +- int F77_DUMMY_MAIN() { return 1; } +-#endif +-int +-main () +-{ +-pthread_create (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_c_r_pthread_create=yes +-else +- echo "$as_me: failed program was:" >&5 +-cat conftest.$ac_ext >&5 +-ac_cv_lib_c_r_pthread_create=no +-fi +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5 +-echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6 +-if test $ac_cv_lib_c_r_pthread_create = yes; then +- LIBS="$LIBS -lc_r" +-fi +- +- + if test "x${datadir}" = 'x${prefix}/share'; then + if test "x${prefix}" = "xNONE"; then + cat >>confdefs.h <<_ACEOF |