tags 625115 + pending thanks Dear maintainer,
I've prepared an NMU for shogun (versioned as 0.10.0-2.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Cheers, Julien
diff -Nru shogun-0.10.0/debian/changelog shogun-0.10.0/debian/changelog --- shogun-0.10.0/debian/changelog 2011-02-14 11:11:24.000000000 +0100 +++ shogun-0.10.0/debian/changelog 2011-06-24 20:30:59.000000000 +0200 @@ -1,3 +1,11 @@ +shogun (0.10.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Apply upstream patch to fix FTBFS with new gcc (closes: #625115). Thanks, + Sebastian Ramacher! + + -- Julien Cristau <jcris...@debian.org> Fri, 24 Jun 2011 20:30:58 +0200 + shogun (0.10.0-2) unstable; urgency=low * Upload to unstable. diff -Nru shogun-0.10.0/debian/patches/debian-changes-0.10.0-2.1 shogun-0.10.0/debian/patches/debian-changes-0.10.0-2.1 --- shogun-0.10.0/debian/patches/debian-changes-0.10.0-2.1 1970-01-01 01:00:00.000000000 +0100 +++ shogun-0.10.0/debian/patches/debian-changes-0.10.0-2.1 2011-06-24 20:32:03.000000000 +0200 @@ -0,0 +1,47 @@ +Description: Upstream changes introduced in version 0.10.0-2.1 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + shogun (0.10.0-2.1) unstable; urgency=low + . + * Non-maintainer upload. + * Apply upstream patch to fix FTBFS with new gcc (closes: #625115). Thanks, + Sebastian Ramacher! + . + The person named in the Author field signed this changelog entry. +Author: Julien Cristau <jcris...@debian.org> +Bug-Debian: http://bugs.debian.org/625115 + +--- +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|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: http://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + +--- shogun-0.10.0.orig/src/libshogun/base/SGObject.h ++++ shogun-0.10.0/src/libshogun/base/SGObject.h +@@ -42,6 +42,7 @@ class CSerializableFile; + #ifdef USE_REFERENCE_COUNTING + #define SG_REF(x) { if (x) (x)->ref(); } + #define SG_UNREF(x) { if (x) { if ((x)->unref()==0) (x)=NULL; } } ++#define SG_UNREF_NO_NULL(x) { if (x) { (x)->unref(); } } + #else + #define SG_REF(x) + #define SG_UNREF(x) +--- shogun-0.10.0.orig/src/libshogun/features/AttributeFeatures.cpp ++++ shogun-0.10.0/src/libshogun/features/AttributeFeatures.cpp +@@ -22,5 +22,5 @@ CAttributeFeatures::~CAttributeFeatures( + { + int32_t n=features.get_num_elements(); + for (int32_t i=0; i<n; i++) +- SG_UNREF(features[i].attr_obj); ++ SG_UNREF_NO_NULL(features[i].attr_obj); + } diff -Nru shogun-0.10.0/debian/patches/series shogun-0.10.0/debian/patches/series --- shogun-0.10.0/debian/patches/series 2011-01-14 12:46:09.000000000 +0100 +++ shogun-0.10.0/debian/patches/series 2011-06-24 20:32:03.000000000 +0200 @@ -2,3 +2,4 @@ svmlight-buildfix.diff bash-buildfix.diff build-failure-dasvm.diff +debian-changes-0.10.0-2.1
signature.asc
Description: Digital signature