ports/184887: security/gsfv: Fix build with clang

KATO Tsuguru tkato432 at yahoo.com
Mon Dec 16 18:10:25 UTC 2013


>Number:         184887
>Category:       ports
>Synopsis:       security/gsfv: Fix build with clang
>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:   Mon Dec 16 18:10:24 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Fix build with clang
- Add LICENSE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/security/gsfv/Makefile security/gsfv/Makefile
--- /usr/ports/security/gsfv/Makefile	2013-11-20 04:13:48.000000000 +0900
+++ security/gsfv/Makefile	2013-12-17 00:00:00.000000000 +0900
@@ -5,14 +5,20 @@
 PORTVERSION=	0.2.1
 PORTREVISION=	4
 CATEGORIES=	security
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	ijliao
+MASTER_SITES=	LOCAL/ijliao
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Create or verify Simple File Verification (SFV) checksum files
 
-PLIST_FILES=	bin/gsfv
+LICENSE=	BSD
+
 USE_GNOME=	gtk12
 GNU_CONFIGURE=	yes
 
+PLIST_FILES=	bin/gsfv
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|\([[:blank:]]\)log|\1bb_log|' ${WRKSRC}/src/backbone.c
+
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list