diff options
Diffstat (limited to 'sysutils/hourglass/files')
-rw-r--r-- | sysutils/hourglass/files/patch-configure | 31 | ||||
-rw-r--r-- | sysutils/hourglass/files/patch-src::Makefile.in | 11 |
2 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/hourglass/files/patch-configure b/sysutils/hourglass/files/patch-configure new file mode 100644 index 000000000000..d1530314f6a6 --- /dev/null +++ b/sysutils/hourglass/files/patch-configure @@ -0,0 +1,31 @@ +--- configure.orig Thu Oct 9 20:19:54 2003 ++++ configure Mon Apr 12 16:14:58 2004 +@@ -3114,7 +3114,6 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lpthread $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -3161,7 +3160,6 @@ + #define HAVE_LIBPTHREAD 1 + _ACEOF + +- LIBS="-lpthread $LIBS" + + fi + +@@ -3994,8 +3992,10 @@ + on_unix='yes' ; + on_windows='no' ;; + *freebsd*) +- LDFLAGS='-llthread -llgcc_r -L/usr/local/lib' ; +- CFLAGS='-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads' ; ++ CFLAGS_sav=$CFLAGS ; ++ LDFLAGS_sav=$LDFLAGS ; ++ LDFLAGS="$LDFLAGS_sav -llthread -llgcc_r -L%LOCALBASE%/lib" ; ++ CFLAGS="$CFLAGS_sav -D_THREAD_SAFE -I%LOCALBASE%/include/pthread/linuxthreads" ; + on_unix='yes' ; + on_windows='no' ;; + *cygwin*) diff --git a/sysutils/hourglass/files/patch-src::Makefile.in b/sysutils/hourglass/files/patch-src::Makefile.in new file mode 100644 index 000000000000..9a32a01b04cc --- /dev/null +++ b/sysutils/hourglass/files/patch-src::Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Mon Apr 12 09:27:10 2004 ++++ src/Makefile.in Mon Apr 12 09:28:02 2004 +@@ -188,7 +188,7 @@ + AM_CFLAGS = -Wall -Wshadow -Wpointer-arith \ + -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion \ + -Waggregate-return -Wstrict-prototypes \ +- -Wmissing-prototypes -g -O3 \ ++ -Wmissing-prototypes -g \ + $(CMU_RK_INCLUDES) $(TS_RK_INCLUDES) $(HRTIMERS_INCLUDES) \ + $(HLS_INCLUDES) $(RTCTIMERS_INCLUDES) + |