From e0eacf210a084e3caf545479c78b372b995b3ddc Mon Sep 17 00:00:00 2001 From: kristerw Date: Wed, 12 Jan 2005 23:22:30 +0000 Subject: The GCC 2.95 preprocessor does not handle \ line continuations in files with Microsoft line endings. --- graphics/compface/distinfo | 4 +++- graphics/compface/patches/patch-ab | 22 ++++++++++++++++++++++ graphics/compface/patches/patch-ac | 22 ++++++++++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 graphics/compface/patches/patch-ab create mode 100644 graphics/compface/patches/patch-ac (limited to 'graphics/compface') diff --git a/graphics/compface/distinfo b/graphics/compface/distinfo index 42eacb07ed7..0ec2e73922b 100644 --- a/graphics/compface/distinfo +++ b/graphics/compface/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/01/10 13:40:02 adam Exp $ +$NetBSD: distinfo,v 1.4 2005/01/12 23:22:30 kristerw Exp $ SHA1 (compface-1.5.tar.gz) = 2a8f2b5251725d0070ab915bf9ecfc8f47041cc1 Size (compface-1.5.tar.gz) = 18122 bytes SHA1 (patch-aa) = 43d8996c8c8f8f72e78a81ae469832224c95c067 +SHA1 (patch-ab) = 17e9948122b39ce284ca64a3aa6b83f67b6f93df +SHA1 (patch-ac) = ef118806906f8f945e9f4df50c27208d682ce341 diff --git a/graphics/compface/patches/patch-ab b/graphics/compface/patches/patch-ab new file mode 100644 index 00000000000..0e89ff30a14 --- /dev/null +++ b/graphics/compface/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 2005/01/12 23:22:30 kristerw Exp $ + +--- cmain.c.orig Thu Jan 13 00:14:12 2005 ++++ cmain.c Thu Jan 13 00:15:41 2005 +@@ -49,13 +49,13 @@ + #define ERR (strerrorwrap(errno)) + #endif + +-#define INITERR(s) {(void)strcpy(fbuf, cmdname); (void)strcat(fbuf, ": ");\ ++#define INITERR(s) {(void)strcpy(fbuf, cmdname); (void)strcat(fbuf, ": ");\ + (void)strcat(fbuf, (s));} + #define ADDERR(s) (void)strcat(fbuf, (s)); +-#define ERROR {(void)strcat(fbuf, "\n");\ ++#define ERROR {(void)strcat(fbuf, "\n");\ + (void)write(2, fbuf, strlen(fbuf)); exit(1);} +-#define INITWARN(s) {(void)strcpy(fbuf, cmdname);\ +- (void)strcat(fbuf, ": (warning) ");\ ++#define INITWARN(s) {(void)strcpy(fbuf, cmdname);\ ++ (void)strcat(fbuf, ": (warning) ");\ + (void)strcat(fbuf, (s));} + #define ADDWARN(s) (void)strcat(fbuf, (s)); + #define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} diff --git a/graphics/compface/patches/patch-ac b/graphics/compface/patches/patch-ac new file mode 100644 index 00000000000..1f3b4b3353a --- /dev/null +++ b/graphics/compface/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1 2005/01/12 23:22:30 kristerw Exp $ + +--- uncmain.c.orig Thu Jan 13 00:16:05 2005 ++++ uncmain.c Thu Jan 13 00:16:54 2005 +@@ -45,13 +45,13 @@ + #define ERR (strerrorwrap(errno)) + #endif + +-#define INITERR(s) {(void)strcpy(fbuf, cmdname); (void)strcat(fbuf, ": ");\ ++#define INITERR(s) {(void)strcpy(fbuf, cmdname); (void)strcat(fbuf, ": ");\ + (void)strcat(fbuf, (s));} + #define ADDERR(s) (void)strcat(fbuf, (s)); +-#define ERROR {(void)strcat(fbuf, "\n");\ ++#define ERROR {(void)strcat(fbuf, "\n");\ + (void)write(2, fbuf, strlen(fbuf)); exit(1);} +-#define INITWARN(s) {(void)strcpy(fbuf, cmdname);\ +- (void)strcat(fbuf, ": (warning) ");\ ++#define INITWARN(s) {(void)strcpy(fbuf, cmdname);\ ++ (void)strcat(fbuf, ": (warning) ");\ + (void)strcat(fbuf, (s));} + #define ADDWARN(s) (void)strcat(fbuf, (s)); + #define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} -- cgit v1.2.3