academic/engauge: Added a patch for gcc-4.7.x.

Also changed download link

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-13 18:02:52 +02:00 committed by Robby Workman
parent 0ec818b795
commit c0bfa33f47
3 changed files with 14 additions and 1 deletions

View file

@ -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" \

View file

@ -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=""

View file

@ -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>