ports/107901: [PATCH] x11-toolkits/fltk: Fix errors.

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Sun Jan 14 06:00:33 UTC 2007


>Number:         107901
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/fltk: Fix errors.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 14 06:00:31 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Generiton Inc.
>Environment:
System: FreeBSD i386.yinjieh.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #5: Sat Jan  6 05:14:58 CST
>Description:

	* s/maxinum/maximum
	* s/mininum/minimum
	* Fix Makefile to make portlint happy

Added file(s):
- files/patch-FL-Fl_Spinner.H

Port maintainer (demon at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- fltk-1.1.7_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/fltk/Makefile /root/ports/fltk/Makefile
--- /usr/ports/x11-toolkits/fltk/Makefile	Sun Dec  3 18:46:52 2006
+++ /root/ports/fltk/Makefile	Sun Jan 14 13:49:14 2007
@@ -7,14 +7,9 @@
 
 PORTNAME=	fltk
 PORTVERSION=	${VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-toolkits
-MASTER_SITES=	http://ftp.easysw.com/pub/fltk/%SUBDIR%/ \
-		ftp://ftp.easysw.com/pub/fltk/%SUBDIR%/ \
-		ftp://ftp3.easysw.com/pub/fltk/%SUBDIR%/ \
-		http://mirror.nu6.org/ftp.easysw.com/pub/fltk/%SUBDIR%/ \
-		http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/%SUBDIR%/ \
-		http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/%SUBDIR%/
+MASTER_SITES=	${MASTER_SITE_EASYSW}
 MASTER_SITE_SUBDIR=	${VERSION}
 .ifdef WITH_THREADS
 PKGNAMESUFFIX=	-threads
@@ -39,7 +34,7 @@
 
 VERSION=	1.1.7
 USE_BZIP2=	yes
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS+=--enable-shared --enable-xft
@@ -56,7 +51,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 500000 && defined(WITH_THREADS)
-IGNORE=	"does not work on FreeBSD 4.x, because threading is not activated"
+IGNORE=	does not work on FreeBSD 4.x, because threading is not activated
 .endif
 
 pre-everything::
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/fltk/files/patch-FL-Fl_Spinner.H /root/ports/fltk/files/patch-FL-Fl_Spinner.H
--- /usr/ports/x11-toolkits/fltk/files/patch-FL-Fl_Spinner.H	Thu Jan  1 08:00:00 1970
+++ /root/ports/fltk/files/patch-FL-Fl_Spinner.H	Sun Jan 14 13:03:37 2007
@@ -0,0 +1,14 @@
+--- FL/Fl_Spinner.H.orig	Sun Jan 14 12:57:46 2007
++++ FL/Fl_Spinner.H	Sun Jan 14 12:58:41 2007
+@@ -127,9 +127,9 @@
+ 
+   const char	*format() { return (format_); }
+   void		format(const char *f) { format_ = f; update(); }
+-  double	maxinum() const { return (maximum_); }
++  double	maximum() const { return (maximum_); }
+   void		maximum(double m) { maximum_ = m; }
+-  double	mininum() const { return (minimum_); }
++  double	minimum() const { return (minimum_); }
+   void		minimum(double m) { minimum_ = m; }
+   void		range(double a, double b) { minimum_ = a; maximum_ = b; }
+   void		resize(int X, int Y, int W, int H) {
--- fltk-1.1.7_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list