1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- update to snapshot r9166

- maintainer sends port back to ports@

PR:		162297
Submitted by:	maintainer
Approved by:	maintainer(tmseck@web.de), gabor(mentor)
Feature safe:	yes
This commit is contained in:
Michael Scheidell 2011-12-03 18:51:57 +00:00
parent cda6b3488f
commit 37a9bb6057
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286815
3 changed files with 33 additions and 31 deletions

View File

@ -10,11 +10,17 @@ PORTVERSION= 2.0.${SNAPSHOT}
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_EASYSW}
MASTER_SITE_SUBDIR= fltk/snapshots
DISTNAME= fltk-2.0.x-${SNAPSHOT}
DISTNAME= fltk-2.0.x-alpha-${SNAPSHOT}
MAINTAINER= tmseck@web.de
MAINTAINER= ports@freebsd.org
COMMENT= Fast Light Toolkit version 2 (development snapshot)
LICENSE= FLTK
LICENSE_GROUPS= GPL
LICENSE_NAME= FLTK License
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
# XXX:
# FLTK2's configure script tries to find out whether the running X server
# supports overlay visuals; this is a bit difficult to find out if you
@ -28,7 +34,7 @@ BUILD_DEPENDS= xprop:${PORTSDIR}/x11/xprop
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg
SNAPSHOT= r7725
SNAPSHOT= r9166
OPTIONS= FLTK_THREADS "Install with threads support" on \
FLTK_CAIRO "Use cairo as graphics backend" off \
@ -44,12 +50,6 @@ USE_GL= yes
USE_XORG= xcursor xft xi
GNU_CONFIGURE= yes
LICENSE= FLTK
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_GROUPS= GPL
LICENSE_NAME= FLTK License
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@ -84,15 +84,28 @@ CONFIGURE_ARGS+= --disable-cairo
.endif
.if defined(WITH_FLTK_EXAMPLES) && !defined (NOPORTEXAMPLES)
example_apps= ansiwidget arc bitmap boxtype browser button buttons cairo \
checkers clock color_chooser cube CubeView cursor curve \
demo doublebuffer drawing drawtiming editor exception \
file_chooser fonts fractals fullscreen gl_overlay glpuzzle \
hello image inactive input keyboard label line_style list \
list_visuals mandelbrot menu message monitors navigation \
output pack pixmap progress qubix radio resizable resizealign \
scroll shape sizes symbols tabs threads tile timer \
utf valuators wizard
example_apps= ansiwidget arc \
bitmap boxtype browser button buttons \
cairo callbacks checkers clock color_chooser cube \
CubeView cursor curve \
demo doublebuffer drawing drawtiming \
editor exception \
file_chooser fonts fractals fullscreen \
gl_overlay glpuzzle \
hello \
image image_transform inactive input \
keyboard \
label line_style list list_visuals \
mandelbrot menu message monitors \
navigation \
output \
pack pixmap progress \
qubix \
radio resizable resizealign \
scroll shape sizes subwindow symbols \
tabs threads tile timer \
utf \
valuators wizard
example_data= demo.menu
example_img= images/ulon.bmp
PORTEXAMPLES= *

View File

@ -1,2 +1,2 @@
SHA256 (fltk-2.0.x-r7725.tar.bz2) = 45a064cb882b7c84026722936c92d0b689f686159a55f68662b3b3080ac37a66
SIZE (fltk-2.0.x-r7725.tar.bz2) = 2529067
SHA256 (fltk-2.0.x-alpha-r9166.tar.bz2) = e68c3ef3599c3e215db4011c3e68f61b155e7c05e2f220c188f14adb0a8d604b
SIZE (fltk-2.0.x-alpha-r9166.tar.bz2) = 2656645

View File

@ -1,11 +0,0 @@
--- images/fl_png.cxx.orig 2007-04-16 16:48:06.000000000 +0200
+++ images/fl_png.cxx 2010-03-29 19:55:26.000000000 +0200
@@ -62,7 +62,7 @@
#if !HAVE_LIBPNG
return 0;
#else
- return png_check_sig((png_byte*)datas, (int)size)!=0;
+ return !png_sig_cmp((png_byte*)datas, 0, (int)size)!=0;
#endif
}