Browse Source

port to FreeBSD 5.0

Ralf S. Engelschall 23 years ago
parent
commit
3c83f15886
2 changed files with 12 additions and 1 deletions
  1. 9 0
      indent/indent.patch
  2. 3 1
      indent/indent.spec

+ 9 - 0
indent/indent.patch

@@ -0,0 +1,9 @@
+--- man/texinfo2man.c.orig	Thu Jan 17 20:28:51 2002
++++ man/texinfo2man.c	Mon Jan 13 14:00:29 2003
+@@ -1,5 +1,5 @@
+ #include <stdio.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
+ 

+ 3 - 1
indent/indent.spec

@@ -33,10 +33,11 @@ Distribution: OpenPKG [BASE]
 Group:        Language
 License:      GPL
 Version:      2.2.8a
-Release:      20020713
+Release:      20030113
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/indent/indent-%{version}.tar.gz
+Patch0:       indent.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -54,6 +55,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch -p0
 
 %build
     PATH="$PATH:."