summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/xc/files/xc-4.3.2-implicit-decl.patch')
-rw-r--r--net-dialup/xc/files/xc-4.3.2-implicit-decl.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/net-dialup/xc/files/xc-4.3.2-implicit-decl.patch b/net-dialup/xc/files/xc-4.3.2-implicit-decl.patch
index 545299b04186..556392d8b189 100644
--- a/net-dialup/xc/files/xc-4.3.2-implicit-decl.patch
+++ b/net-dialup/xc/files/xc-4.3.2-implicit-decl.patch
@@ -1,17 +1,16 @@
-diff -Nru xc-4.3.2.orig/crc.c xc-4.3.2/crc.c
---- xc-4.3.2.orig/crc.c 1996-09-27 05:47:17.000000000 +0300
-+++ xc-4.3.2/crc.c 2007-04-15 14:34:09.000000000 +0300
-@@ -5,6 +5,7 @@
+--- xc-4.3.2/crc.c
++++ xc-4.3.2/crc.c
+@@ -5,6 +5,8 @@
* Crc - 32 BIT ANSI X3.66 CRC checksum files
*/
#include <stdio.h>
+#include <stdlib.h>
++#include <string.h>
#define OK 0
#define ERROR (-1)
#define LINT_ARGS
-diff -Nru xc-4.3.2.orig/xcterm.c xc-4.3.2/xcterm.c
---- xc-4.3.2.orig/xcterm.c 1996-09-25 06:58:31.000000000 +0300
-+++ xc-4.3.2/xcterm.c 2007-04-15 14:33:46.000000000 +0300
+--- xc-4.3.2/xcterm.c
++++ xc-4.3.2/xcterm.c
@@ -4,6 +4,8 @@
#define XCTERM_C 1