1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Unbreak - fix build with latest x11-toolkits/fltk

- Remove Rotated patch, now it works correctly

Feature safe:	yes
This commit is contained in:
Pietro Cerutti 2011-11-17 13:06:49 +00:00
parent 028ceb478f
commit 792dbec403
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285956
2 changed files with 2 additions and 16 deletions

View File

@ -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

View File

@ -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