summaryrefslogtreecommitdiff
path: root/network/aMule
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-04-30 15:20:44 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:25 -0500
commit8e1bfa155175e6d03ff082bbb39f7887ca1c14f0 (patch)
tree380b23ee9b8593c3254177ac541b665eacde6e47 /network/aMule
parent5cb21d9d1c0773ee292cbbd60146e0f9cd88883c (diff)
downloadslackbuilds-8e1bfa155175e6d03ff082bbb39f7887ca1c14f0.tar.gz
network/aMule: Added a fix for gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/aMule')
-rw-r--r--network/aMule/aMule.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/network/aMule/aMule.SlackBuild b/network/aMule/aMule.SlackBuild
index f66c797405..f8b19d7c71 100644
--- a/network/aMule/aMule.SlackBuild
+++ b/network/aMule/aMule.SlackBuild
@@ -122,6 +122,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for gcc-4.7.x
+sed -i "s|NotifyObservers|this->NotifyObservers|" src/ObservableQueue.h
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \