aboutsummaryrefslogtreecommitdiff
path: root/x11/imwheel
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-07-20 12:25:30 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-07-20 12:25:30 +0000
commit032a7bac1204d26a135f83c8f0f2c27f1666618c (patch)
treea0e474b032ab6fa4b666ad097644a1a808130063 /x11/imwheel
parent046302cfd966a7379fcaa991ffb1ec2d84dfbae1 (diff)
downloadports-032a7bac1204d26a135f83c8f0f2c27f1666618c.tar.gz
ports-032a7bac1204d26a135f83c8f0f2c27f1666618c.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>
Notes
Notes: svn path=/head/; revision=85230
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;