diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-04-30 15:20:44 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 08:55:25 -0500 |
commit | 8e1bfa155175e6d03ff082bbb39f7887ca1c14f0 (patch) | |
tree | 380b23ee9b8593c3254177ac541b665eacde6e47 /network | |
parent | 5cb21d9d1c0773ee292cbbd60146e0f9cd88883c (diff) |
network/aMule: Added a fix for gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/aMule/aMule.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/network/aMule/aMule.SlackBuild b/network/aMule/aMule.SlackBuild index f66c79740584d..f8b19d7c71856 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 \ |