mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
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:
parent
0ec818b795
commit
c0bfa33f47
3 changed files with 14 additions and 1 deletions
|
@ -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" \
|
||||
|
|
|
@ -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=""
|
||||
|
|
11
academic/engauge/gcc47.patch
Normal file
11
academic/engauge/gcc47.patch
Normal 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>
|
Loading…
Reference in a new issue