summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2013-02-28 14:47:09 +0000
committerNaohiro Aota <naota@gentoo.org>2013-02-28 14:47:09 +0000
commit1b38cdfda9c047e171217bb0d6c5ab5b5d734511 (patch)
tree537a66cbadfdb23a9a03c7ea40721db9dea5a4dc /sys-apps
parentStable for HPPA (bug #457688). (diff)
downloadhistorical-1b38cdfda9c047e171217bb0d6c5ab5b5d734511.tar.gz
historical-1b38cdfda9c047e171217bb0d6c5ab5b5d734511.tar.bz2
historical-1b38cdfda9c047e171217bb0d6c5ab5b5d734511.zip
Add minor fix patch
Package-Manager: portage-2.1.11.52/cvs/Linux x86_64 Manifest-Sign-Key: 0xF8551514
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/ccs-tools/ChangeLog7
-rw-r--r--sys-apps/ccs-tools/Manifest31
-rw-r--r--sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild3
-rw-r--r--sys-apps/ccs-tools/files/ccs-tools-1.8.3_p20130214-warnings.patch22
4 files changed, 46 insertions, 17 deletions
diff --git a/sys-apps/ccs-tools/ChangeLog b/sys-apps/ccs-tools/ChangeLog
index 2e931e40e0aa..1d54b3ad620b 100644
--- a/sys-apps/ccs-tools/ChangeLog
+++ b/sys-apps/ccs-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/ccs-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.15 2013/02/26 12:00:27 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.16 2013/02/28 14:46:54 naota Exp $
+
+ 28 Feb 2013; Naohiro Aota <naota@gentoo.org>
+ +files/ccs-tools-1.8.3_p20130214-warnings.patch,
+ ccs-tools-1.8.3_p20130214.ebuild:
+ Add minor fix patch
*ccs-tools-1.8.3_p20130214 (26 Feb 2013)
diff --git a/sys-apps/ccs-tools/Manifest b/sys-apps/ccs-tools/Manifest
index 3a804ecac382..07a2aff96f34 100644
--- a/sys-apps/ccs-tools/Manifest
+++ b/sys-apps/ccs-tools/Manifest
@@ -2,26 +2,27 @@
Hash: SHA256
AUX ccs-tools-1.8.3_p20120414-ldflags.patch 1798 SHA256 9edc30435a916b030bc30df23cb61a593e278cb9f5bd7b7c7622d338469e3a52 SHA512 b535fa907f7552297ebb90350bdb0cdee8dea6577b4bdbf058a5f4b6fd5bbe10c07a762ed3a2f7f76d0245fc5eebb7f590c4c6bf88e1e61bdb3ccfdc7c8f0fd2 WHIRLPOOL 9be0181f89387e554f2fb92ba07695850b8172d312375f83d0cabd4049efa5ca08e24f70d30da3939a5a4187b169ee2d34660ed1620a6bb37e8fb4fdfa40e45d
+AUX ccs-tools-1.8.3_p20130214-warnings.patch 814 SHA256 d909698fe20d568efbb28828f261a4316c05725180ace3b1d1841a13a134eda4 SHA512 947caa5ce7f2c80e7e0b40042b09568c4fed731b530cf70c1fa24fa0f1a382dd41443f3db82a6aa6444c0ebcd25fd7de657c0f1990d69579e4645f3efa561e10 WHIRLPOOL 11a771b7857e37df98c289c11e79daed573bcbf56068d855d5511bfd7c16a8bbb60d98670862c1500d9246aa3fc4ca4a95e2b724a919b9dfd73c13142e0f60ee
DIST ccs-tools-1.8.3-20120414.tar.gz 227176 SHA256 41f8a3226c3f7fee27c6bd068dae4704b9dafa114a6564668520ee48c9127d85
DIST ccs-tools-1.8.3-20130214.tar.gz 227657 SHA256 56bb03f1977346f4c7dc3a0c5da8df4a0451a79558c26564478cb87fbf3e3ade SHA512 256adf873dd99b811f5cf55e6b74e1ccdc2e54a2399724b694f22825c4d5e3167e7768bddc4952363ef835ec2b8405d5704572a9b9e214f3102bf594374325ba WHIRLPOOL d7f200842a10ca2c83a46a933beb7c70436ea36c8aad3569c33392a11360b88dbf7589ac720994fec9d5c49c46f1e1c9f97ec320d2057680a6bb0edf13c066eb
EBUILD ccs-tools-1.8.3_p20120414.ebuild 1543 SHA256 f24f260934588515840e9dead1cfbfadbb51e2b815fcc6108b5db26b068ba871 SHA512 3b55ac8e836c089f4867ad14a707097a8d1e1deb9007a1622333a7d5003d48cb73ec7e709d66b42fd45442e88b02853014b37837d23fc46e9e991437432bce5e WHIRLPOOL 51e483a880697cae91bcafd16cc0e9e75c99271e8e1edccb5676fb18be9cc1085cacb1988f10a4a2c3e168ee55f06b1f46470026d32c46df4d52d5ed7b8dae8a
-EBUILD ccs-tools-1.8.3_p20130214.ebuild 1502 SHA256 32969cab33407e9cde993046897e86a0a9afcfb71002b85866a40b8486e6b279 SHA512 3826898fadba895620a20538e07e753c6a5a0129218b302af2ecf0cec0e77babceed11a2fc55d7a9c3df7b685a1f2ea2f1d6810ebcb23ba8d000cd0670f1c255 WHIRLPOOL 9c80a1f8a962ee896146515ab5d958405fbd46401c3bad08a6036abf15c1da9467ff31ba4feff677db313449eeb6cebdb87a193b2e38308e67ac2fadc489cdf3
-MISC ChangeLog 3389 SHA256 d9aa51c212ef15145f8c47528e00565de2e7a4fcfc49873513053ac55b7848f9 SHA512 21c267fe082ed933ae0987541b11b66e0a0076d454966ab6c689b4afe5bf146c18255b49c6239dac193cf6faf54dbb75e543921d5c125869307afcee4f9561aa WHIRLPOOL a3a6608b65f6e1f314e15ecf37ad367af961dc7946b2e479bda07f4c30152f206ea8ad079c9fee7a643b8b161852815be8a06fd10ec078a3cdd4f06622746d37
+EBUILD ccs-tools-1.8.3_p20130214.ebuild 1544 SHA256 417d3436fd3c89b389994c7d28b2d9eb74ef6e80b4ca2b3382731a56aab2db02 SHA512 734316d53588203009f78090aee1635840c2b15667bacdb21cbcf19fc6f766525ebdf15b40ac359cc5a19e8afb2f92868fa0ab3d9a59529527bb284f67fac5e0 WHIRLPOOL bfc31a0c1f6dccf3db58bb3389df60d5b6546d116551c5ea2b450dd1c42fe17b11a7d77329d1e83102951fc960d01c9ece3e5912f23cadf6ae1dcd1d251e95ef
+MISC ChangeLog 3546 SHA256 df95a0b73747ef3f6faa9e8678c7ef4abe482b898a2b6612b84cde77dc83a617 SHA512 dd4d6b04ba05901c9911835c77d72bbd92c7613b1958e20d7f7fa61d6c39c900b2f802352299de2db0e17a6672f7c9ed67e12f01f5a0f360a200493dde9020df WHIRLPOOL 359d612db0260c34c72080dbbc44bbc30f8bc412ce8f52590b1c8c69d1835d4d2f51accaf2e43c3df7f29d4d4b0eb644383f603dfec75e117ad131f0c8140e54
MISC metadata.xml 211 SHA256 a1bb8d76bdbe2da71b9cc04ecaa254f575552aaf5b7e94e9e04b131a32392c3f SHA512 0f6138e9843c5ebe51905db7d461da54073a88a74d938fb1d59d7f077f90002d0d785a883d70b640fa81c1c5b20dc5b9ffd969966f1cd13db71d697372e6f573 WHIRLPOOL 596d2e7e8e9245273188e0b865b481131f71853cf3313d58258266e461fde4ea22af8e992ee301e8f179a612e2a839f09f8ed504c7d086fde70f906d63c726f9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJRLKPjAAoJEDYO1FT4VRUU1SYQAJzQi3aL3IIPap2u2v4QkpcW
-+YesGLN8igvCTu2H8pj46DD+eJKi63i7obQyejAdM5y5dmH9wuV+VyTbUDvSW0jq
-nK+DZFCLICta7UVJbeM5+CYITDix8Y5fZSwr/QlY+83/HVNkULfggsdL4nldxx6z
-XAQgzfU6SX6f05ExwntdHGizoPBbG/ReVRq0Drl1GzPkXusx0+66/iDSRyC6JAdo
-DBEFRvwWEUBKfsQte2xMx3Hy2RzBq/WsP4vYSlHlHmNzEgxm8/lf1vRSe1xTaTUE
-JgiAuU/ULDpXl1w1patZTHPEso3XNh1zl7idANX4lDmqwxNdDWuqXVuN/Or0Oxta
-dmmiTXFTEyFUx/xD9bdu9TayvEFbWqNUCc5Z/Dy9vcm8WX/sFtI1pUXbz8Bm7Ldc
-rALH00HfyVmOgvpAeb/2NJuG88GegZMm5pBbWzPoAMT7m+B1mAIe0nyZq7BJndat
-At0xNRTG6HSprptHTYHLB/A7Akm1NWmBgfvSj2mLmMlPESWoPIJjlnVCyOAoZ7/8
-h1AMJid7zXk8M2POTBsZcrQhi1+hJpO9xTV/zz57OI68Fr8ipOtfucwHXltZ41q6
-/26DrqaKpZ1QiTawR3adTCN3YJv9oU9PYZ49EBc3nYOe9zi8ojnLw4vLe+P9/UR7
-GlJRg67XatkJfy+V6ePr
-=5Dnq
+iQIcBAEBCAAGBQJRL23nAAoJEDYO1FT4VRUUOPIP/2jQx7rJVzw2hu4AK7yJRFYY
+noY4J0Wtc82og6PJjULtxPByMtBzNHXHNTHAuJg3rJlTVyFuAJOCn+P6gD45uEKU
+HxAiYMXc9T0fxfn7sJMOkGiON6FXnRCZLiuyookFcILOGlBvJ5exLRiHqKgUfT+f
+2vWmY0cwMKReuJq1gRjGUhCDVrlt9x0r684SokbYmlpE//yE3oF6RcP9CAnE+jNA
+hfpG52pd00q1/jy1Bc4UOpHFp15WsPvv/Ha/nCij4dyDeR0B9bW9ltD77SRZ7if9
+HF60VZEatc1GMNDUHFGk6AZJF0Tt2WRiDkQ38uQ2lVcZjVa1l0tFS9HC5x7rvjpH
+Cf7y+0657Qt6jLRB8RU7PJhN2x2aZJ3db+XXV579WsQ5z9EP0WPkQfWc7l7wYpg/
+shFEfh4CtNSJGIFFItt3vH5bQVpIDq5Z3opb5I8BfXX+zk832y7mK3q4NPelILJn
+P9QcnF7aP7RlpTWRKGZ+gX0TqsF7fPq3cPxgemtNtV+GHAulMxVdKXKzUSye3PUq
+QrvOznNSxQXAD6mHpg5KXDvYGVIde2CssNis+tBSrkfrqlL7jNURlEBQst+LEhJM
+RpE8ArNlL0NYACiwfhUZTJH7yiF8McYhrIMA0ilPynaPgX2GandtOicQB9a1DJrR
+ohor487qBVdsCzWjQ7t5
+=iwH5
-----END PGP SIGNATURE-----
diff --git a/sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild b/sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild
index b2dfe91595cc..dd44a67c3b4a 100644
--- a/sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild
+++ b/sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild,v 1.1 2013/02/26 12:00:27 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ccs-tools-1.8.3_p20130214.ebuild,v 1.2 2013/02/28 14:46:54 naota Exp $
EAPI=3
inherit eutils multilib toolchain-funcs
@@ -25,6 +25,7 @@ RDEPEND="${DEPEND}
S="${WORKDIR}/ccs-tools"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-warnings.patch
sed -i \
-e "s:gcc:$(tc-getCC):" \
-e "s/\(CFLAGS.*:=\).*/\1 ${CFLAGS}/" \
diff --git a/sys-apps/ccs-tools/files/ccs-tools-1.8.3_p20130214-warnings.patch b/sys-apps/ccs-tools/files/ccs-tools-1.8.3_p20130214-warnings.patch
new file mode 100644
index 000000000000..8201093bbecb
--- /dev/null
+++ b/sys-apps/ccs-tools/files/ccs-tools-1.8.3_p20130214-warnings.patch
@@ -0,0 +1,22 @@
+diff --git a/usr_sbin/editpolicy_offline.c b/usr_sbin/editpolicy_offline.c
+index dbbd11e..e699cf4 100644
+--- a/usr_sbin/editpolicy_offline.c
++++ b/usr_sbin/editpolicy_offline.c
+@@ -2882,7 +2882,7 @@ static bool ccs_parse_ipaddr_union(struct ccs_acl_param *param,
+ struct ccs_ipaddr_union *ptr)
+ {
+ struct ccs_ip_address_entry e;
+- memset(ptr, 0, sizeof(ptr));
++ memset(ptr, 0, sizeof(*ptr));
+ if (ccs_parse_ip(ccs_read_token(param), &e) == 0) {
+ memmove(&ptr->ip[0], e.min, sizeof(ptr->ip[0]));
+ memmove(&ptr->ip[1], e.max, sizeof(ptr->ip[1]));
+@@ -4745,7 +4745,7 @@ static void ccs_write_control(char *buffer, const size_t buffer_len)
+ *
+ * Returns nothing.
+ */
+-static void ccs_editpolicy_offline_init(coid)
++static void ccs_editpolicy_offline_init(void)
+ {
+ static _Bool first = true;
+ int i;