mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 16:59:17 -04:00
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>
This commit is contained in:
parent
046302cfd9
commit
032a7bac12
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85230
2 changed files with 28 additions and 11 deletions
|
@ -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;
|
28
x11/imwheel/files/patch-util.c
Normal file
28
x11/imwheel/files/patch-util.c
Normal file
|
@ -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;
|
Loading…
Add table
Reference in a new issue