diff options
author | pav <pav@FreeBSD.org> | 2006-01-10 20:47:29 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-01-10 20:47:29 +0800 |
commit | c5a4bc9b601eb5c80bf1883527fd1740dd9d6a47 (patch) | |
tree | d9122547916e8d1e91efaee07ae37eaa36192fa3 /x11-wm | |
parent | 9adf8b14fb7480e02d3ba0dbbd29d6d59a50f141 (diff) | |
download | freebsd-ports-gnome-c5a4bc9b601eb5c80bf1883527fd1740dd9d6a47.tar.gz freebsd-ports-gnome-c5a4bc9b601eb5c80bf1883527fd1740dd9d6a47.tar.zst freebsd-ports-gnome-c5a4bc9b601eb5c80bf1883527fd1740dd9d6a47.zip |
- Fix build on FreeBSD 4.X
PR: ports/91566
Submitted by: Andreas Kohn <andreas@syndrom23.de> (maintainer)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/transset-df/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/transset-df/files/patch-transSet.c | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/x11-wm/transset-df/Makefile b/x11-wm/transset-df/Makefile index c2c93059bbb8..a644f5b33d2c 100644 --- a/x11-wm/transset-df/Makefile +++ b/x11-wm/transset-df/Makefile @@ -16,6 +16,7 @@ COMMENT= Make your windows transparent USE_X_PREFIX= yes ALL_TARGET= transset-df MAKE_ARGS= CFLAGS="${CFLAGS}" +USE_GETOPT_LONG=yes PLIST_FILES= bin/transset-df diff --git a/x11-wm/transset-df/files/patch-transSet.c b/x11-wm/transset-df/files/patch-transSet.c new file mode 100644 index 000000000000..d66704d4c60a --- /dev/null +++ b/x11-wm/transset-df/files/patch-transSet.c @@ -0,0 +1,27 @@ +--- transSet.c.orig Mon Jan 9 21:09:08 2006 ++++ transSet.c Mon Jan 9 21:10:27 2006 +@@ -121,6 +121,11 @@ + {"verbose",0,NULL,'v'}, + {0,0,0,0} + }; ++ unsigned char *data; ++ ++ Atom actual; ++ int format; ++ unsigned long n, left; + + /* wonderful utility */ + Setup_Display_And_Screen(&argc, argv); +@@ -228,12 +233,6 @@ + target_win = Select_Window(dpy); + } + +- unsigned char *data; +- +- Atom actual; +- int format; +- unsigned long n, left; +- + if (!gotd) d=0.75; + + /* get property */ |