diff options
-rw-r--r-- | extra/amule/.md5sum | 1 | ||||
-rw-r--r-- | extra/amule/Pkgfile | 4 | ||||
-rw-r--r-- | extra/amule/amule-2.2.6-gcc-01.patch | 11 |
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. |