Added -fPIC fix for all arches.
authorGuy Martin <gmsoft@gentoo.org>
Thu, 6 Jan 2005 20:41:01 +0000 (20:41 +0000)
committerGuy Martin <gmsoft@gentoo.org>
Thu, 6 Jan 2005 20:41:01 +0000 (20:41 +0000)
net-misc/hylafax/ChangeLog
net-misc/hylafax/Manifest
net-misc/hylafax/files/hylafax-4.2.0-fPIC.patch [new file with mode: 0644]
net-misc/hylafax/hylafax-4.2.0-r1.ebuild

index e29e42c529e3b53c3950a0f94d27c029b4ba0d35..0b39b3fd7cc01f5742ebdd17fd92fa443ba661e1 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for net-misc/hylafax
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.45 2004/12/04 08:46:37 nerdboy Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.46 2005/01/06 20:41:01 gmsoft Exp $
+
+  06 Jan 2005; Guy Martin <gmsoft@gentoo.org> +files/hylafax-4.2.0-fPIC.patch,
+  hylafax-4.2.0-r1.ebuild:
+  Added -fPIC fix for all arches.
 
   04 Dec 2004; Steve Arnold <nerdboy@gentoo.org> hylafax-4.2.0-r1.ebuild:
   removed dso-configure patch and set DSO=auto to address bug 72895
index c00bcc8e3087ecd195daeb65bd96df5b9d7014bc..b25efc35ce05a75206fb8a087522b74bcf30e7f0 100644 (file)
@@ -1,15 +1,16 @@
-MD5 dff7311229d50521160d361861e74ff0 ChangeLog 9142
-MD5 d82acf1bcf0f7f9e181d6a2821292f2e metadata.xml 435
+MD5 2ef49611e5e4d075c29330483addee2c ChangeLog 9282
+MD5 026e3afcec6bb6a5e7659439650651ac hylafax-4.2.0-r1.ebuild 3353
 MD5 93b89855f1349b94b334cbe94ceafd0f hylafax-4.1.8-r4.ebuild 3187
-MD5 744a5cca4465202afb4583b3ac1e95b2 hylafax-4.2.0-r1.ebuild 3309
+MD5 d82acf1bcf0f7f9e181d6a2821292f2e metadata.xml 435
 MD5 46bbae3c77d5651a20e606eb6228c159 files/99hylafax 62
-MD5 eab749cee07de1984c9756e6eb886df0 files/configure-gcc-3.4.patch 696
+MD5 fa83948864d83f34f54ce35f26b38ed6 files/99hylafax-4.2 75
+MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r1 66
+MD5 6fd09a3cd0a1657591fc6c5c076cd462 files/hylafax-4.2.0-tiff_version.patch 1011
+MD5 c4edcc178e6eeca8ec4680be0790e6da files/hylafax-4.2.0-fPIC.patch 1627
+MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r4 66
 MD5 bc084d075b601d42fbd417b97a45f1b2 files/hylafax 3757
 MD5 5f2f2e3fe04414f953d4010d32261318 files/hylafax-4.1.8-fPIC.patch 2086
 MD5 ad3b0e7082e6e71ee6ba940ce1b6b071 files/hylafax-4.1.8-gcc-version.patch 520
-MD5 5243f5e3321151d074643f652133fdfd files/digest-hylafax-4.1.8-r4 66
-MD5 fa83948864d83f34f54ce35f26b38ed6 files/99hylafax-4.2 75
 MD5 491e78765b433d7c11146120cf7e40f8 files/hylafax-4.2 3759
 MD5 cfcafeadd916b8a9103b9b9110887916 files/hylafax-4.2.0-faxcron_uid.patch 527
-MD5 6fd09a3cd0a1657591fc6c5c076cd462 files/hylafax-4.2.0-tiff_version.patch 1011
-MD5 61b6d16148a84723c2996b519a57d498 files/digest-hylafax-4.2.0-r1 66
+MD5 eab749cee07de1984c9756e6eb886df0 files/configure-gcc-3.4.patch 696
diff --git a/net-misc/hylafax/files/hylafax-4.2.0-fPIC.patch b/net-misc/hylafax/files/hylafax-4.2.0-fPIC.patch
new file mode 100644 (file)
index 0000000..adce280
--- /dev/null
@@ -0,0 +1,48 @@
+diff -uNr hylafax-4.2.0.orig/configure hylafax-4.2.0/configure
+--- hylafax-4.2.0.orig/configure       2005-01-06 19:56:46.978463856 +0000
++++ hylafax-4.2.0/configure    2005-01-06 19:57:39.141533864 +0000
+@@ -3313,7 +3313,7 @@
+       LIBUTIL=''
+       LIBFAXSERVER='-lfaxserver'
+       FAXD='${DEPTH}/faxd'
+-      DSOOPTS='-shared -fpic -Wl,-soname,$@'
++      DSOOPTS='-shared -fPIC -Wl,-soname,$@'
+       LLDOPTS='-L${UTIL} -L${FAXD} -lfaxutil'$USE_RPATH
+       DSO=LINUX
+       CheckCCDSO()
+diff -uNr hylafax-4.2.0.orig/faxd/Makefile.in hylafax-4.2.0/faxd/Makefile.in
+--- hylafax-4.2.0.orig/faxd/Makefile.in        2005-01-06 19:56:47.001460360 +0000
++++ hylafax-4.2.0/faxd/Makefile.in     2005-01-06 20:01:58.837054144 +0000
+@@ -43,6 +43,8 @@
+ SRCDIR        = ${DEPTH}/${TOPSRCDIR}/faxd
+ VPATH = ../@SRCDIR@/faxd
+ 
++OPTIMIZER += -fPIC
++
+ C++FILES=ClassModem.c++ \
+       FaxModem.c++ \
+       Class0.c++ \
+diff -uNr hylafax-4.2.0.orig/regex/Makefile.in hylafax-4.2.0/regex/Makefile.in
+--- hylafax-4.2.0.orig/regex/Makefile.in       2005-01-06 19:56:47.099445464 +0000
++++ hylafax-4.2.0/regex/Makefile.in    2005-01-06 20:00:42.968587904 +0000
+@@ -42,6 +42,8 @@
+ SRCDIR        = ${DEPTH}/${TOPSRCDIR}/regex
+ VPATH = ../@SRCDIR@/regex
+ 
++OPTIMIZER += -fPIC
++
+ CFILES= regexec.c regcomp.c regfree.c regerror.c
+ TARGETS=libregex.a
+ 
+diff -uNr hylafax-4.2.0.orig/util/Makefile.in hylafax-4.2.0/util/Makefile.in
+--- hylafax-4.2.0.orig/util/Makefile.in        2005-01-06 19:56:47.113443336 +0000
++++ hylafax-4.2.0/util/Makefile.in     2005-01-06 19:58:49.756798712 +0000
+@@ -43,6 +43,8 @@
+ SRCDIR        = ${DEPTH}/${TOPSRCDIR}/util
+ VPATH = ../@SRCDIR@/util
+ 
++OPTIMIZER += -fPIC
++
+ C++FILES=Array.c++ \
+       BoolArray.c++ \
+       Dictionary.c++ \
index 8319464b31038c24112e164e6212e7fc41a0bcac..431b6eb67b364d344207a5973503f2fe883a8e77 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.2.0-r1.ebuild,v 1.4 2004/12/04 08:46:37 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-4.2.0-r1.ebuild,v 1.5 2005/01/06 20:41:01 gmsoft Exp $
 
 inherit eutils
 
@@ -33,6 +33,7 @@ src_unpack() {
        epatch ${FILESDIR}/${P}-faxcron_uid.patch
        epatch ${FILESDIR}/${P}-tiff_version.patch
        epatch ${FILESDIR}/configure-gcc-3.4.patch
+       epatch ${FILESDIR}/hylafax-4.2.0-fPIC.patch
 }
 
 src_compile() {