1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Recreate patches with additional changes that should allow building on 10-current

This commit is contained in:
Eitan Adler 2013-06-09 22:08:22 +00:00
parent 61e2bc1852
commit 04428a3d78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320414
2 changed files with 20 additions and 5 deletions

View File

@ -1,5 +1,5 @@
--- Makefile.orig Tue Jan 16 14:36:38 1996
+++ Makefile Sat Nov 30 22:45:23 2002
--- ./Makefile.orig 1996-01-16 06:36:38.000000000 +0100
+++ ./Makefile 2013-06-10 00:05:02.101069622 +0200
@@ -15,13 +15,13 @@
#
# add -DUSE_READLINE To compile in support for the GNU readline library.

View File

@ -1,8 +1,15 @@
--- cdecl.c.orig Mon Jan 15 19:54:46 1996
+++ cdecl.c Sat Aug 11 21:12:11 2001
@@ -63,10 +63,16 @@
--- ./cdecl.c.orig 1996-01-16 04:54:46.000000000 +0100
+++ ./cdecl.c 2013-06-10 00:06:29.231069167 +0200
@@ -59,14 +59,22 @@
*/
char cdeclsccsid[] = "@(#)cdecl.c 2.5 1/15/96";
-
+
#include <stdio.h>
#include <ctype.h>
+#include <unistd.h>
+
#if __STDC__ || defined(DOS)
+# if (defined(__unix__) || defined(unix)) && !defined(USG)
+# include <sys/param.h>
@ -17,6 +24,14 @@
#else
# ifndef NOVARARGS
# include <varargs.h>
@@ -124,7 +132,6 @@
#if __STDC__
char *ds(char *), *cat(char *, ...), *visible(int);
- int getopt(int,char **,char *);
int main(int, char **);
int yywrap(void);
int dostdin(void);
@@ -138,7 +145,9 @@
void docast(char*, char*, char*, char*);
void dodexplain(char*, char*, char*, char*);