From cf99e9108a7921ed1650415cb96e1060f169eebd Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 5 Aug 2014 16:50:29 +0000 Subject: haiku patch diff --git a/configure b/configure index a3d1e23..131d512 100755 --- a/configure +++ b/configure @@ -18252,7 +18252,7 @@ esac # # Provide information about the build. # -BUILD_REVISION="b3936b6" +BUILD_REVISION="" cat >>confdefs.h <<_ACEOF @@ -18261,7 +18261,7 @@ _ACEOF BUILD_FILEVERSION=`echo "$VERSION" | sed 's/\([0-9.]*\).*/\1./;s/\./,/g'` -BUILD_FILEVERSION="${BUILD_FILEVERSION}45971" +BUILD_FILEVERSION="${BUILD_FILEVERSION}0" BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date` diff --git a/configure.ac b/configure.ac index b08c181..a4d443e 100644 --- a/configure.ac +++ b/configure.ac @@ -744,6 +744,7 @@ fi AC_SEARCH_LIBS(setsockopt, [socket], , [AC_SEARCH_LIBS(setsockopt, [socket], , , [-lnsl])]) AC_SEARCH_LIBS(setsockopt, [nsl]) +AC_SEARCH_LIBS(socket, [network]) ################################## #### Checks for header files. #### -- 1.8.3.4 From dda47050a951b5746e7b7aaff75654d342abeb94 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Wed, 6 Aug 2014 22:08:04 +0000 Subject: gcc2 patch diff --git a/src/hwf-x86.c b/src/hwf-x86.c index 0591b4f..7521080 100644 --- a/src/hwf-x86.c +++ b/src/hwf-x86.c @@ -102,7 +102,7 @@ get_xgetbv(void) unsigned int t_eax; asm volatile - ("xgetbv\n\t" + (".byte 0x0f, 0x01, 0xd0\n\t" : "=a" (t_eax) : "c" (0) ); -- 1.8.3.4