Procházet zdrojové kódy

upgrade to patchutils 0.2.8

Ralf S. Engelschall před 24 roky
rodič
revize
c3bdb91cc9
2 změnil soubory, kde provedl 26 přidání a 2 odebrání
  1. 22 0
      patchutils/patchutils.patch
  2. 4 2
      patchutils/patchutils.spec

+ 22 - 0
patchutils/patchutils.patch

@@ -0,0 +1,22 @@
+--- filterdiff.c.orig	Thu Jan 31 14:35:00 2002
++++ filterdiff.c	Fri Feb  1 13:32:41 2002
+@@ -27,6 +27,9 @@
+ #ifdef HAVE_ERROR_H
+ # include <error.h>
+ #endif /* HAVE_ERROR_H */
++#ifdef HAVE_SYS_TYPES_H
++# include <sys/types.h> // for ssize_t
++#endif /* HAVE_SYS_TYPES_H */
+ #include <fnmatch.h>
+ #include <getopt.h>
+ #include <locale.h>
+@@ -34,9 +37,6 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#ifdef HAVE_SYS_TYPES_H
+-# include <sys/types.h> // for ssize_t
+-#endif /* HAVE_SYS_TYPES_H */
+ #include <time.h>
+ 
+ #include "util.h"

+ 4 - 2
patchutils/patchutils.spec

@@ -32,11 +32,12 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Group:        Converter
 License:      GPL
-Version:      0.2.7
-Release:      20011220
+Version:      0.2.8
+Release:      20020201
 
 #   list of sources
 Source0:      http://cyberelk.net/tim/data/patchutils/stable/patchutils-%{version}.tar.gz
+Patch0:       patchutils.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -70,6 +71,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q 
+    %patch -p0
 
 %build
     CC="%{l_cc}" \