diff options
author | joerg <joerg@pkgsrc.org> | 2015-11-04 12:32:10 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-11-04 12:32:10 +0000 |
commit | 06f1af4bc4be5ea0cc08819bb83c8d276b0e37e3 (patch) | |
tree | 4affe9073f7337bb07aca49e956145e7758a01b5 /multimedia/subtitleeditor | |
parent | 0c68aa5ac2ab99b8e9dbbfe9e45f04ad3fd40547 (diff) | |
download | pkgsrc-06f1af4bc4be5ea0cc08819bb83c8d276b0e37e3.tar.gz |
Replace diff of patch with the patch itself
Diffstat (limited to 'multimedia/subtitleeditor')
-rw-r--r-- | multimedia/subtitleeditor/patches/patch-src_utility.h | 13 | ||||
-rw-r--r-- | multimedia/subtitleeditor/patches/patch-src_utility.h.diff | 16 |
2 files changed, 13 insertions, 16 deletions
diff --git a/multimedia/subtitleeditor/patches/patch-src_utility.h b/multimedia/subtitleeditor/patches/patch-src_utility.h new file mode 100644 index 00000000000..32b5d105c16 --- /dev/null +++ b/multimedia/subtitleeditor/patches/patch-src_utility.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_utility.h,v 1.1 2015/11/04 12:32:10 joerg Exp $ + +--- src/utility.h.orig 2015-11-03 11:44:20.000000000 +0000 ++++ src/utility.h +@@ -88,7 +88,7 @@ bool from_string(const Glib::ustring &sr + std::istringstream s(src); + // return s >> dest != 0; + +- bool state = s >> dest != 0; ++ bool state(s >> dest); + + if(!state) + se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str()); diff --git a/multimedia/subtitleeditor/patches/patch-src_utility.h.diff b/multimedia/subtitleeditor/patches/patch-src_utility.h.diff deleted file mode 100644 index cac7e47bfbb..00000000000 --- a/multimedia/subtitleeditor/patches/patch-src_utility.h.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- multimedia/subtitleeditor/patches/patch-src_utility.h -+++ multimedia/subtitleeditor/patches/patch-src_utility.h -@@ -0,0 +1,13 @@ -+$NetBSD: patch-src_utility.h.diff,v 1.1 2015/11/03 19:04:57 joerg Exp $ -+ -+--- src/utility.h.orig 2015-11-03 11:44:20.000000000 +0000 -++++ src/utility.h -+@@ -88,7 +88,7 @@ bool from_string(const Glib::ustring &sr -+ std::istringstream s(src); -+ // return s >> dest != 0; -+ -+- bool state = s >> dest != 0; -++ bool state(s >> dest); -+ -+ if(!state) -+ se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str()); |