svn commit: r304105 - in head/x11-toolkits/fltk: . files

Pietro Cerutti gahr at FreeBSD.org
Tue Sep 11 16:05:23 UTC 2012


Author: gahr
Date: Tue Sep 11 16:05:22 2012
New Revision: 304105
URL: http://svn.freebsd.org/changeset/ports/304105

Log:
  - 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

Added:
  head/x11-toolkits/fltk/files/patch-FL_Fl_Check_Browser.H   (contents, props changed)
Modified:
  head/x11-toolkits/fltk/Makefile   (contents, props changed)

Modified: head/x11-toolkits/fltk/Makefile
==============================================================================
--- head/x11-toolkits/fltk/Makefile	Tue Sep 11 16:04:47 2012	(r304104)
+++ head/x11-toolkits/fltk/Makefile	Tue Sep 11 16:05:22 2012	(r304105)
@@ -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}

Added: head/x11-toolkits/fltk/files/patch-FL_Fl_Check_Browser.H
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/fltk/files/patch-FL_Fl_Check_Browser.H	Tue Sep 11 16:05:22 2012	(r304105)
@@ -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_; }



More information about the svn-ports-all mailing list