summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-19 07:14:45 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-19 07:14:45 +0000
commit9a8874fece229d249e003cf8ecef45003a7b60ef (patch)
tree4409fc78c5928ddd97b94f6c2b0ecee55aa29baf /dev-util/unifdef
parentRevert: >=libnotify-0.4 will trigger bug 254235 (diff)
downloadhistorical-9a8874fece229d249e003cf8ecef45003a7b60ef.tar.gz
historical-9a8874fece229d249e003cf8ecef45003a7b60ef.tar.bz2
historical-9a8874fece229d249e003cf8ecef45003a7b60ef.zip
Fix build error with glibc-2.10 due to getline() #270369 by Harris Landgarten.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-util/unifdef')
-rw-r--r--dev-util/unifdef/ChangeLog8
-rw-r--r--dev-util/unifdef/Manifest12
-rw-r--r--dev-util/unifdef/unifdef-1.20.ebuild10
3 files changed, 20 insertions, 10 deletions
diff --git a/dev-util/unifdef/ChangeLog b/dev-util/unifdef/ChangeLog
index bdcb016bf81e..30e42b3f5f01 100644
--- a/dev-util/unifdef/ChangeLog
+++ b/dev-util/unifdef/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/unifdef
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/unifdef/ChangeLog,v 1.4 2008/03/31 12:44:05 eva Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/unifdef/ChangeLog,v 1.5 2009/05/19 07:14:45 vapier Exp $
+
+ 19 May 2009; Mike Frysinger <vapier@gentoo.org> unifdef-1.20.ebuild:
+ Fix build error with glibc-2.10 due to getline() #270369 by Harris
+ Landgarten.
23 May 2007; Diego Pettenò <flameeyes@gentoo.org> unifdef-1.20.ebuild:
Replace ~x86-fbsd with -x86-fbsd and add -sparc-fbsd, as this package is not
diff --git a/dev-util/unifdef/Manifest b/dev-util/unifdef/Manifest
index 5371b887b821..5ef71328ada8 100644
--- a/dev-util/unifdef/Manifest
+++ b/dev-util/unifdef/Manifest
@@ -2,13 +2,13 @@
Hash: SHA1
DIST unifdef-1.20.tar.bz2 65748 RMD160 030567f7f07c9033cf29d00d95eea7558e5ccf81 SHA1 12595e650502134b40bc1689dd3c946b46a98dff SHA256 8fa08acda5d6a6bb162ba240bc368b975942be35f7bd334da7d2b29243471bba
-EBUILD unifdef-1.20.ebuild 652 RMD160 760e95da91e80b43148e6dd4f7b8b23dea92dc19 SHA1 655c16207160a3a8f9683241dd624d5c9662bf0b SHA256 81a1d6c8b2737488f4397e3fd129b236a450243101db7c1d144e2eb4b2e5979a
-MISC ChangeLog 615 RMD160 e4c9e2e0c3a435ee3283c9fe0ba2fa9de8417d2c SHA1 9f7c1b2c1b94fb4dbe33684c994b649ba03dfbc2 SHA256 c3e54c866d3c40cdc03a292a37e1709a76b1045bf724b1ae936839b2036f7bb3
+EBUILD unifdef-1.20.ebuild 752 RMD160 0c4c4d2c12afa45c20b1a64d1c69d44b922b179f SHA1 4313b296cbfcd2245af78c1c0a48586d77def469 SHA256 f78d3476d8bc0c251e48e0e6083d5150c4be948d8251230b3b5edc92ab569269
+MISC ChangeLog 773 RMD160 e5604a96fa7bd838c93f0c150522634992d4f548 SHA1 00319ae513f2dbdc010da2043f140c480ca5140c SHA256 94665b0063a75f5f455549670a8bf528e97c73a4dc692dfe0596467a82352c6e
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iD8DBQFH8Nx91fmVwcYIWAYRAkT4AJ9fayJybTyFsGkkkJnmnWuB1A3BKQCfRRqu
-kov3EEzkWazxwN4vu16YqmY=
-=3hEN
+iEYEARECAAYFAkoSXGoACgkQn/5bYzqsSmH5TgCgiyyCOCSMf+WqVKV8TMXH0jRu
+IPgAoLrpdzXJexVO77dqdtxyjFio8L0B
+=MihS
-----END PGP SIGNATURE-----
diff --git a/dev-util/unifdef/unifdef-1.20.ebuild b/dev-util/unifdef/unifdef-1.20.ebuild
index 70c23dc17daa..6e6fcbdc83dc 100644
--- a/dev-util/unifdef/unifdef-1.20.ebuild
+++ b/dev-util/unifdef/unifdef-1.20.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/unifdef/unifdef-1.20.ebuild,v 1.4 2007/05/23 16:29:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/unifdef/unifdef-1.20.ebuild,v 1.5 2009/05/19 07:14:45 vapier Exp $
DESCRIPTION="remove #ifdef'ed lines from a file while otherwise leaving the file alone"
HOMEPAGE="http://freshmeat.net/projects/unifdef/"
@@ -15,6 +15,12 @@ DEPEND=""
S=${WORKDIR}/${P}/Debian
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:\<getline\>:get_line:' */unifdef.c || die #270369
+}
+
src_install() {
emake install DESTDIR="${D}" || die
dodoc ../README.Gentoo README