diff options
author | gahr <gahr@FreeBSD.org> | 2012-09-12 00:05:22 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2012-09-12 00:05:22 +0800 |
commit | 2aceaffccb8f72e2cada06dcd67b3ee346530b24 (patch) | |
tree | ad1dd19c26f49019c0627df4a3084fd89ed7524f /x11-toolkits/fltk | |
parent | 21c9a794e9fefb953b22c4345999ce2b94b9dc58 (diff) | |
download | freebsd-ports-gnome-2aceaffccb8f72e2cada06dcd67b3ee346530b24.tar.gz freebsd-ports-gnome-2aceaffccb8f72e2cada06dcd67b3ee346530b24.tar.zst freebsd-ports-gnome-2aceaffccb8f72e2cada06dcd67b3ee346530b24.zip |
- Add a patch to #undef nitems, which has been added as a macro to sys/param.h
in r236486 and is also a member of Fl_Check_Browser class.
- Bump PORTREVISION
Notified by: martymac
Diffstat (limited to 'x11-toolkits/fltk')
-rw-r--r-- | x11-toolkits/fltk/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/fltk/files/patch-FL_Fl_Check_Browser.H | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile index aa8d405f2cf6..44af1930bc79 100644 --- a/x11-toolkits/fltk/Makefile +++ b/x11-toolkits/fltk/Makefile @@ -7,7 +7,7 @@ PORTNAME= fltk PORTVERSION= 1.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_EASYSW} MASTER_SITE_SUBDIR= fltk/${PORTVERSION} diff --git a/x11-toolkits/fltk/files/patch-FL_Fl_Check_Browser.H b/x11-toolkits/fltk/files/patch-FL_Fl_Check_Browser.H new file mode 100644 index 000000000000..847ec5345318 --- /dev/null +++ b/x11-toolkits/fltk/files/patch-FL_Fl_Check_Browser.H @@ -0,0 +1,10 @@ +--- FL/Fl_Check_Browser.H.orig 2012-09-11 17:32:07.000000000 +0200 ++++ FL/Fl_Check_Browser.H 2012-09-11 17:33:20.000000000 +0200 +@@ -97,6 +97,7 @@ + Returns how many lines are in the browser. The last line number is equal to + this. + */ ++#undef nitems // nitems was added as a macro in sys/param.h in r236486 + int nitems() const { return nitems_; } + /** Returns how many items are currently checked. */ + int nchecked() const { return nchecked_; } |