pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/compface The GCC 2.95 preprocessor does not h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1094cb7557f4
branches:  trunk
changeset: 487351:1094cb7557f4
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Wed Jan 12 23:22:30 2005 +0000

description:
The GCC 2.95 preprocessor does not handle \ line continuations in files
with Microsoft line endings.

diffstat:

 graphics/compface/distinfo         |   4 +++-
 graphics/compface/patches/patch-ab |  22 ++++++++++++++++++++++
 graphics/compface/patches/patch-ac |  22 ++++++++++++++++++++++
 3 files changed, 47 insertions(+), 1 deletions(-)

diffs (64 lines):

diff -r b05ca110cce5 -r 1094cb7557f4 graphics/compface/distinfo
--- a/graphics/compface/distinfo        Wed Jan 12 23:06:50 2005 +0000
+++ b/graphics/compface/distinfo        Wed Jan 12 23:22:30 2005 +0000
@@ -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 -r b05ca110cce5 -r 1094cb7557f4 graphics/compface/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/compface/patches/patch-ab        Wed Jan 12 23:22:30 2005 +0000
@@ -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 -r b05ca110cce5 -r 1094cb7557f4 graphics/compface/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/compface/patches/patch-ac        Wed Jan 12 23:22:30 2005 +0000
@@ -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));}



Home | Main Index | Thread Index | Old Index