aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/flwm
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2011-11-17 21:06:49 +0800
committergahr <gahr@FreeBSD.org>2011-11-17 21:06:49 +0800
commit7c37e252be134273bdb8e5ad7cd703c7c96bf40f (patch)
tree4945eed76d8b04bab47177d552df32a6903585e9 /x11-wm/flwm
parente55b1fb298431ee4c48e876a53df1b7f43b81e14 (diff)
downloadfreebsd-ports-gnome-7c37e252be134273bdb8e5ad7cd703c7c96bf40f.tar.gz
freebsd-ports-gnome-7c37e252be134273bdb8e5ad7cd703c7c96bf40f.tar.zst
freebsd-ports-gnome-7c37e252be134273bdb8e5ad7cd703c7c96bf40f.zip
- Unbreak - fix build with latest x11-toolkits/fltk
- Remove Rotated patch, now it works correctly Feature safe: yes
Diffstat (limited to 'x11-wm/flwm')
-rw-r--r--x11-wm/flwm/Makefile4
-rw-r--r--x11-wm/flwm/files/patch-Rotated.C14
2 files changed, 2 insertions, 16 deletions
diff --git a/x11-wm/flwm/Makefile b/x11-wm/flwm/Makefile
index 0de2e0b31cd3..02a3a81f5b99 100644
--- a/x11-wm/flwm/Makefile
+++ b/x11-wm/flwm/Makefile
@@ -17,11 +17,11 @@ COMMENT= The Fast Light Window Manager
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
-BROKEN= does not compile
-
USE_XORG= x11 xt
GNU_CONFIGURE= yes
+CFLAGS+= -DFL_LIBRARY
+
MAN1= flwm.1
PLIST_FILES= bin/flwm
diff --git a/x11-wm/flwm/files/patch-Rotated.C b/x11-wm/flwm/files/patch-Rotated.C
deleted file mode 100644
index 8150bcf971a2..000000000000
--- a/x11-wm/flwm/files/patch-Rotated.C
+++ /dev/null
@@ -1,14 +0,0 @@
---- Rotated.C.orig 2008-12-07 22:19:57.000000000 +0100
-+++ Rotated.C 2008-12-07 22:20:12.000000000 +0100
-@@ -368,9 +368,11 @@
- }
-
- void draw_rotated(const char* text, int n, int x, int y, int angle) {
-+#if 0
- if (!text || !*text) return;
- setrotfont(angle);
- XRotDrawString(fl_display, font, fl_window, fl_gc, x, y, text, n);
-+#endif
- }
-
- #if !defined(FLWM) || FL_MAJOR_VERSION>=2