tags 811593 patch
thanks

Hi,

The attached patch should fix the issue, although it's not completely
clear to me if these were hidden (until now) mistakes or not.

robertc: Are you also upstream for this? If so is the actual behavior
what you were expecting?

-- 
Mike Gerow
ge...@mgerow.com
diff -u libgetopt++-0.0.2-p22/debian/changelog libgetopt++-0.0.2-p22/debian/changelog
--- libgetopt++-0.0.2-p22/debian/changelog
+++ libgetopt++-0.0.2-p22/debian/changelog
@@ -1,3 +1,10 @@
+libgetopt++ (0.0.2-p22-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix misleading indentation in src/OptionSet.cc. (Closes: #811593)
+
+ -- Mike Gerow <ge...@mgerow.com>  Thu, 07 Jul 2016 20:06:17 +0200
+
 libgetopt++ (0.0.2-p22-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u libgetopt++-0.0.2-p22/debian/patches/series libgetopt++-0.0.2-p22/debian/patches/series
--- libgetopt++-0.0.2-p22/debian/patches/series
+++ libgetopt++-0.0.2-p22/debian/patches/series
@@ -2,0 +3 @@
+fix_gcc6_ftbfs.diff
only in patch2:
unchanged:
--- libgetopt++-0.0.2-p22.orig/debian/patches/fix_gcc6_ftbfs.diff
+++ libgetopt++-0.0.2-p22/debian/patches/fix_gcc6_ftbfs.diff
@@ -0,0 +1,20 @@
+--- a/src/OptionSet.cc
++++ b/src/OptionSet.cc
+@@ -126,7 +126,7 @@
+                         if (!isOption(maybepos))
+                             /* not an option */
+                             value = argv[1];
+-			    argv.erase(argv.begin() + 1);
++			argv.erase(argv.begin() + 1);
+                     }
+                 } else {
+                     /* value if present is in this argv */
+@@ -159,7 +159,7 @@
+ 
+                         if (!isOption(maybepos))
+                             value = argv[1];
+-			    argv.erase(argv.begin() + 1);
++			argv.erase(argv.begin() + 1);
+                     }
+                 }
+             }

Attachment: signature.asc
Description: PGP signature

Reply via email to