summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2004-10-25 22:18:40 +0000
committerSteve Arnold <nerdboy@gentoo.org>2004-10-25 22:18:40 +0000
commit3fc72cd813fa4edfb324828dc6d88c1380447633 (patch)
tree4d7c918075887fb4014fcd4dfc47feeef7efa8de /net-misc/hylafax/files
parentremoved out-dated ebuilds (Manifest recommit) (diff)
downloadgentoo-2-3fc72cd813fa4edfb324828dc6d88c1380447633.tar.gz
gentoo-2-3fc72cd813fa4edfb324828dc6d88c1380447633.tar.bz2
gentoo-2-3fc72cd813fa4edfb324828dc6d88c1380447633.zip
added missing patch file (really fixes bug 66794)
Diffstat (limited to 'net-misc/hylafax/files')
-rw-r--r--net-misc/hylafax/files/configure-gcc-3.4.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-misc/hylafax/files/configure-gcc-3.4.patch b/net-misc/hylafax/files/configure-gcc-3.4.patch
new file mode 100644
index 000000000000..60cc898b5897
--- /dev/null
+++ b/net-misc/hylafax/files/configure-gcc-3.4.patch
@@ -0,0 +1,29 @@
+--- configure.orig 2004-10-16 12:23:11.798429288 -0500
++++ configure 2004-10-16 12:27:04.419065576 -0500
+@@ -1590,11 +1590,24 @@
+ fi
+ done
+ }
+-CheckForLibrary strftime -lc || {
++
++CheckForLibrary_strftime()
++{
++ f=$1; shift
++ libs="$@";
++ cat>t.c<<EOF
++int t() { $f(0, 0, 0, 0); return 0; }
++int main(){ t(); return 0; }
++EOF
++ capture cat t.c
++ runMake t "t:; \${CCF} t.c $libs"
++}
++
++CheckForLibrary_strftime strftime -lc || {
+ #
+ # SCO has strftime in -lintl.
+ #
+- if CheckForLibrary strftime -lintl; then
++ if CheckForLibrary_strftime strftime -lintl; then
+ Note "Looks like -lintl is needed for strftime."
+ MACHDEPLIBS="$MACHDEPLIBS -lintl"
+ else