Kaynağa Gözat

upgrading package: sed 4.0.7 -> 4.0.8

Ralf S. Engelschall 22 yıl önce
ebeveyn
işleme
0519120972
2 değiştirilmiş dosya ile 15 ekleme ve 2 silme
  1. 11 0
      sed/sed.patch
  2. 4 2
      sed/sed.spec

+ 11 - 0
sed/sed.patch

@@ -0,0 +1,11 @@
+Index: lib/getline.c
+--- lib/getline.c.orig	2003-08-26 11:11:17.000000000 +0200
++++ lib/getline.c	2003-10-23 22:19:20.000000000 +0200
+@@ -18,6 +18,7 @@
+ 
+ #include <limits.h>
+ #include <errno.h>
++#include <sys/types.h>
+ 
+ /* Read up to (and including) a '\n' from STREAM into *LINEPTR
+    (and null-terminate it). *LINEPTR is a pointer returned from malloc (or

+ 4 - 2
sed/sed.spec

@@ -32,11 +32,12 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [BASE]
 Group:        Text
 License:      GPL
-Version:      4.0.7
-Release:      20030411
+Version:      4.0.8
+Release:      20031023
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/sed/sed-%{version}.tar.gz
+Patch0:       sed.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -53,6 +54,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch -p0
 
 %build
     CC="%{l_cc}" \