strigi: patch to compile on stdenv-updates (close #755)

This patch exports a class with STRIGI_EXPORT that wasn't exported
before.
This commit is contained in:
James Cook 2013-07-14 17:08:26 -07:00 committed by Vladimír Čunát
parent dafb31a8e1
commit dc8d794208
2 changed files with 14 additions and 0 deletions

View File

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig perl ];
patches = [ ./export_bufferedstream.patch ];
enableParallelBuilding = true;
meta = {

View File

@ -0,0 +1,12 @@
diff -u -r strigi-0.7.8/libstreams/include/strigi/bufferedstream.h strigi-0.7.8_new/libstreams/include/strigi/bufferedstream.h
--- strigi-0.7.8/libstreams/include/strigi/bufferedstream.h 2013-02-05 13:34:57.000000000 -0800
+++ strigi-0.7.8_new/libstreams/include/strigi/bufferedstream.h 2013-07-14 17:01:54.000000000 -0700
@@ -34,7 +34,7 @@
* BufferedStream will do the rest.
*/
template <class T>
-class BufferedStream : public StreamBase<T> {
+class STRIGI_EXPORT BufferedStream : public StreamBase<T> {
private:
StreamBuffer<T> buffer;
bool finishedWritingToBuffer;