summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-18 17:54:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-18 17:54:26 +0000
commit439af17b829ce3c8817127b5a6a0e9e6ef4de4f7 (patch)
treea8665ae4f67e68d022e5e8b28660f1fe48a510a7 /app-crypt/xca
parentppc stable #287362 (diff)
downloadhistorical-439af17b829ce3c8817127b5a6a0e9e6ef4de4f7.tar.gz
historical-439af17b829ce3c8817127b5a6a0e9e6ef4de4f7.tar.bz2
historical-439af17b829ce3c8817127b5a6a0e9e6ef4de4f7.zip
Fix building with GCC 4.4+ wrt #289608.
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/xca')
-rw-r--r--app-crypt/xca/ChangeLog6
-rw-r--r--app-crypt/xca/Manifest5
-rw-r--r--app-crypt/xca/files/xca-0.7.0-gcc44.patch11
-rw-r--r--app-crypt/xca/xca-0.7.0.ebuild5
4 files changed, 22 insertions, 5 deletions
diff --git a/app-crypt/xca/ChangeLog b/app-crypt/xca/ChangeLog
index 41ec46e90ddf..5d5dad00c7b7 100644
--- a/app-crypt/xca/ChangeLog
+++ b/app-crypt/xca/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/xca
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/ChangeLog,v 1.19 2009/10/03 20:11:18 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/ChangeLog,v 1.20 2009/10/18 17:54:26 ssuominen Exp $
+
+ 18 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> xca-0.7.0.ebuild,
+ +files/xca-0.7.0-gcc44.patch:
+ Fix building with GCC 4.4+ wrt #289608.
*xca-0.7.0 (03 Oct 2009)
diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest
index dd00f875e992..178df212c6d8 100644
--- a/app-crypt/xca/Manifest
+++ b/app-crypt/xca/Manifest
@@ -1,8 +1,9 @@
AUX xca-0.6.4-build.patch 1236 RMD160 6574b6ecbfe7cebc6073850f644ad4c1a9ace426 SHA1 66159df2766b1c99b4c610999191a863a88be09c SHA256 b5d20b02750808728ede57b28a3fff5f2adde6a0d101a1b38d136f8ea023192d
AUX xca-0.6.4-openssl.patch 628 RMD160 1478b6959461a355f633d1632ac09ae0a07babd6 SHA1 7400a2633c30e04ff998632d281af4c8a43db0c3 SHA256 0f23131b0042120958f0b000113aa4a2fcd6b6d8d68d07399de345559f46a2d5
+AUX xca-0.7.0-gcc44.patch 321 RMD160 755ba62c106be77e1651e4f8741766d458c3fa48 SHA1 5b693347176dea3eb95aa90f3c40c624a59ced31 SHA256 5b81091e032516bcaf73a8f1250f241bb667d048e8806f7060ad0f427d57aa57
DIST xca-0.6.4.tar.gz 266574 RMD160 15f8253bf2d80aac9053f52c189dabf5b73a5d6a SHA1 bc4ce3d1bbb988ba9bcd762a33084571c161b8a4 SHA256 63e5992d461cbea38fb5433c989ee1cc73d7dac5162e57d6e70a7735d9f80ed4
DIST xca-0.7.0.tar.gz 314707 RMD160 6c49624112f961847ca582768a6e36105495fd05 SHA1 72c8fbc0655060de57ffbbed24c79ab24818da87 SHA256 97029e20a25051136529ff9c196c2ee0b1088cda57fab882abe2f2035f423e26
EBUILD xca-0.6.4.ebuild 1376 RMD160 362ad88ad8e5ab78084416cf592f0dc449c5f97d SHA1 b72be8483ffbbaeaf2f567979ed94eb805be536c SHA256 5eda4894e0d67c74e23e49b8ceaf9a98039fd760b3d3985fffc2fc0b5fe2247b
-EBUILD xca-0.7.0.ebuild 1445 RMD160 e89a0206d08cead2177eddfb682d65c031721414 SHA1 0281a32674c8d2d30877cb296caf051ce938ac73 SHA256 f0f1c32aa45523c21c02d5512b494f52a7986da7dda0020ffc78918e72761376
-MISC ChangeLog 3525 RMD160 21144a5cab7d46c8b2c908496487c78ff88fb349 SHA1 298fbba73969afb06692a5407d7d827d035a0088 SHA256 fbc26895fba6d31d5bea188a80ba29df4b5dcc34ba6ba513845c60555f4e1f6f
+EBUILD xca-0.7.0.ebuild 1481 RMD160 7f722f836412fa919479e9c70f9da9bad455e03b SHA1 4c546299319b47e263fe1ecdf345f526c755c1b7 SHA256 7f8a3af6c329bbd25c3ba4c9956d78e5c47804a4163711c89c8eab1d8b05f498
+MISC ChangeLog 3673 RMD160 7c2ef17ea7102c984e6e4f8bccdb5508914c6cdf SHA1 d78baa433b4a92a2744ab93f8a1b803ddb5d52b1 SHA256 5d916af10deab829b04f6720ae74f84ef5fc964d5253758f3f758e5077e9ca05
MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
diff --git a/app-crypt/xca/files/xca-0.7.0-gcc44.patch b/app-crypt/xca/files/xca-0.7.0-gcc44.patch
new file mode 100644
index 000000000000..2889b6f00180
--- /dev/null
+++ b/app-crypt/xca/files/xca-0.7.0-gcc44.patch
@@ -0,0 +1,11 @@
+diff -ur xca-0.7.0.orig/lib/db.h xca-0.7.0/lib/db.h
+--- xca-0.7.0.orig/lib/db.h 2009-09-11 00:08:25.000000000 +0300
++++ xca-0.7.0/lib/db.h 2009-10-18 20:52:31.000000000 +0300
+@@ -8,6 +8,7 @@
+ #ifndef _XCA_DB_H_
+ #define _XCA_DB_H_
+
++#include <stdint.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
diff --git a/app-crypt/xca/xca-0.7.0.ebuild b/app-crypt/xca/xca-0.7.0.ebuild
index 7fee753ea689..4cfb68b3aaae 100644
--- a/app-crypt/xca/xca-0.7.0.ebuild
+++ b/app-crypt/xca/xca-0.7.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.7.0.ebuild,v 1.1 2009/10/03 20:11:18 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.7.0.ebuild,v 1.2 2009/10/18 17:54:26 ssuominen Exp $
EAPI="2"
@@ -27,7 +27,8 @@ DEPEND="${RDEPEND}
# 2. doc hacks.
src_prepare() {
- epatch "${FILESDIR}/${PN}-0.6.4-build.patch"
+ epatch "${FILESDIR}"/${PN}-0.6.4-build.patch \
+ "${FILESDIR}"/${P}-gcc44.patch
sed -e 's/$(LD) $(LDFLAGS)/$(LD) $(RAW_LDFLAGS)/' -i Makefile Rules.mak || die "sed failed"
}