summaryrefslogtreecommitdiffstats
path: root/extra/amule/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/amule/Pkgfile')
-rw-r--r--extra/amule/Pkgfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/amule/Pkgfile b/extra/amule/Pkgfile
index dff77f345..c073fe77c 100644
--- a/extra/amule/Pkgfile
+++ b/extra/amule/Pkgfile
@@ -7,10 +7,12 @@
name=amule
version=2.2.6
release=2
-source=(http://download.berlios.de/amule/aMule-$version.tar.bz2)
+source=(http://download.berlios.de/amule/aMule-$version.tar.bz2\
+ amule-2.2.6-gcc-01.patch)
build() {
cd aMule-$version
+ patch -Np1 -i ../amule-2.2.6-gcc-01.patch
export CFLAGS="${CFLAGS//-fstack-protector/}"
export CXXFLAGS="${CXXFLAGS//-fstack-protector/}"
./configure --prefix=/usr \