From 8e1bfa155175e6d03ff082bbb39f7887ca1c14f0 Mon Sep 17 00:00:00 2001 From: ponce Date: Mon, 30 Apr 2012 15:20:44 +0200 Subject: network/aMule: Added a fix for gcc-4.7.x. Signed-off-by: Robby Workman --- network/aMule/aMule.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) 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 \ -- cgit v1.2.3