diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile index 0dfbf13a8d..2b0199d022 100644 --- a/x11-toolkits/fltk/Makefile +++ b/x11-toolkits/fltk/Makefile @@ -1,6 +1,6 @@ PORTNAME= fltk PORTVERSION= 1.3.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= https://www.fltk.org/pub/${PORTNAME}/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source diff --git a/x11-toolkits/fltk/files/patch-FL_x.H b/x11-toolkits/fltk/files/patch-FL_x.H new file mode 100644 index 0000000000..f994c3ad46 --- /dev/null +++ b/x11-toolkits/fltk/files/patch-FL_x.H @@ -0,0 +1,11 @@ +--- FL/x.H.orig 2024-03-02 22:07:27 UTC ++++ FL/x.H +@@ -105,7 +105,7 @@ FL_EXPORT Fl_Region XRectangleRegion(int x, int y, int + // With Xlib / X11 fonts, fl_xfont will return the current selected font. + // With XFT / X11 fonts, fl_xfont will attempt to return the bitmap "core" font most + // similar to (usually the same as) the current XFT font. +-class Fl_XFont_On_Demand ++class FL_EXPORT Fl_XFont_On_Demand + { + public: + Fl_XFont_On_Demand(XFontStruct* p = NULL) : ptr(p) { }