summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-13 18:02:52 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-13 17:56:49 -0500
commitc0bfa33f47581701e459e9ec4df5cc0af41081b6 (patch)
treedc41136b6a70fe44e3b0f7db5a69474a20dbdf58 /academic
parent0ec818b795dbe25f38cfe3c46bfd362549fc08a0 (diff)
downloadslackbuilds-c0bfa33f47581701e459e9ec4df5cc0af41081b6.tar.gz
academic/engauge: Added a patch for gcc-4.7.x.
Also changed download link Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/engauge/engauge.SlackBuild2
-rw-r--r--academic/engauge/engauge.info2
-rw-r--r--academic/engauge/gcc47.patch11
3 files changed, 14 insertions, 1 deletions
diff --git a/academic/engauge/engauge.SlackBuild b/academic/engauge/engauge.SlackBuild
index dfb4bcae33..ff637ef4ef 100644
--- a/academic/engauge/engauge.SlackBuild
+++ b/academic/engauge/engauge.SlackBuild
@@ -48,6 +48,8 @@ cd $PRGNAM
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+patch -p1 < $CWD/gcc47.patch
+
/opt/kde3/bin/qmake \
QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
diff --git a/academic/engauge/engauge.info b/academic/engauge/engauge.info
index dbb17b731b..d7ab3cb183 100644
--- a/academic/engauge/engauge.info
+++ b/academic/engauge/engauge.info
@@ -1,7 +1,7 @@
PRGNAM="engauge"
VERSION="4.1"
HOMEPAGE="http://digitizer.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/digitizer/files/Engauge%20Digitizer/digitizer-4.1/digit-src-4_1.tar.gz/download"
+DOWNLOAD="http://downloads.sourceforge.net/digitizer/digit-src-4_1.tar.gz"
MD5SUM="b76b5d6c6b47ad57e789fd3ffbbb543f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/academic/engauge/gcc47.patch b/academic/engauge/gcc47.patch
new file mode 100644
index 0000000000..28b7fec8a6
--- /dev/null
+++ b/academic/engauge/gcc47.patch
@@ -0,0 +1,11 @@
+diff -Naur engauge.orig/src/pointmatch.cpp engauge/src/pointmatch.cpp
+--- engauge.orig/src/pointmatch.cpp 2007-04-11 08:16:12.000000000 +0200
++++ engauge/src/pointmatch.cpp 2012-09-13 11:40:19.094978840 +0200
+@@ -80,6 +80,7 @@
+ * *
+ ***************************************************************************/
+
++#include <unistd.h>
+ #include <qobject.h>
+ #include <qdialog.h>
+ #include <qlabel.h>