epel9
Jakub Jelinek 20 years ago
parent b28b31cae9
commit 2a99379b39

@ -0,0 +1,32 @@
--- indent-2.2.9/man/texinfo2man.c.jj 2002-01-17 14:28:51.000000000 -0500
+++ indent-2.2.9/man/texinfo2man.c 2005-04-10 08:37:22.283581780 -0400
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include <malloc.h>
#include <string.h>
#include <ctype.h>
--- indent-2.2.9/src/indent.h.jj 2002-11-10 16:02:48.000000000 -0500
+++ indent-2.2.9/src/indent.h 2005-04-10 08:35:06.395429529 -0400
@@ -96,11 +96,6 @@ extern char *cur_line;
/* Size of the input program, not including the ' \n\0' we add at the end */
extern unsigned long in_prog_size;
-/* The output file. */
-extern FILE *output;
-
-
-
extern char *labbuf; /* buffer for label */
extern char *s_lab; /* start ... */
extern char *e_lab; /* .. and end of stored label */
--- indent-2.2.9/src/output.c.jj 2002-12-12 12:36:49.000000000 -0500
+++ indent-2.2.9/src/output.c 2005-04-10 08:35:54.511631253 -0400
@@ -12,6 +12,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <utime.h>
#include <sys/stat.h>

@ -7,6 +7,7 @@ Group: Applications/Text
URL: http://www.gnu.org/software/indent/ URL: http://www.gnu.org/software/indent/
Source: ftp://ftp.gnu.org/pub/gnu/indent/indent-%{version}.tar.gz Source: ftp://ftp.gnu.org/pub/gnu/indent/indent-%{version}.tar.gz
Patch: indent-2.2.9-fix.patch Patch: indent-2.2.9-fix.patch
Patch2: indent-2.2.9-gcc4.patch
Prereq: /sbin/install-info Prereq: /sbin/install-info
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -22,6 +23,7 @@ you want a program to format your code.
%prep %prep
%setup -q %setup -q
%patch -p1 %patch -p1
%patch2 -p1
%build %build

Loading…
Cancel
Save