Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2012 16:05:22 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304105 - in head/x11-toolkits/fltk: . files
Message-ID:  <201209111605.q8BG5Mj7081085@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_; }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209111605.q8BG5Mj7081085>