Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: pu
This update fixes a FTBFS in stable. This was already fixed in unstable, but the fix didn't make it into Wheezy. (The upload has been coordinated/agreed with the maintainer) Debdiff attached. Cheers, Moritz
diff -Nru newsbeuter-2.5/debian/changelog newsbeuter-2.5/debian/changelog --- newsbeuter-2.5/debian/changelog 2012-05-07 21:37:51.000000000 +0200 +++ newsbeuter-2.5/debian/changelog 2014-02-27 14:43:15.000000000 +0100 @@ -1,3 +1,9 @@ +newsbeuter (2.5-2+deb7u1) stable; urgency=low + + * Fix FTBFS issue due to json's switch from boolean to json_bool (Closes: #689225) + + -- Moritz Mühlenhoff <muehlenh...@univention.de> Thu, 27 Feb 2014 14:42:50 +0100 + newsbeuter (2.5-2) unstable; urgency=low * Fix build errors with gcc-4.7 (Closes: #667296). diff -Nru newsbeuter-2.5/debian/patches/fix_json_boolean_include.patch newsbeuter-2.5/debian/patches/fix_json_boolean_include.patch --- newsbeuter-2.5/debian/patches/fix_json_boolean_include.patch 1970-01-01 01:00:00.000000000 +0100 +++ newsbeuter-2.5/debian/patches/fix_json_boolean_include.patch 2014-02-27 14:42:37.000000000 +0100 @@ -0,0 +1,29 @@ +Description: propagate boolean json type +Apparently the libjson project decided to rename their boolean type to +json_bool... +Author: Nico Golde <n...@debian.org> +Bug-Debian: http://bugs.debian.org/689225 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: vendor +Bug: http://bugs.debian.org/689225 +Bug-Debian: http://bugs.debian.org/689225 +Forwarded: + +Index: newsbeuter-2.5/src/ttrss_api.cpp +=================================================================== +--- newsbeuter-2.5.orig/src/ttrss_api.cpp 2012-09-30 17:25:23.000000000 +0200 ++++ newsbeuter-2.5/src/ttrss_api.cpp 2012-09-30 17:43:24.000000000 +0200 +@@ -220,7 +220,7 @@ + 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")); ++ json_bool unread = json_object_get_boolean(json_object_object_get(item_obj, "unread")); + + rsspp::item item; + diff -Nru newsbeuter-2.5/debian/patches/series newsbeuter-2.5/debian/patches/series --- newsbeuter-2.5/debian/patches/series 2012-05-07 21:31:34.000000000 +0200 +++ newsbeuter-2.5/debian/patches/series 2014-02-27 14:42:37.000000000 +0100 @@ -1 +1,2 @@ fix_gcc-4.7_ftbfs.patch +fix_json_boolean_include.patch