summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephanie J. Lockwood-Childs <wormo@gentoo.org>2008-10-31 06:19:17 +0000
committerStephanie J. Lockwood-Childs <wormo@gentoo.org>2008-10-31 06:19:17 +0000
commit9ffae31f8c12c7f1a132956a0ad75b55f121d620 (patch)
tree58160b9c18b630a24e6b531b19c8d63506c35f47 /dev-util/btyacc
parentRemoved vulnerable tikiwiki-2.0 (#243854). (diff)
downloadhistorical-9ffae31f8c12c7f1a132956a0ad75b55f121d620.tar.gz
historical-9ffae31f8c12c7f1a132956a0ad75b55f121d620.tar.bz2
historical-9ffae31f8c12c7f1a132956a0ad75b55f121d620.zip
include missing header since gcc-4.3 is pickier about such things,
patch courtesy of Elias Pipping (bug #240950) Package-Manager: portage-2.1.4.5
Diffstat (limited to 'dev-util/btyacc')
-rw-r--r--dev-util/btyacc/ChangeLog9
-rw-r--r--dev-util/btyacc/Manifest5
-rw-r--r--dev-util/btyacc/btyacc-3.0.ebuild14
-rw-r--r--dev-util/btyacc/files/btyacc-3.0-includes.patch10
4 files changed, 31 insertions, 7 deletions
diff --git a/dev-util/btyacc/ChangeLog b/dev-util/btyacc/ChangeLog
index 27a1716e20ac..1549d81c5414 100644
--- a/dev-util/btyacc/ChangeLog
+++ b/dev-util/btyacc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/btyacc
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/btyacc/ChangeLog,v 1.8 2007/05/15 09:10:31 bangert Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/btyacc/ChangeLog,v 1.9 2008/10/31 06:19:16 wormo Exp $
+
+ 31 Oct 2008; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ +files/btyacc-3.0-includes.patch, btyacc-3.0.ebuild:
+ include missing header since gcc-4.3 is pickier about such things,
+ patch courtesy of Elias Pipping (bug #240950)
14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/dev-util/btyacc/Manifest b/dev-util/btyacc/Manifest
index 938a306025eb..29d1aaabe629 100644
--- a/dev-util/btyacc/Manifest
+++ b/dev-util/btyacc/Manifest
@@ -1,4 +1,5 @@
+AUX btyacc-3.0-includes.patch 171 RMD160 45ea75a3f8ff65b8ce64272ec178883cbcb43a61 SHA1 3586e165aea0327eed2ada29028428cd5318a870 SHA256 9254b10e13921251fb9a59631b327514c1843775e2db56f51643ec14df639892
DIST btyacc-3-0.tar.gz 74770 RMD160 1d28e4d8cf2d0c660194a2f373554c99b42c1b9f SHA1 4a70f78d9695fa1101c49ab1cdbfda5ab740c027 SHA256 501be7eb21623b4bbf47f6c33f74b6dab52374939c0f155b364b1efa641b020a
-EBUILD btyacc-3.0.ebuild 621 RMD160 1b77e6910661005bf6772a9a34e2d1de23a7ab93 SHA1 8f33535fe9b2ba905a3ca1327a10f6fd9fd82868 SHA256 4a25ba1033ceb81c65e814c83b0835422ba649e0bfae5e6fb18526c99d5b6072
-MISC ChangeLog 1003 RMD160 a3c9b865c4a7b86941139f1d26db5ba8ee4bef65 SHA1 c14e3e81c85c95dbaff84dae10008e3e89f6b6ca SHA256 8be0fe2b9b6be1a272d8517ae3c7cdde63b5724a5d88203a137e23f67f2f0f68
+EBUILD btyacc-3.0.ebuild 722 RMD160 adaa8eb84edee80d42ea3d5fae1b1532b53480f4 SHA1 827fb7f910bcbf92604ff1a9ecbce992d6ddd3f6 SHA256 6a6b9f517a066e210d004433c4f7068648bb509241171712392217b938695d14
+MISC ChangeLog 1235 RMD160 b5b0dfc4f3dd783a398058207c019bd9205e8f4a SHA1 ec9e0bbdcc82f55b28504b0d6a9d701976e894d9 SHA256 bbd90c4e1b6c5f52f1c1dfede8c0a5e3a3b83c32fc4f93212d790513a29b01a1
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
diff --git a/dev-util/btyacc/btyacc-3.0.ebuild b/dev-util/btyacc/btyacc-3.0.ebuild
index c20e143168e9..725dad78f313 100644
--- a/dev-util/btyacc/btyacc-3.0.ebuild
+++ b/dev-util/btyacc/btyacc-3.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/btyacc/btyacc-3.0.ebuild,v 1.7 2005/04/24 12:44:30 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/btyacc/btyacc-3.0.ebuild,v 1.8 2008/10/31 06:19:16 wormo Exp $
+
+inherit eutils
MY_P=${P/./-}
IUSE=""
@@ -12,7 +14,13 @@ LICENSE="freedist"
SLOT="0"
KEYWORDS="x86 ppc"
DEPEND="virtual/libc"
-S=${WORKDIR}
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-includes.patch"
+}
src_compile() {
emake CFLAGS="${CFLAGS}" LDFLAGS= || die
diff --git a/dev-util/btyacc/files/btyacc-3.0-includes.patch b/dev-util/btyacc/files/btyacc-3.0-includes.patch
new file mode 100644
index 000000000000..a03f58fa3865
--- /dev/null
+++ b/dev-util/btyacc/files/btyacc-3.0-includes.patch
@@ -0,0 +1,10 @@
+--- mstring.c
++++ mstring.c
+@@ -1,6 +1,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <stdarg.h>
++#include <string.h>
+ #include <ctype.h>
+ #include "mstring.h"
+