diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-01-12 23:22:30 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-01-12 23:22:30 +0000 |
commit | 844e35ce341027d85f0035bd04070cc981e5ac11 (patch) | |
tree | 79a90fa445c7125bb07878cfb352ab0d8b80bb2c /graphics/compface | |
parent | 13d96b9c901bd4485d4106db5f37b0bfa255420e (diff) | |
download | pkgsrc-844e35ce341027d85f0035bd04070cc981e5ac11.tar.gz |
The GCC 2.95 preprocessor does not handle \ line continuations in files
with Microsoft line endings.
Diffstat (limited to 'graphics/compface')
-rw-r--r-- | graphics/compface/distinfo | 4 | ||||
-rw-r--r-- | graphics/compface/patches/patch-ab | 22 | ||||
-rw-r--r-- | graphics/compface/patches/patch-ac | 22 |
3 files changed, 47 insertions, 1 deletions
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));}
|