From c0bfa33f47581701e459e9ec4df5cc0af41081b6 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Thu, 13 Sep 2012 18:02:52 +0200 Subject: academic/engauge: Added a patch for gcc-4.7.x. Also changed download link Signed-off-by: Matteo Bernardini --- academic/engauge/engauge.SlackBuild | 2 ++ academic/engauge/engauge.info | 2 +- academic/engauge/gcc47.patch | 11 +++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 academic/engauge/gcc47.patch (limited to 'academic') 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 + #include + #include + #include -- cgit v1.2.3