From tkato432@yahoo.com  Sun Jun  2 18:01:11 2013
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id EE5F1F63
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun,  2 Jun 2013 18:00:54 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa104lp.auone-net.jp (msa104lp.auone-net.jp [222.3.140.167])
	by mx1.freebsd.org (Postfix) with ESMTP id C6CC711BB
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun,  2 Jun 2013 18:00:54 +0000 (UTC)
Received: from localhost.localdomain (ZT029100.ppp.dion.ne.jp [59.128.29.100])
	by msa104lp.auone-net.jp (au one net msa) with ESMTP id 1E15E2BC03B
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon,  3 Jun 2013 03:00:52 +0900 (JST)
Message-Id: <20130603025058.393492e28fac3c0d3591c2d8@yahoo.com>
Date: Mon, 3 Jun 2013 02:50:58 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: graphics/kdc2tiff: Fix build with clang

>Number:         179218
>Category:       ports
>Synopsis:       graphics/kdc2tiff: Fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 02 18:10:03 UTC 2013
>Closed-Date:    Tue Jun 04 08:45:46 UTC 2013
>Last-Modified:  Tue Jun  4 08:50:00 UTC 2013
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build with clang
- Add LICENSE
- Add MAKE_JOBS_SAFE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/kdc2tiff/Makefile graphics/kdc2tiff/Makefile
--- /usr/ports/graphics/kdc2tiff/Makefile	2012-11-08 09:43:38.000000000 +0900
+++ graphics/kdc2tiff/Makefile	2013-06-03 00:00:00.000000000 +0900
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	kdc2tiff
-# Date created:				Tue 04 Jul 2000
-# Whom:					will
-#
+# Created by: will
 # $FreeBSD: head/graphics/kdc2tiff/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	kdc2tiff
 PORTVERSION=	0.35
@@ -14,14 +10,22 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Converts Kodak .kdc to TIFF or JPEG formats
 
-LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
-		tiff.4:${PORTSDIR}/graphics/tiff
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
+		tiff:${PORTSDIR}/graphics/tiff
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
+
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 PLIST_FILES=	bin/kdc2jpeg bin/kdc2tiff
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^main|int main|' ${WRKSRC}/kdc2tiff.cpp
+
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 2 18:10:58 UTC 2013 
Responsible-Changed-Why:  
miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179218 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Jun 4 08:45:45 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179218 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179218: commit references a PR
Date: Tue,  4 Jun 2013 08:45:50 +0000 (UTC)

 Author: miwi
 Date: Tue Jun  4 08:45:42 2013
 New Revision: 319836
 URL: http://svnweb.freebsd.org/changeset/ports/319836
 
 Log:
   - Fix build with clang
   - Add LICENSE
   - Add MAKE_JOBS_SAFE
   
   PR:		179218
   Submitted by:	ports fury
 
 Modified:
   head/graphics/kdc2tiff/Makefile   (contents, props changed)
 
 Modified: head/graphics/kdc2tiff/Makefile
 ==============================================================================
 --- head/graphics/kdc2tiff/Makefile	Tue Jun  4 08:26:46 2013	(r319835)
 +++ head/graphics/kdc2tiff/Makefile	Tue Jun  4 08:45:42 2013	(r319836)
 @@ -1,9 +1,5 @@
 -# New ports collection makefile for:	kdc2tiff
 -# Date created:				Tue 04 Jul 2000
 -# Whom:					will
 -#
 +# Created by: will
  # $FreeBSD$
 -#
  
  PORTNAME=	kdc2tiff
  PORTVERSION=	0.35
 @@ -14,14 +10,22 @@ MASTER_SITES=	SF
  MAINTAINER=	ports@FreeBSD.org
  COMMENT=	Converts Kodak .kdc to TIFF or JPEG formats
  
 -LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
 -		tiff.4:${PORTSDIR}/graphics/tiff
 +LICENSE=	GPLv2
 +
 +LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
 +		tiff:${PORTSDIR}/graphics/tiff
  
  USE_GMAKE=	yes
  GNU_CONFIGURE=	yes
 +MAKE_JOBS_SAFE=	yes
 +
  CPPFLAGS+=	-I${LOCALBASE}/include
  LDFLAGS+=	-L${LOCALBASE}/lib
  
  PLIST_FILES=	bin/kdc2jpeg bin/kdc2tiff
  
 +post-patch:
 +	@${REINPLACE_CMD} -e \
 +		's|^main|int main|' ${WRKSRC}/kdc2tiff.cpp
 +
  .include <bsd.port.mk>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
