ports/144660: [patch] graphics/grx update to 2.4.8

Andrius Morkunas hinokind at gmail.com
Thu Mar 11 18:10:04 UTC 2010


>Number:         144660
>Category:       ports
>Synopsis:       [patch] graphics/grx update to 2.4.8
>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:   Thu Mar 11 18:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Andrius Morkunas
>Release:        
>Organization:
>Environment:
>Description:
Update graphics/grx 2.4.6 -> 2.4.8.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN graphics/grx.orig/Makefile graphics/grx/Makefile
--- graphics/grx.orig/Makefile	2010-02-05 11:38:39.000000000 +0000
+++ graphics/grx/Makefile	2010-03-11 09:32:33.445305491 +0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	grx
-PORTVERSION=	2.4.6
-PORTREVISION=	2
+PORTVERSION=	2.4.8
 CATEGORIES=	graphics
 MASTER_SITES=	http://grx.gnu.de/download/
 DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}
@@ -15,7 +14,6 @@
 MAINTAINER=	alepulver at FreeBSD.org
 COMMENT=	A 2D graphics library
 
-USE_GCC=	3.4
 USE_GMAKE=	yes
 USE_XORG=	x11
 USE_LDCONFIG=	yes
@@ -100,6 +98,10 @@
 CONFIGURE_ARGS+=--disable-zlib
 .endif
 
+.if ${ARCH} == amd64
+CONFIGURE_ARGS+=--enable-x86_64
+.endif
+
 post-patch:
 	@${GREP} -ERl '<(malloc|alloca)\.h>' ${WRKSRC} | ${XARGS} \
 		${REINPLACE_CMD} -Ee 's|<(malloc\|alloca)\.h>|<stdlib.h>|'
@@ -107,8 +109,10 @@
 		's|^(CC[[:blank:]]*=).*|\1 ${CC}|; \
 		 s|^(CCOPT =)|\1 ${CPPFLAGS} ${CFLAGS}|; \
 		 s|^(LDOPT =)|\1 ${LDFLAGS}|;' \
+		-e 's|lib64|lib|' \
 		${WRKSRC}/makedefs.grx
-	@${REINPLACE_CMD} -e 's/gcc/${CC}/' ${WRKSRC}/src/makefile.[lx]*
+	@${REINPLACE_CMD} -e 's/gcc/${CC}/' -e 's|lib64|lib|' \
+		 ${WRKSRC}/src/makefile.[lx]*
 
 post-install:
 .if defined(WITH_GPC)
diff -ruN graphics/grx.orig/distinfo graphics/grx/distinfo
--- graphics/grx.orig/distinfo	2006-07-03 00:33:34.000000000 +0000
+++ graphics/grx/distinfo	2010-03-02 11:59:59.523078923 +0000
@@ -1,3 +1,3 @@
-MD5 (grx246.tar.gz) = a9421e0256fa99a0f074ec75d99555e5
-SHA256 (grx246.tar.gz) = 96d5beb9101b3aaab1f4e0d5558391002fd118f60ee25b5963cbc381d8ba5caf
-SIZE (grx246.tar.gz) = 1550084
+MD5 (grx248.tar.gz) = c4fbeeef428a9dce6c3dc84ab8f574cb
+SHA256 (grx248.tar.gz) = 57e565689b7d0909f61818e9be0dbc14e6bceaa0b996ee84aca7fcb37a6733ed
+SIZE (grx248.tar.gz) = 1510074
diff -ruN graphics/grx.orig/pkg-plist graphics/grx/pkg-plist
--- graphics/grx.orig/pkg-plist	2006-08-03 23:53:41.000000000 +0000
+++ graphics/grx/pkg-plist	2010-03-11 09:43:45.105989370 +0000
@@ -10,7 +10,7 @@
 lib/libgrx20X.a
 lib/libgrx20X.so
 lib/libgrx20X.so.2
-lib/libgrx20X.so.2.4.6
+lib/libgrx20X.so.2.4.8
 %%DATADIR%%/fonts/char11.fnt
 %%DATADIR%%/fonts/char11b.fnt
 %%DATADIR%%/fonts/char11bi.fnt


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



More information about the freebsd-ports-bugs mailing list