summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-02 14:53:27 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-02 14:53:27 +0200
commit1458b22cd170eb59d25832e3ac1385b360fb7e9f (patch)
tree69418f629c0f656f1dbd9d17bc91252f4b06c165
parent6ed7f56d766292078ae81546b036c6ee23fb3edc (diff)
downloadnutyx-extra-1458b22cd170eb59d25832e3ac1385b360fb7e9f.tar.gz
nutyx-extra-1458b22cd170eb59d25832e3ac1385b360fb7e9f.tar.bz2
nutyx-extra-1458b22cd170eb59d25832e3ac1385b360fb7e9f.tar.xz
nutyx-extra-1458b22cd170eb59d25832e3ac1385b360fb7e9f.zip
amule, ajout patch
-rw-r--r--extra/amule/.md5sum1
-rw-r--r--extra/amule/Pkgfile4
-rw-r--r--extra/amule/amule-2.2.6-gcc-01.patch11
3 files changed, 15 insertions, 1 deletions
diff --git a/extra/amule/.md5sum b/extra/amule/.md5sum
index 47c12c207..22fce9d73 100644
--- a/extra/amule/.md5sum
+++ b/extra/amule/.md5sum
@@ -1 +1,2 @@
530d9b48187e36f78fc21bb19e94326d aMule-2.2.6.tar.bz2
+57c8dc157ff1c2ac971d9fa358edb4b8 amule-2.2.6-gcc-01.patch
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 \
diff --git a/extra/amule/amule-2.2.6-gcc-01.patch b/extra/amule/amule-2.2.6-gcc-01.patch
new file mode 100644
index 000000000..e5cec602b
--- /dev/null
+++ b/extra/amule/amule-2.2.6-gcc-01.patch
@@ -0,0 +1,11 @@
+--- aMule-2.2.6/src/utils/wxCas/src/wxcasframe.cpp 2008-09-06 17:39:00.000000000 +0200
++++ aMule-2.2.6/src/utils/wxCas/src/wxcasframe.cpp.new 2010-05-02 14:34:26.000000000 +0200
+@@ -289,7 +289,7 @@
+ #else
+
+ memdc.
+- SetFont ( wxFont::wxFont ( 8, wxSWISS, wxNORMAL, wxBOLD ) );
++ SetFont (wxFont ( 8, wxSWISS, wxNORMAL, wxBOLD ) );
+ #endif
+
+ memdc.