summaryrefslogtreecommitdiffstats
path: root/network/hylafax
diff options
context:
space:
mode:
Diffstat (limited to 'network/hylafax')
-rw-r--r--network/hylafax/hylafax-gcc45.patch25
-rw-r--r--network/hylafax/hylafax.SlackBuild6
-rw-r--r--network/hylafax/hylafax.info8
3 files changed, 34 insertions, 5 deletions
diff --git a/network/hylafax/hylafax-gcc45.patch b/network/hylafax/hylafax-gcc45.patch
new file mode 100644
index 0000000000..c6dea04e1c
--- /dev/null
+++ b/network/hylafax/hylafax-gcc45.patch
@@ -0,0 +1,25 @@
+From: Patrice Fournier <pfournier@ifax.com>
+Date: Tue, 12 Oct 2010 15:35:25 +0000 (-0400)
+Subject: Re-order library files in fchmod() configure check
+X-Git-Url: http://git.hylafax.org/HylaFAX?a=commitdiff_plain;h=b0d873c950a72aa568d2fcfe7dbc8bb6e981c129
+
+Re-order library files in fchmod() configure check
+
+Newer gcc -E stops it's output on the first missing include file so we must
+make sure that a possibly missing file in the list of headers to check is at
+the end.
+---
+
+diff --git a/configure b/configure
+index e49c08f..c6976fd 100755
+--- a/configure
++++ b/configure
+@@ -2882,7 +2882,7 @@ BuildPortDotH()
+ echo '#define HAS_FCHMOD 1'
+ Note "... configure use of fchmod"
+ CheckFuncDecl fchmod 'extern int fchmod(int, mode_t);' \
+- unistd.h libc.h $OSFCNH sys/stat.h
++ unistd.h $OSFCNH sys/stat.h libc.h
+ }
+ CheckFuncDecl mknod 'extern int mknod(const char*, mode_t, dev_t);' \
+ unistd.h sys/stat.h
diff --git a/network/hylafax/hylafax.SlackBuild b/network/hylafax/hylafax.SlackBuild
index d7bfcba0db..b1d4c2f5c3 100644
--- a/network/hylafax/hylafax.SlackBuild
+++ b/network/hylafax/hylafax.SlackBuild
@@ -27,7 +27,7 @@
# General script clean-up and minor improvements
PRGNAM=hylafax
-VERSION=${VERSION:-6.0.4}
+VERSION=${VERSION:-6.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,6 +75,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# http://git.hylafax.org/HylaFAX?a=commit;h=b0d873c950a72aa568d2fcfe7dbc8bb6e981c129
+# add a patch for gcc 4.5
+patch -p1 < $CWD/hylafax-gcc45.patch
+
# Copy our source for the correct configuration
sed "s|@LIBDIRSUFFIX@|${LIBDIRSUFFIX}|g" \
< $CWD/config.local.in \
diff --git a/network/hylafax/hylafax.info b/network/hylafax/hylafax.info
index 095d1eb22a..8ed853e363 100644
--- a/network/hylafax/hylafax.info
+++ b/network/hylafax/hylafax.info
@@ -1,10 +1,10 @@
PRGNAM="hylafax"
-VERSION="6.0.4"
+VERSION="6.0.5"
HOMEPAGE="http://www.hylafax.org"
-DOWNLOAD="ftp://ftp.hylafax.org/source/hylafax-6.0.4.tar.gz"
-MD5SUM="6ba4bc3a47c9d2634de1b14f4ab34c80"
+DOWNLOAD="ftp://ftp.hylafax.org/source/hylafax-6.0.5.tar.gz"
+MD5SUM="eb9ac942354ad708e20e4583cec6615f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
-APPROVED="Erik Hanson"
+APPROVED=""