aboutsummaryrefslogtreecommitdiff
path: root/network/fwbuilder
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-06 23:14:31 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-06 23:46:10 -0500
commit6ebd231f9ebb52b4084dff190e937ac3eedcc305 (patch)
tree6bb3a7124d10f256687d928962c5ab48574018c1 /network/fwbuilder
parent0dfea19dd034f59dbd4ed4108c92b200a6acd5b4 (diff)
network/fwbuilder: Updated for version 5.1.0.3599.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/fwbuilder')
-rw-r--r--network/fwbuilder/fwbuilder-5.0.0.3568-ldflags.patch11
-rw-r--r--network/fwbuilder/fwbuilder-5.1.0.3599-gcc47.patch11
-rw-r--r--network/fwbuilder/fwbuilder.SlackBuild5
-rw-r--r--network/fwbuilder/fwbuilder.info8
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 000000000000..d9df8429d390
--- /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 000000000000..c909028467a8
--- /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 e76f58e7c552..4d4a6249409d 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 65955ebf89ed..bdb73b5e16ca 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"