From 155c2fb2d45f0dd1f59905007d59e3ea1c2e6431 Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 29 Apr 2010 20:39:32 +0200 Subject: xfe, ajout patch --- extra/xfe/.md5sum | 1 + extra/xfe/Pkgfile | 3 ++- extra/xfe/gcc4.5.patch | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 extra/xfe/gcc4.5.patch diff --git a/extra/xfe/.md5sum b/extra/xfe/.md5sum index 30d610a8f..e56993b9a 100644 --- a/extra/xfe/.md5sum +++ b/extra/xfe/.md5sum @@ -1,2 +1,3 @@ +bd83b4bb5ebbb736315c5ce31b547d28 gcc4.5.patch be09eee1dd65d3de31830b9b31c4b823 xfe-1.32.1-pos-01.patch 7ccbc35fc92cf72d2e405d32bfd741bc xfe-1.32.1.tar.gz diff --git a/extra/xfe/Pkgfile b/extra/xfe/Pkgfile index 64f5fd3ae..473945a16 100644 --- a/extra/xfe/Pkgfile +++ b/extra/xfe/Pkgfile @@ -8,12 +8,13 @@ name=xfe version=1.32.1 release=2 source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz\ - $name-$version-pos-01.patch) + $name-$version-pos-01.patch gcc4.5.patch) build() { cd $name-$version patch -Np1 -i ../$name-$version-pos-01.patch + patch -Np0 -i ../gcc4.5.patch ./configure --prefix=/usr make make DESTDIR=$PKG install diff --git a/extra/xfe/gcc4.5.patch b/extra/xfe/gcc4.5.patch new file mode 100644 index 000000000..6e26c7110 --- /dev/null +++ b/extra/xfe/gcc4.5.patch @@ -0,0 +1,20 @@ +--- src/xfeutils.cpporig 2010-04-29 20:31:23.000000000 +0200 ++++ src/xfeutils.cpp 2010-04-29 20:32:44.000000000 +0200 +@@ -512,7 +512,7 @@ + + + // Replacement of the stat function +-inline FXint statrep(const FXchar* filename, struct stat* buf) ++FXint statrep(const FXchar* filename, struct stat* buf) + { + #if defined(linux) + +@@ -546,7 +546,7 @@ + + + // Replacement of the lstat function +-inline FXint lstatrep(const FXchar* filename, struct stat* buf) ++FXint lstatrep(const FXchar* filename, struct stat* buf) + { + #if defined(linux) + -- cgit v1.2.3-70-g09d2