فهرست منبع

upgrading package: bison 1.35 -> 1.50

Ralf S. Engelschall 23 سال پیش
والد
کامیت
ae41b78d61
2فایلهای تغییر یافته به همراه15 افزوده شده و 3 حذف شده
  1. 10 0
      bison/bison.patch
  2. 5 3
      bison/bison.spec

+ 10 - 0
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 <sys/times.h>
+ #endif
+ #ifdef HAVE_SYS_RESOURCE_H
++#include <sys/time.h>
+ #include <sys/resource.h>
+ #endif
+ 

+ 5 - 3
bison/bison.spec

@@ -32,17 +32,18 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [CORE]
 Distribution: OpenPKG [CORE]
 Group:        Language
 Group:        Language
 License:      GPL
 License:      GPL
-Version:      1.35
-Release:      20020418
+Version:      1.50
+Release:      20021006
 
 
 #   list of sources
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/bison/bison-%{version}.tar.gz
 Source0:      ftp://ftp.gnu.org/gnu/bison/bison-%{version}.tar.gz
+Patch0:       bison.patch
 
 
 #   build information
 #   build information
 Prefix:       %{l_prefix}
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 20020206, make
 BuildPreReq:  OpenPKG, openpkg >= 20020206, make
-PreReq:       OpenPKG, openpkg >= 20020206
+PreReq:       OpenPKG, openpkg >= 20020206, m4
 AutoReq:      no
 AutoReq:      no
 AutoReqProv:  no
 AutoReqProv:  no
 
 
@@ -58,6 +59,7 @@ AutoReqProv:  no
 
 
 %prep
 %prep
     %setup -q
     %setup -q
+    %patch -p0
 
 
 %build
 %build
     CC="%{l_cc}" \
     CC="%{l_cc}" \