diff options
author | zuntum <zuntum@pkgsrc.org> | 2004-01-11 20:46:49 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2004-01-11 20:46:49 +0000 |
commit | 141c6df71ad09bbe8ecc5cc0fb53e541c914abbe (patch) | |
tree | c24b80bc1594625f657872b1912c0100a3e15f96 /x11/imwheel/patches | |
parent | 3a2379e7ac87a692a4cb433b2612da347b2bafd7 (diff) | |
download | pkgsrc-141c6df71ad09bbe8ecc5cc0fb53e541c914abbe.tar.gz |
Fix multiline string literals so it compiles with gcc3.
Diffstat (limited to 'x11/imwheel/patches')
-rw-r--r-- | x11/imwheel/patches/patch-ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/imwheel/patches/patch-ac b/x11/imwheel/patches/patch-ac new file mode 100644 index 00000000000..ba7d5c3f0bf --- /dev/null +++ b/x11/imwheel/patches/patch-ac @@ -0,0 +1,23 @@ +$NetBSD: patch-ac,v 1.1 2004/01/11 20:46:49 zuntum Exp $ + +--- util.c.orig 2000-10-31 13:06:05.000000000 +0100 ++++ util.c +@@ -330,12 +330,12 @@ void WritePID() + fclose(f); + if(pid>0 && useFifo) + { +- fprintf(stderr,"\ +-ERROR: imwheel is already running or there is a stale pid file +- check on processes listed below. +- run with -k to kill running imwheels. +- remove pid file %s. +- or run with -p to avoid the pid file altogether.\n",PIDFILE); ++ fprintf(stderr, ++"ERROR: imwheel is already running or there is a stale pid file\n" ++" check on processes listed below.\n" ++" run with -k to kill running imwheels.\n" ++" remove pid file %s.\n" ++" or run with -p to avoid the pid file altogether.\n",PIDFILE); + if((f=fopen(PIDFILE,"r"))) + { + while(fscanf(f,"%d",&pid)>0) |