aboutsummaryrefslogtreecommitdiffstats
path: root/x11/imwheel
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-07-20 20:25:30 +0800
committerosa <osa@FreeBSD.org>2003-07-20 20:25:30 +0800
commit69dd69477423053f6bae43f23c42fc2b1b6c4389 (patch)
treedd898c14b1bb31d1dfc618d0a4d4497ab8411da2 /x11/imwheel
parent9105b796754bb4f986dbe2192e0101481a9fa218 (diff)
downloadfreebsd-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-ab11
-rw-r--r--x11/imwheel/files/patch-util.c28
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;