From ae41b78d6118e7134e72e8612f6c25cc41a0f948 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sun, 6 Oct 2002 07:36:09 +0000 Subject: [PATCH] upgrading package: bison 1.35 -> 1.50 --- bison/bison.patch | 10 ++++++++++ bison/bison.spec | 8 +++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 bison/bison.patch diff --git a/bison/bison.patch b/bison/bison.patch new file mode 100644 index 0000000000..67766ff534 --- /dev/null +++ b/bison/bison.patch @@ -0,0 +1,10 @@ +--- lib/timevar.c.orig Thu Aug 1 20:12:11 2002 ++++ lib/timevar.c Sun Oct 6 09:20:10 2002 +@@ -41,6 +41,7 @@ + # include + #endif + #ifdef HAVE_SYS_RESOURCE_H ++#include + #include + #endif + diff --git a/bison/bison.spec b/bison/bison.spec index 78e18bc005..b96cad88de 100644 --- a/bison/bison.spec +++ b/bison/bison.spec @@ -32,17 +32,18 @@ Packager: The OpenPKG Project Distribution: OpenPKG [CORE] Group: Language License: GPL -Version: 1.35 -Release: 20020418 +Version: 1.50 +Release: 20021006 # list of sources Source0: ftp://ftp.gnu.org/gnu/bison/bison-%{version}.tar.gz +Patch0: bison.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20020206, make -PreReq: OpenPKG, openpkg >= 20020206 +PreReq: OpenPKG, openpkg >= 20020206, m4 AutoReq: no AutoReqProv: no @@ -58,6 +59,7 @@ AutoReqProv: no %prep %setup -q + %patch -p0 %build CC="%{l_cc}" \