mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
strigi: fix gcc6 build
This commit is contained in:
parent
52f0b2f70a
commit
2ef81b388d
2 changed files with 27 additions and 1 deletions
26
srcpkgs/strigi/patches/fix-std_pair_insert.patch
Normal file
26
srcpkgs/strigi/patches/fix-std_pair_insert.patch
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
--- libstreamanalyzer/plugins/indexers/cluceneindexer/cluceneindexreader.cpp 2013-02-05 22:34:52.000000000 +0100
|
||||||
|
+++ libstreamanalyzer/plugins/indexers/cluceneindexer/cluceneindexreader.cpp 2016-09-15 09:35:02.672643338 +0200
|
||||||
|
@@ -369,8 +369,8 @@
|
||||||
|
string size = value;
|
||||||
|
doc.size = atoi(size.c_str());
|
||||||
|
} else {
|
||||||
|
- doc.properties.insert(make_pair<const string, string>(
|
||||||
|
- wchartoutf8(name), value));
|
||||||
|
+ string uname(wchartoutf8(name));
|
||||||
|
+ doc.properties.insert(make_pair<const std::string&, std::string&>(uname, value));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Variant
|
||||||
|
--- libstreamanalyzer/plugins/indexers/clucenengindexer/cluceneindexreader.cpp 2013-02-05 22:34:52.000000000 +0100
|
||||||
|
+++ libstreamanalyzer/plugins/indexers/clucenengindexer/cluceneindexreader.cpp 2016-09-15 09:39:01.049769777 +0200
|
||||||
|
@@ -321,8 +321,8 @@
|
||||||
|
string size = value;
|
||||||
|
doc.size = atoi(size.c_str());
|
||||||
|
} else {
|
||||||
|
- doc.properties.insert(make_pair<const string, string>(
|
||||||
|
- wchartoutf8(name), value));
|
||||||
|
+ string uname(wchartoutf8(name));
|
||||||
|
+ doc.properties.insert(make_pair<const std::string&, std::string&>(uname, value));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Variant
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'strigi'
|
# Template file for 'strigi'
|
||||||
pkgname=strigi
|
pkgname=strigi
|
||||||
version=0.7.8
|
version=0.7.8
|
||||||
revision=6
|
revision=7
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DENABLE_INOTIFY=ON -DENABLE_LOG4CXX=OFF -DENABLE_FAM=OFF
|
configure_args="-DENABLE_INOTIFY=ON -DENABLE_LOG4CXX=OFF -DENABLE_FAM=OFF
|
||||||
-DENABLE_CLUCENE=OFF -DENABLE_CLUCENE_NG=ON -DENABLE_FFMPEG=OFF"
|
-DENABLE_CLUCENE=OFF -DENABLE_CLUCENE_NG=ON -DENABLE_FFMPEG=OFF"
|
||||||
|
|
Loading…
Add table
Reference in a new issue