Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2007 03:00:58 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/118593: Update port: graphics/fv to 1.02
Message-ID:  <20071213030058.7e687244.tkato432@yahoo.com>
Resent-Message-ID: <200712121830.lBCIU751034729@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         118593
>Category:       ports
>Synopsis:       Update port: graphics/fv to 1.02
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 12 18:30:06 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.2-RELEASE-p8 i386
>Organization:
>Environment:
>Description:
- Update to version 1.02

Remove file:
files/patch-common.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/fv/Makefile graphics/fv/Makefile
--- /usr/ports/graphics/fv/Makefile	Sun May 20 13:51:06 2007
+++ graphics/fv/Makefile	Thu Nov  1 23:40:25 2007
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	fv
-PORTVERSION=	1.01
-PORTREVISION=	2
+PORTVERSION=	1.02
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.eaflux.com/fv/sources/
 DISTNAME=	${PORTNAME}-src-${PORTVERSION}
@@ -15,25 +14,21 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A viewer of hdr/pfm images
 
-LIB_DEPENDS=	glut.4:${PORTSDIR}/graphics/libglut \
-		png.5:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
 
 USE_ZIP=	yes
-USE_GCC=	3.3+
-USE_GETOPT_LONG=yes
-USE_GL=		yes
-USE_X_PREFIX=	yes
+USE_GL=		glut
 
-PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	README
+PLIST_FILES=	bin/${PORTNAME}
 
 do-build:
-	${CXX} ${CXXFLAGS} -DNDEBUG -DHAVE_DECL_GETOPT -I${X11BASE}/include \
-		-I${LOCALBASE}/include -I${WRKSRC} ${CPPFLAGS} \
-		${PTHREAD_CFLAGS} ${LDFLAGS} -L${X11BASE}/lib \
-		-L${LOCALBASE}/lib -lpng -lz -lbz2 -lglut -lGLU -lGL -lXi \
-		-lXmu -lX11 -lXext -lSM -lm ${PTHREAD_LIBS} \
-		-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/*.c
+	cd ${BUILD_WRKSRC} \
+		&& ${CXX} ${CXXFLAGS} -DNDEBUG -I${WRKSRC} \
+		-I${LOCALBASE}/include ${CPPFLAGS} ${PTHREAD_CFLAGS} \
+		${LDFLAGS} -L${LOCALBASE}/lib -lpng -lz -lbz2 -lglut \
+		-lGLU -lGL -lXi -lXmu -lX11 -lXext -lSM -lm ${PTHREAD_LIBS} \
+		-o ${PORTNAME} *.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff -urN /usr/ports/graphics/fv/distinfo graphics/fv/distinfo
--- /usr/ports/graphics/fv/distinfo	Sun Jan 22 22:05:19 2006
+++ graphics/fv/distinfo	Thu Nov  1 23:40:47 2007
@@ -1,3 +1,3 @@
-MD5 (fv-src-1.01.zip) = 0ad6b8fda55f22dc1d0dc21c8fe6ae57
-SHA256 (fv-src-1.01.zip) = fa5de1af4d207abb24b0235ed0f8237cacfae100d52560ffd4f938c6084c48e7
-SIZE (fv-src-1.01.zip) = 41089
+MD5 (fv-src-1.02.zip) = e84ece1b1af1ec085966c02f829c67a9
+SHA256 (fv-src-1.02.zip) = 698b0423df4372390572d0cb2c4355999425f95e2fe6939f16998c4e7a1f9f58
+SIZE (fv-src-1.02.zip) = 42169
diff -urN /usr/ports/graphics/fv/files/patch-common.h graphics/fv/files/patch-common.h
--- /usr/ports/graphics/fv/files/patch-common.h	Thu Sep  8 06:08:22 2005
+++ graphics/fv/files/patch-common.h	Thu Jan  1 09:00:00 1970
@@ -1,15 +0,0 @@
---- common.h.orig
-+++ common.h
-@@ -38,7 +38,12 @@
- #include <fcntl.h>
- #include <map>
- #include <pthread.h>
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+#ifndef BSD
- #include <stdint.h>
-+#endif
- #include <string>
- #include <sys/stat.h>
- #include <sys/time.h>
>Release-Note:
>Audit-Trail:
>Unformatted:



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