Bug 173678 - [PATCH] security/gnupg1: fix build on more recent current
Summary: [PATCH] security/gnupg1: fix build on more recent current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 12:10 UTC by Steve Wills
Modified: 2012-12-27 14:10 UTC (History)
1 user (show)

See Also:


Attachments
gnupg-1.4.12.patch (551 bytes, patch)
2012-11-17 12:10 UTC, Steve Wills
no flags Details | Diff
gpg1_current.patch.txt (635 bytes, text/plain; charset=us-ascii)
2012-11-17 12:20 UTC, Steve Wills
no flags Details
gpg1_current.patch.txt.sig (287 bytes, application/octet-stream)
2012-11-17 12:20 UTC, Steve Wills
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Wills freebsd_committer freebsd_triage 2012-11-17 12:10:00 UTC
- Fix build after CLANG_IS_CC

Port maintainer (kuriyama@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-11-17 12:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Steve Wills freebsd_committer freebsd_triage 2012-11-17 12:20:42 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/17/12 07:10, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report. It has the internal
> identification `ports/173678'. The individual assigned to look at
> your report is: freebsd-ports-bugs.
> 
> You can access the state of your problem report at any time via
> this link:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=173678
> 
>> Category:       ports Responsible:    freebsd-ports-bugs 
>> Synopsis:       [PATCH] security/gnupg: fix build on more recent
>> current Arrival-Date:   Sat Nov 17 12:10:00 UTC 2012

Sorry, that patch was incomplete as it didnt' fix the issue on i386
systems. See attached updated patch.

Steve

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJQp4EZAAoJEPXPYrMgexuhofUH/jTJTcI9GbuF41OH6pROumUt
4lNCBTwvK7VglO3kq2Asr+Z/rYbZjwzkzsSWYh+nSv7rY7lcVLIsPJbsnfjCFicS
GJ/AIRSFstaYwsX91m+qyUNpvagXNlEs3510BKJDptZYWk712inbHLRqGXXklEXs
fZ9Aa9TOGoXRnZdk8pqCiDTUnuMpSpnv6euXKyzpsFtHDfP5gjzQaktsqUuO+Aiw
VWNQskBBADPKTQ5Wl7kTd0W8AYInOcli7H8/C10RaHt0pF/qEbJDNA4MmY00pMmH
hYDYh7z6WPvLByUTP+akQ6H/6rknd1qnwKGHRrTA39xW3Dr/BZkwZKilWkw9mbc=
=vZBv
-----END PGP SIGNATURE-----
Comment 3 Jun Kuriyama freebsd_committer freebsd_triage 2012-12-27 13:57:58 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-12-27 13:58:04 UTC
Author: kuriyama
Date: Thu Dec 27 13:57:57 2012
New Revision: 309541
URL: http://svnweb.freebsd.org/changeset/ports/309541

Log:
  - Fix build on more recent current.
  
  PR:		ports/173678
  Submitted by:	swills

Modified:
  head/security/gnupg1/Makefile

Modified: head/security/gnupg1/Makefile
==============================================================================
--- head/security/gnupg1/Makefile	Thu Dec 27 10:47:27 2012	(r309540)
+++ head/security/gnupg1/Makefile	Thu Dec 27 13:57:57 2012	(r309541)
@@ -19,9 +19,6 @@ GNU_CONFIGURE=	YES
 MACHINE_ARCH=	i586
 .endif
 CFLAGS:=	${CFLAGS:S/-pipe//g}
-.if ${CC} == "clang"
-CFLAGS:=	${CFLAGS:S/$/ -std=c89/}
-.endif
 MAN1=		gpg.1 gpgv.1 gpg.ru.1 gpg-zip.1
 MAN7=		gnupg.7
 INFO=		gnupg1
@@ -39,6 +36,13 @@ OPTIONS=	LDAP "LDAP keyserver interface"
 
 .include <bsd.port.pre.mk>
 
+.if ${CC} == "clang" || ${OSVERSION} >= 1000024
+CFLAGS:=	${CFLAGS:S/$/ -std=c89/}
+.if (${ARCH} == "i386")
+CFLAGS:=	${CFLAGS:S/$/ -fheinous-gnu-extensions/}
+.endif
+.endif
+
 .if defined(WITH_LIBICONV)
 USE_ICONV=	yes
 .else
_______________________________________________
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"