aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/diffstat
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-02-18 12:12:57 +0800
committerjedgar <jedgar@FreeBSD.org>2000-02-18 12:12:57 +0800
commit5cfe997535af91b28e785f6c320114a92fc0256c (patch)
treef00ee1feb446a514534028a3398e3382b51d3591 /textproc/diffstat
parenta0e9e331072a1e9635bf7d58530efc2fbcf154ae (diff)
downloadfreebsd-ports-gnome-5cfe997535af91b28e785f6c320114a92fc0256c.tar.gz
freebsd-ports-gnome-5cfe997535af91b28e785f6c320114a92fc0256c.tar.zst
freebsd-ports-gnome-5cfe997535af91b28e785f6c320114a92fc0256c.zip
* Fix for 'warning: function declaration isn't a prototype' warnings
* Properly symlink during install PR: 16757 Submitted by: Maintainer
Diffstat (limited to 'textproc/diffstat')
-rw-r--r--textproc/diffstat/files/patch-ad16
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/diffstat/files/patch-ad b/textproc/diffstat/files/patch-ad
new file mode 100644
index 000000000000..699ca11f1f0c
--- /dev/null
+++ b/textproc/diffstat/files/patch-ad
@@ -0,0 +1,16 @@
+--- diffstat.c.orig Sun May 17 05:07:38 1998
++++ diffstat.c Wed Feb 16 11:20:00 2000
+@@ -83,13 +83,11 @@
+ #if HAVE_MALLOC_H
+ #include <malloc.h>
+ #else
+-extern char *malloc();
+ #endif
+
+ #if HAVE_GETOPT_H
+ #include <getopt.h>
+ #else
+-extern int getopt();
+ extern char *optarg;
+ extern int optind;
+ #endif