diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-07-31 17:32:58 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-07-31 17:32:58 +0000 |
commit | d38f5065fd0c1f5b4c0022e6088f1f99dc0482f5 (patch) | |
tree | 8172a5be00d64d27defdb6cb056e2a525abc37ba /app-arch | |
parent | Stable on amd64 wrt bug #330347 (diff) | |
download | gentoo-2-d38f5065fd0c1f5b4c0022e6088f1f99dc0482f5.tar.gz gentoo-2-d38f5065fd0c1f5b4c0022e6088f1f99dc0482f5.tar.bz2 gentoo-2-d38f5065fd0c1f5b4c0022e6088f1f99dc0482f5.zip |
Add fix from upstream for USE=-pic building on x86 #309079.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/gzip/ChangeLog | 6 | ||||
-rw-r--r-- | app-arch/gzip/files/gzip-1.4-assembler.patch | 52 | ||||
-rw-r--r-- | app-arch/gzip/gzip-1.4.ebuild | 3 |
3 files changed, 59 insertions, 2 deletions
diff --git a/app-arch/gzip/ChangeLog b/app-arch/gzip/ChangeLog index 75ff58037bd1..e91e79f1f0ba 100644 --- a/app-arch/gzip/ChangeLog +++ b/app-arch/gzip/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-arch/gzip # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/ChangeLog,v 1.108 2010/02/11 19:19:32 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/ChangeLog,v 1.109 2010/07/31 17:32:58 vapier Exp $ + + 31 Jul 2010; Mike Frysinger <vapier@gentoo.org> gzip-1.4.ebuild, + +files/gzip-1.4-assembler.patch: + Add fix from upstream for USE=-pic building on x86 #309079. 11 Feb 2010; Raúl Porcel <armin76@gentoo.org> gzip-1.4.ebuild: alpha/ia64/m68k/s390/sh stable wrt #300943 diff --git a/app-arch/gzip/files/gzip-1.4-assembler.patch b/app-arch/gzip/files/gzip-1.4-assembler.patch new file mode 100644 index 000000000000..76aade5c9341 --- /dev/null +++ b/app-arch/gzip/files/gzip-1.4-assembler.patch @@ -0,0 +1,52 @@ +http://bugs.gentoo.org/309079 +http://lists.gnu.org/archive/html/bug-gzip/2010-02/msg00032.html + +From 61af16213a488af3a8e994399ebd0859d390edb6 Mon Sep 17 00:00:00 2001 +From: Jim Meyering <meyering@redhat.com> +Date: Sat, 20 Mar 2010 13:05:58 +0100 +Subject: [PATCH] use assembly code matcher when possible + +* configure.ac (ASCPPPOST): Backslash-escape "#" in AC_SUBST'd +variable, to keep make from seeing it as a comment-introducer. +Based on a patch by Petr Pisar. +* lib/Makefile.am (match.$(OBJEXT)): Use AM_V_GEN and AM_V_at. +* lib/match.c: Don't include <config.h>. +It would impede configure-time assembler test. +* .x-sc_require_config_h: Exempt lib/match.c from syntax-check. +* .x-sc_require_config_h_first: Likewise. +--- + .x-sc_require_config_h | 1 + + .x-sc_require_config_h_first | 1 + + THANKS | 1 + + configure.ac | 2 +- + lib/Makefile.am | 12 ++++++------ + lib/match.c | 2 -- + 6 files changed, 10 insertions(+), 9 deletions(-) + create mode 100644 .x-sc_require_config_h + create mode 100644 .x-sc_require_config_h_first + +--- a/configure ++++ b/configure +@@ -22588,5 +22588,5 @@ + + # cc -E produces incorrect asm files on SVR4, so postprocess it. +-ASCPPPOST="sed '/^ *#/d; s,//.*,,; s/% /%/g; s/\\. /./g'" ++ASCPPPOST="sed '/^ *\\#/d; s,//.*,,; s/% /%/g; s/\\. /./g'" + + +diff --git a/lib/match.c b/lib/match.c +index 4ef6128..5dd8d64 100644 +--- a/lib/match.c ++++ b/lib/match.c +@@ -28,8 +28,6 @@ + * David Mosberger-Tang <davidm@hpl.hp.com>. + */ + +-#include <config.h> +- + /* Preprocess with -DNO_UNDERLINE if your C compiler does not prefix + * external symbols with an underline character '_'. + */ +-- +1.7.1.1 + diff --git a/app-arch/gzip/gzip-1.4.ebuild b/app-arch/gzip/gzip-1.4.ebuild index 6507ad0778fc..88af81fd003f 100644 --- a/app-arch/gzip/gzip-1.4.ebuild +++ b/app-arch/gzip/gzip-1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/gzip-1.4.ebuild,v 1.6 2010/02/11 19:19:32 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/gzip-1.4.ebuild,v 1.7 2010/07/31 17:32:58 vapier Exp $ inherit eutils flag-o-matic @@ -25,6 +25,7 @@ src_unpack() { cd "${S}" #epatch "${FILESDIR}"/${PN}-1.3.5-rsync.patch epatch "${FILESDIR}"/${PN}-1.3.8-install-symlinks.patch + epatch "${FILESDIR}"/${P}-assembler.patch #309079 } src_compile() { |