Solved libtool problem on amd64 and combined with pic patch, bug #75092
authorKarol Wojtaszek <sekretarz@gentoo.org>
Tue, 4 Jan 2005 18:03:21 +0000 (18:03 +0000)
committerKarol Wojtaszek <sekretarz@gentoo.org>
Tue, 4 Jan 2005 18:03:21 +0000 (18:03 +0000)
media-libs/jpeg/ChangeLog
media-libs/jpeg/Manifest
media-libs/jpeg/files/jpeg-6b-gentoo.patch [new file with mode: 0644]
media-libs/jpeg/files/jpeg-6b-pic.patch [deleted file]
media-libs/jpeg/jpeg-6b-r4.ebuild

index 56e441e1622ce565f2e8dd81d481dc2dfa33cacc..7aedb6857ae760eee5fec63f3188e1d41a18b500 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for media-libs/jpeg
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.29 2004/11/18 21:27:20 lu_zero Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/ChangeLog,v 1.30 2005/01/04 18:03:21 sekretarz Exp $
+
+  04 Jan 2005; Karol Wojtaszek <sekretarz@gentoo.org>
+  +files/jpeg-6b-gentoo.patch, -files/jpeg-6b-pic.patch, jpeg-6b-r4.ebuild:
+  Solved libtool problem on amd64 and combined with pic patch, bug #75092
 
   18 Nov 2004; Luca Barbato <lu_zero@gentoo.org> +files/jpeg-6b-pic.patch,
   jpeg-6b-r4.ebuild:
index 2ba43d8049c690b98eedcf0881aa6b5567cea82e..a5fcdddebf9df6d591bd1c86c42680d310590c70 100644 (file)
@@ -1,15 +1,15 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 c3a1a4bd624b4a423e8dc1c212572a5e ChangeLog 3876
-MD5 e695eaa6f53e411d8352a9b73814db37 jpeg-6b-r4.ebuild 1570
+MD5 c2bf4eb7f85551bc14b7f7b105393d2a jpeg-6b-r4.ebuild 1576
+MD5 be17cf1d57530996e2ceb92d9ca3d004 ChangeLog 4083
 MD5 3637cbaea842b04f1aa4693a1f68e286 metadata.xml 224
-MD5 cd144246f6097eaa8509566385513018 files/jpeg-6b-pic.patch 537
+MD5 7ad51434927f9e17f295349d9465530f files/jpeg-6b-gentoo.patch 916
 MD5 232dd13c6edffa89c6ccd5f911bbac64 files/digest-jpeg-6b-r4 63
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
+Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBwnw/roRuSHgZdywRAtNiAJ0Q7QV0IcVjqbLcSy3jBX6wYvlihgCfawei
-5lJGtaMByt4mLvk/NdR8kRU=
-=rt7N
+iD8DBQFB2trzZ/iYVBmujdURAkZJAKDoPDRQb4Z6h+NjCQYrTb0DiXxoUACgsukJ
+9FaAC/LSadC4OIljshZ8s2A=
+=36oX
 -----END PGP SIGNATURE-----
diff --git a/media-libs/jpeg/files/jpeg-6b-gentoo.patch b/media-libs/jpeg/files/jpeg-6b-gentoo.patch
new file mode 100644 (file)
index 0000000..d70e465
--- /dev/null
@@ -0,0 +1,24 @@
+diff -Naur jpeg-6b.orig/configure jpeg-6b/configure
+--- jpeg-6b.orig/configure     2005-01-04 15:34:08.000000000 +0100
++++ jpeg-6b/configure  2005-01-04 15:39:10.620128760 +0100
+@@ -1529,7 +1529,7 @@
+ 
+ if test "x$LTSHARED" != xno  -o  "x$LTSTATIC" != xno; then
+   USELIBTOOL="yes"
+-  LIBTOOL="./libtool"
++  LIBTOOL="libtool"
+   O="lo"
+   A="la"
+   LN='$(LIBTOOL) --mode=link $(CC)'
+diff -Naur jpeg-6b.orig/ltconfig jpeg-6b/ltconfig
+--- jpeg-6b.orig/ltconfig      2005-01-04 15:41:06.025584464 +0100
++++ jpeg-6b/ltconfig   2005-01-04 15:34:08.315086112 +0100
+@@ -553,7 +553,7 @@
+     # On HP-UX, both CC and GCC only warn that PIC is supported... then they
+     # create non-PIC objects.  So, if there were any warnings, we assume that
+     # PIC is not supported.
+-    if test -s conftest.err; then
++    if test -s conftest.err -a $pic_flag -eq '+Z'; then
+       echo "$ac_t"no 1>&6
+       can_build_shared=no
+       pic_flag=
diff --git a/media-libs/jpeg/files/jpeg-6b-pic.patch b/media-libs/jpeg/files/jpeg-6b-pic.patch
deleted file mode 100644 (file)
index a00ed79..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN jpeg-6b.orig/ltconfig jpeg-6b/ltconfig
---- jpeg-6b.orig/ltconfig      2004-11-18 20:37:05.063778128 +0100
-+++ jpeg-6b/ltconfig   2004-11-18 20:32:55.000000000 +0100
-@@ -553,7 +553,7 @@
-     # On HP-UX, both CC and GCC only warn that PIC is supported... then they
-     # create non-PIC objects.  So, if there were any warnings, we assume that
-     # PIC is not supported.
--    if test -s conftest.err; then
-+    if test -s conftest.err -a $pic_flag -eq '+Z'; then
-       echo "$ac_t"no 1>&6
-       can_build_shared=no
-       pic_flag=
index ecd1a6461670537de3aecf511b6a7cdfe132efd6..8f49ca80bdb7e5cca41a032378b84c7a6c148eb0 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-6b-r4.ebuild,v 1.3 2004/12/17 06:27:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-6b-r4.ebuild,v 1.4 2005/01/04 18:03:21 sekretarz Exp $
 
 inherit flag-o-matic libtool eutils toolchain-funcs
 
@@ -26,7 +26,7 @@ src_unpack() {
        sed -i 's/ltconfig.*/& $CHOST/' configure
        uclibctoolize
        use ppc-macos && darwintoolize
-       epatch ${FILESDIR}/${P}-pic.patch
+       epatch ${FILESDIR}/${P}-gentoo.patch
 }
 
 src_compile() {