diff options
author | osa <osa@FreeBSD.org> | 2003-07-20 20:25:30 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-07-20 20:25:30 +0800 |
commit | 69dd69477423053f6bae43f23c42fc2b1b6c4389 (patch) | |
tree | dd898c14b1bb31d1dfc618d0a4d4497ab8411da2 /x11/imwheel | |
parent | 9105b796754bb4f986dbe2192e0101481a9fa218 (diff) | |
download | freebsd-ports-gnome-69dd69477423053f6bae43f23c42fc2b1b6c4389.tar.gz freebsd-ports-gnome-69dd69477423053f6bae43f23c42fc2b1b6c4389.tar.zst freebsd-ports-gnome-69dd69477423053f6bae43f23c42fc2b1b6c4389.zip |
Fix build on -CURRENT (gcc-3.3)
Remove patch-ab, which is obsolete by new patch-util.c
Submitted by: Simon Barner <barner@in.tum.de>
Diffstat (limited to 'x11/imwheel')
-rw-r--r-- | x11/imwheel/files/patch-ab | 11 | ||||
-rw-r--r-- | x11/imwheel/files/patch-util.c | 28 |
2 files changed, 28 insertions, 11 deletions
diff --git a/x11/imwheel/files/patch-ab b/x11/imwheel/files/patch-ab deleted file mode 100644 index 8371ae29bd1b..000000000000 --- a/x11/imwheel/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- util.c.orig Fri Feb 18 14:11:18 2000 -+++ util.c Fri Feb 18 14:13:18 2000 -@@ -557,7 +557,7 @@ - - struct WinAction *getRC() - { -- char fname[2][1024]={"","/etc/imwheelrc"}, line[1024], *p, *q, winid[1024]; -+ char fname[2][1024]={"","%%PREFIX%%/etc/imwheelrc"}, line[1024], *p, *q, winid[1024]; - int fi,i; - struct WinAction *newwa=NULL; - FILE *f=NULL; diff --git a/x11/imwheel/files/patch-util.c b/x11/imwheel/files/patch-util.c new file mode 100644 index 000000000000..890d6fd77cd3 --- /dev/null +++ b/x11/imwheel/files/patch-util.c @@ -0,0 +1,28 @@ +--- util.c.orig Tue Oct 31 13:06:05 2000 ++++ util.c Sat Jul 19 05:45:59 2003 +@@ -330,11 +330,11 @@ + 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. ++ fprintf(stderr,"\n\ ++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"))) + { +@@ -710,7 +710,7 @@ + + struct WinAction *getRC() + { +- char fname[2][1024]={"","/etc/imwheelrc"}, line[1024], *p, *q, winid[1024]; ++ char fname[2][1024]={"","/usr/X11R6/etc/imwheelrc"}, line[1024], *p, *q, winid[1024]; + int fi,i; + struct WinAction *newwa=NULL; + FILE *f=NULL; |