summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/xfe/.md5sum1
-rw-r--r--extra/xfe/Pkgfile3
-rw-r--r--extra/xfe/gcc4.5.patch20
3 files changed, 23 insertions, 1 deletions
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)
+