[Pkg-gnutls-commits] r1319 - in /packages/p11-kit/trunk/debian: changelog rules

ametzler at users.alioth.debian.org ametzler at users.alioth.debian.org
Sat Nov 12 08:21:18 UTC 2011


Author: ametzler
Date: Sat Nov 12 08:21:17 2011
New Revision: 1319

URL: http://svn.debian.org/wsvn/pkg-gnutls/?sc=1&rev=1319
Log:
Build with -D_GNU_SOURCE on DEB_BUILD_ARCH_OS != linux. Works around
647823 and Closes: #647229

Modified:
    packages/p11-kit/trunk/debian/changelog
    packages/p11-kit/trunk/debian/rules

Modified: packages/p11-kit/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/p11-kit/trunk/debian/changelog?rev=1319&op=diff
==============================================================================
--- packages/p11-kit/trunk/debian/changelog (original)
+++ packages/p11-kit/trunk/debian/changelog Sat Nov 12 08:21:17 2011
@@ -1,8 +1,9 @@
-p11-kit (0.8-2) UNRELEASED; urgency=low
+p11-kit (0.8-2) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * Build with -D_GNU_SOURCE on DEB_BUILD_ARCH_OS != linux. Works around
+    647823 and Closes: #647229
 
- -- Andreas Metzler <ametzler at debian.org>  Mon, 31 Oct 2011 14:49:39 +0100
+ -- Andreas Metzler <ametzler at debian.org>  Sat, 12 Nov 2011 08:58:27 +0100
 
 p11-kit (0.8-1) unstable; urgency=low
 

Modified: packages/p11-kit/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/p11-kit/trunk/debian/rules?rev=1319&op=diff
==============================================================================
--- packages/p11-kit/trunk/debian/rules (original)
+++ packages/p11-kit/trunk/debian/rules Sat Nov 12 08:21:17 2011
@@ -1,6 +1,11 @@
 #!/usr/bin/make -f
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+ifeq (,$(filter $(DEB_BUILD_ARCH_OS),linux))
+	CPPFLAGS += -D_GNU_SOURCE
+	export CPPFLAGS
+endif
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1




More information about the Pkg-gnutls-commits mailing list