summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-02-01 04:07:28 +0000
committerTim Harder <radhermit@gentoo.org>2013-02-01 04:07:28 +0000
commitaf8048cfa288142e54af648b882c93bdc6feb9fe (patch)
tree1e41df9faf0a1abae71ec4ba7197741f512d556d /net-news/newsbeuter
parentInitial commit, ebuild based on #343213 by Guido Jaekel (diff)
downloadhistorical-af8048cfa288142e54af648b882c93bdc6feb9fe.tar.gz
historical-af8048cfa288142e54af648b882c93bdc6feb9fe.tar.bz2
historical-af8048cfa288142e54af648b882c93bdc6feb9fe.zip
Fix build with json-c-0.10 (bug #454940).
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'net-news/newsbeuter')
-rw-r--r--net-news/newsbeuter/ChangeLog8
-rw-r--r--net-news/newsbeuter/Manifest19
-rw-r--r--net-news/newsbeuter/files/newsbeuter-2.5-boolean.patch25
-rw-r--r--net-news/newsbeuter/newsbeuter-2.5.ebuild5
4 files changed, 44 insertions, 13 deletions
diff --git a/net-news/newsbeuter/ChangeLog b/net-news/newsbeuter/ChangeLog
index 127bf649d4a2..0fb580c2a745 100644
--- a/net-news/newsbeuter/ChangeLog
+++ b/net-news/newsbeuter/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-news/newsbeuter
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.40 2012/09/15 07:01:06 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.41 2013/02/01 04:07:24 radhermit Exp $
+
+ 01 Feb 2013; Tim Harder <radhermit@gentoo.org> newsbeuter-2.5.ebuild,
+ +files/newsbeuter-2.5-boolean.patch:
+ Fix build with json-c-0.10 (bug #454940).
15 Sep 2012; Tim Harder <radhermit@gentoo.org> -newsbeuter-2.4.ebuild:
Remove old.
diff --git a/net-news/newsbeuter/Manifest b/net-news/newsbeuter/Manifest
index d548b80d1b0a..4bababee0bee 100644
--- a/net-news/newsbeuter/Manifest
+++ b/net-news/newsbeuter/Manifest
@@ -1,19 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX newsbeuter-2.5-boolean.patch 952 SHA256 edbc21385463710491fc3e4f68d34842ca3c70e3f11d0aaaef02664231f9bb9c SHA512 f94fb6740b3135583b66e6d2df12e779d89f03c07a03939b68b6bb375d4312b65a01f755cab9ac1743d12a8a770958352215849dd18e4a847db80dfe7713fae2 WHIRLPOOL 6673dfb983f6940a0012f3b6225549c74a309d4ddc4d635603d265fd8634553001573ad63dd81bb973b9669de4199cbd195f55f2b07eae82fd89da36853f2518
AUX newsbeuter-2.5-gcc47.patch 1354 SHA256 c48029c63cfc45d5df3bdbc4c9fd345463a61ad97f6eac797db62d63c49c6af8 SHA512 c9ccd0722d98ddd75a642aa8f5733fb6937f40ad7f019b9f5f4d8171c566bc9894b76273d89daa9d68060b63e325c47fd608dab0dc5764950c2c96f602164e13 WHIRLPOOL dcba4222da6dc495217ab1d1cd23d6882eb7ddd1de28d6726a99e46baea48abca78896d71db0f944c0e63c05a150e0f0607bd91c838660f0560d8b279905261e
DIST newsbeuter-2.5.tar.gz 394183 SHA256 abc54b7bee3e062cd166787edf35aadbeb0ae1f5fcc8d955b77143aaca096825 SHA512 95c01cd4b98daf715d6f191117bb4219d4c76345e7a8ad32e595c3b81f78d7b61b0afd4ac34cb3d91f28f6e16bc91a0580c1494d9103726dc0ad96ee6f2daae7 WHIRLPOOL 3db2cba2c47a0ad1c07fbbc32db5d4e0247a7e1603fd12aec8597350824dc633d0ecf8e7c1fdd2338b1117ecdd5caa9cb40d009e3e8087173471672d6950e079
-EBUILD newsbeuter-2.5.ebuild 1183 SHA256 9d71dfa38826c7d8f1901879317588d980ea20da39255dd44e864b8719d62f68 SHA512 25593cb1b5be877ab50be72b368269b7902592b4f71cbe43e18e41f55ff200f08a03f38137416446cb05967bfc09f8027b0418b23cfe6f97e4a51c341bec5402 WHIRLPOOL d131334bc18d71394a83e7ef9e164b113d57fe316ace82f22c7e6538f5f5f758e158589f78e08ee10b5fb657c8bbdff1ef7006564ec162a3a1b3c22a21f950ad
-MISC ChangeLog 6077 SHA256 dc47e3635037315f51c669e3bfe2007780d3156a3f86e9e10ba93c58051ac620 SHA512 f858c37c86e62832fb96420a33c03085f1ce93e7e2488b656db8693da509a4cc6d3c71508d8255e7ac15f845dd8acb38345527fb056a0764e24c052801ff84a6 WHIRLPOOL 5ce9bc0c277ae8c028c6531855fd26d3ed7481be909fdb331d2faa41148cbc0cf0cba59d13e757939ae346cdc7f004f94eaad104fce641d690867e0b89ae6037
+EBUILD newsbeuter-2.5.ebuild 1224 SHA256 37211489bbb3fa4383a971dfd79874e27f61da22686e1fddf73fbef0e7c35cd1 SHA512 b9fb20f0292d2919cff51a81309c5f5aefbf4868d7c4cf03c6452023ddfeeaf3aa81be2b3c1ecd7e70e604376a0955ef60e9aa96c72c454fa348b22ef70db885 WHIRLPOOL 85a4fd52e0e354ab1f87997d532bb76ddcd6509038ea64f2e844f1cdcb42811856dc44e4877179cf0c3ea985447715dc82ea287204b1c6e5ea2df0efe31c795b
+MISC ChangeLog 6233 SHA256 1baa868fc6b00c6094885a6e0824cfe903cd8ab024599c3aaac3ed97dc1c91cb SHA512 dbfface1fec3e0911864b3dd86fabd98f20ef73e0683f437293a05dd46f739db29993a2d532c1fa4c545ea9fda382bfbb6df2ed38dbdc3a603d40617407a3a76 WHIRLPOOL e8cb1d6218aba630d7f0d4f629105f6e4b9929a3421b7a2ad118ff205ec9dc96ff9376b56692efd8af5d73052f5728ba88b147deb2522c04597fb728a12196ce
MISC metadata.xml 405 SHA256 72d5989efe3e9aa0fc0102ce2a3cd62af3a3b40beaeb42d9321149ca02387a15 SHA512 62694bdd8d3c988d48945c6ae926e20509fcc660d2584a69adcafad2c6abaa810364603ab5ca3b79cac128a2cb31486cac4b9b2903117ae73bf6e283145289dc WHIRLPOOL 6c5473ea7fe0652e0c8890ec81e4043e2b55b1cc46054e8c6b7a1575a190669b33d6012c9e30e1574696d562936684fa1ba086309355265fe47d948af7a1517f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQVCe4AAoJEEqz6FtPBkyjNn4IAIdRgQ8UEklpHD5XRzSyhaLR
-ageitmGOdpfDXk1ggp/TZ1NOUTavoMlQenFLDA1Eljt1qWYT8QxgwLF30kWn+XKU
-Tg9m3JaqxJq1V0MXqsWuaTilXXT93tsr16u0iRE0Kf3q+CZcmWmvDkaHQBdV3Pbr
-EgenMw+AwjeAhE/diihyQAiWCmR+V5nTXVGmhUWp0dmsI92zfsovvEl7UTjjKlvQ
-+FbrLaFCX0akiO7YmGF283wqhWl2Af6QXD75Dq7j1QXAqs+rNG+zbeHPag0Mprr1
-wGNqZSYpzDA+q3r7q1E1EPnx08mC2pJLV6pDJqU+TTKoHm5YffdboCczSaq+HHk=
-=2KCF
+iQEcBAEBCAAGBQJRCz9/AAoJEEqz6FtPBkyjIoIH/0C452BnBqbWYtuQkhs188m9
+2dfBdyuwymNm7Cr+s7BpC/3YHG0Eh1jULM0wHo7TMiBUKBptSfKQJtC1HIHQ8KYh
+eOfnog+uyOwetWchd9jRGxwqI1eYFFW9snpfMq0mygW8TL3bhskQeDsQCN7UeL24
+zHbprUJYxdvdOmUI/CTq+qAwAG11/sk3NpeEkowDj7Yj+Oy+6GdiWYBGwbvgZ98F
+h+2jvWbIT4sQl37qyS1OxqSC0H5aLA84rNcLBHABJvsFd1Xu8ejRmCyKFIAiQk7y
+gG96gKUJHxlKEKO4HjDUeYMzahyWkGEXiZ3NG0hLSzy1Y0u62gQnoRVnbgKxIZ4=
+=h2h0
-----END PGP SIGNATURE-----
diff --git a/net-news/newsbeuter/files/newsbeuter-2.5-boolean.patch b/net-news/newsbeuter/files/newsbeuter-2.5-boolean.patch
new file mode 100644
index 000000000000..cee31aa8abcb
--- /dev/null
+++ b/net-news/newsbeuter/files/newsbeuter-2.5-boolean.patch
@@ -0,0 +1,25 @@
+From fb9ad743e3f6fea5ae6302de591ad909c892e771 Mon Sep 17 00:00:00 2001
+From: posativ <info@posativ.org>
+Date: Fri, 2 Nov 2012 23:49:44 +0100
+Subject: [PATCH] boolean -> bool
+
+---
+ src/ttrss_api.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ttrss_api.cpp b/src/ttrss_api.cpp
+index 2cb36d4..0b7ac21 100644
+--- a/src/ttrss_api.cpp
++++ b/src/ttrss_api.cpp
+@@ -228,7 +228,7 @@ rsspp::feed ttrss_api::fetch_feed(const std::string& id) {
+ const char * link = json_object_get_string(json_object_object_get(item_obj, "link"));
+ const char * content = json_object_get_string(json_object_object_get(item_obj, "content"));
+ time_t updated = (time_t)json_object_get_int(json_object_object_get(item_obj, "updated"));
+- boolean unread = json_object_get_boolean(json_object_object_get(item_obj, "unread"));
++ bool unread = json_object_get_boolean(json_object_object_get(item_obj, "unread"));
+
+ rsspp::item item;
+
+--
+1.8.1.2
+
diff --git a/net-news/newsbeuter/newsbeuter-2.5.ebuild b/net-news/newsbeuter/newsbeuter-2.5.ebuild
index 527ee06575bd..f0d89768ab9a 100644
--- a/net-news/newsbeuter/newsbeuter-2.5.ebuild
+++ b/net-news/newsbeuter/newsbeuter-2.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-2.5.ebuild,v 1.5 2012/09/15 06:59:57 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-2.5.ebuild,v 1.6 2013/02/01 04:07:24 radhermit Exp $
EAPI="4"
@@ -40,6 +40,7 @@ src_prepare() {
Makefile
epatch "${FILESDIR}"/${P}-gcc47.patch
+ epatch "${FILESDIR}"/${P}-boolean.patch
}
src_configure() {