]> git.pld-linux.org Git - packages/subtitleeditor.git/blame - subtitleeditor-gcc.patch
- rebuild with gstreamermm 1.8
[packages/subtitleeditor.git] / subtitleeditor-gcc.patch
CommitLineData
dced09bb
JB
1--- subtitleeditor-0.52.1/plugins/actions/dialoguize/dialoguize.cc.orig 2015-06-21 23:09:31.000000000 +0200
2+++ subtitleeditor-0.52.1/plugins/actions/dialoguize/dialoguize.cc 2016-02-19 22:27:48.430323938 +0100
3@@ -23,6 +23,7 @@
4 * along with this program. If not, see <http://www.gnu.org/licenses/>.
5 */
6
7+#include <memory>
8 #include <auto_ptr.h>
9 #include "extension/action.h"
10 #include "i18n.h"
0143223b
JB
11--- subtitleeditor-0.52.1/src/utility.h.orig 2015-06-21 23:09:29.000000000 +0200
12+++ subtitleeditor-0.52.1/src/utility.h 2016-02-20 10:47:25.319878426 +0100
13@@ -91,7 +91,7 @@
14 std::istringstream s(src);
15 // return s >> dest != 0;
16
17- bool state = s >> dest != 0;
18+ bool state = !!(s >> dest);
19
20 if(!state)
21 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
22--- subtitleeditor-0.52.1/src/subtitleview.cc.orig 2015-06-21 23:09:29.000000000 +0200
23+++ subtitleeditor-0.52.1/src/subtitleview.cc 2016-02-20 11:24:45.551626891 +0100
24@@ -1363,7 +1363,7 @@
25 {
26 int num;
27 std::istringstream ss(event->string);
28- bool is_num = ss >> num != 0;
29+ bool is_num = !!(ss >> num);
30 // Update only if it's different
31 if(is_num != get_enable_search())
32 set_enable_search(is_num);
This page took 0.089844 seconds and 4 git commands to generate.