diff options
-rw-r--r-- | network/fwbuilder/fwbuilder-5.0.0.3568-ldflags.patch | 11 | ||||
-rw-r--r-- | network/fwbuilder/fwbuilder-5.1.0.3599-gcc47.patch | 11 | ||||
-rw-r--r-- | network/fwbuilder/fwbuilder.SlackBuild | 5 | ||||
-rw-r--r-- | network/fwbuilder/fwbuilder.info | 8 |
4 files changed, 30 insertions, 5 deletions
diff --git a/network/fwbuilder/fwbuilder-5.0.0.3568-ldflags.patch b/network/fwbuilder/fwbuilder-5.0.0.3568-ldflags.patch new file mode 100644 index 0000000000000..d9df8429d390d --- /dev/null +++ b/network/fwbuilder/fwbuilder-5.0.0.3568-ldflags.patch @@ -0,0 +1,11 @@ +diff -Naurp fwbuilder-5.0.0.3568.orig//qmake.inc.in fwbuilder-5.0.0.3568//qmake.inc.in +--- fwbuilder-5.0.0.3568.orig//qmake.inc.in 2011-07-25 19:27:44.000000000 -0400 ++++ fwbuilder-5.0.0.3568//qmake.inc.in 2011-08-19 17:00:41.259985388 -0400 +@@ -39,6 +39,7 @@ unix { + QMAKE_CFLAGS_RELEASE += -Wno-unused-parameter + QMAKE_CXXFLAGS_DEBUG += -Wno-unused-parameter + QMAKE_CXXFLAGS_RELEASE += -Wno-unused-parameter ++ QMAKE_LFLAGS = @LDFLAGS@ + + !macx { + diff --git a/network/fwbuilder/fwbuilder-5.1.0.3599-gcc47.patch b/network/fwbuilder/fwbuilder-5.1.0.3599-gcc47.patch new file mode 100644 index 0000000000000..c909028467a83 --- /dev/null +++ b/network/fwbuilder/fwbuilder-5.1.0.3599-gcc47.patch @@ -0,0 +1,11 @@ +diff -ruN fwbuilder-5.1.0.3599.orig/src/libfwbuilder/src/fwbuilder/ThreadTools.h fwbuilder-5.1.0.3599/src/libfwbuilder/src/fwbuilder/ThreadTools.h +--- fwbuilder-5.1.0.3599.orig/src/libfwbuilder/src/fwbuilder/ThreadTools.h 2012-03-23 07:10:54.000000000 +0100 ++++ fwbuilder-5.1.0.3599/src/libfwbuilder/src/fwbuilder/ThreadTools.h 2012-06-27 02:33:32.122340892 +0200 +@@ -31,6 +31,7 @@ + + #include <time.h> //for time_t definition + #include <pthread.h> ++#include <unistd.h> + + #include <string> + #include <queue> diff --git a/network/fwbuilder/fwbuilder.SlackBuild b/network/fwbuilder/fwbuilder.SlackBuild index e76f58e7c552a..4d4a6249409db 100644 --- a/network/fwbuilder/fwbuilder.SlackBuild +++ b/network/fwbuilder/fwbuilder.SlackBuild @@ -27,7 +27,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fwbuilder -VERSION=4.1.3 +VERSION=5.1.0.3599 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,6 +73,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 -i $CWD/fwbuilder-5.0.0.3568-ldflags.patch +patch -p1 -i $CWD/fwbuilder-5.1.0.3599-gcc47.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./autogen.sh \ diff --git a/network/fwbuilder/fwbuilder.info b/network/fwbuilder/fwbuilder.info index 65955ebf89ed6..bdb73b5e16ca5 100644 --- a/network/fwbuilder/fwbuilder.info +++ b/network/fwbuilder/fwbuilder.info @@ -1,10 +1,10 @@ PRGNAM="fwbuilder" -VERSION="4.1.3" +VERSION="5.1.0.3599" HOMEPAGE="http://www.fwbuilder.org/" -DOWNLOAD="http://downloads.sourceforge.net/fwbuilder/fwbuilder-4.1.3.tar.gz" -MD5SUM="7cb6d50ce6f02b485525405bd00d8c33" +DOWNLOAD="http://downloads.sourceforge.net/project/fwbuilder/Current_Packages/5.1.0/fwbuilder-5.1.0.3599.tar.gz" +MD5SUM="331ce22eb8fb770a70395c3744f5092f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libfwbuilder" +REQUIRES="" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" |