]> git.pld-linux.org Git - packages/mythplugins.git/commitdiff
- fix c++11 build errors auto/th/mythplugins-0.26.1-4
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 27 May 2017 05:26:43 +0000 (07:26 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 27 May 2017 05:26:43 +0000 (07:26 +0200)
- rel 4

cxx11.patch [new file with mode: 0644]
mythplugins.spec

diff --git a/cxx11.patch b/cxx11.patch
new file mode 100644 (file)
index 0000000..89c56db
--- /dev/null
@@ -0,0 +1,30 @@
+--- mythplugins-0.26.1/mythmusic/mythmusic/metaio.h~   2013-08-15 16:44:02.000000000 +0200
++++ mythplugins-0.26.1/mythmusic/mythmusic/metaio.h    2017-05-27 07:18:20.791635440 +0200
+@@ -95,7 +95,7 @@
+     {
+         (void)filename;
+         (void)type;
+-        return false;
++        return nullptr;
+     }
+     void readFromFilename(const QString &filename, QString &artist,
+--- mythplugins-0.26.1/mythzoneminder/mythzmserver/zmserver.cpp.orig   2013-08-15 16:44:02.000000000 +0200
++++ mythplugins-0.26.1/mythzoneminder/mythzmserver/zmserver.cpp        2017-05-27 07:23:00.152442302 +0200
+@@ -1376,14 +1376,14 @@
+     if (mapFile >= 0)
+     {
+         if (m_debug)
+-            cout << "Opened mmap file: " << mmap_filename << endl;
++            cout << "Opened mmap file: " << mmap_filename.rdbuf() << endl;
+         shm_ptr = mmap(NULL, shared_data_size, PROT_READ,
+                                             MAP_SHARED, mapFile, 0x0);
+         if (shm_ptr == NULL)
+         {
+             cout << "Failed to map shared memory from file [" << 
+-                mmap_filename << "] " <<
++                mmap_filename.rdbuf() << "] " <<
+                 "for monitor: " << 
+                 monitor->mon_id << 
+                 endl;
index f2cd7fed85740af0dc23c05eb54349392b0837da..2e0b2431854fa545d8a066d2fb89e44b05469cfc 100644 (file)
@@ -31,7 +31,7 @@ Summary:      Main MythTV plugins
 Summary(pl.UTF-8):     Główne wtyczki MythTV
 Name:          mythplugins
 Version:       0.26.1
-Release:       3
+Release:       4
 License:       GPL v2
 Group:         Applications/Multimedia
 Source0:       ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2
@@ -43,6 +43,7 @@ Source4:      http_servers_conf_tips.txt
 Source5:       mythweb-httpd.conf
 Patch0:                mythweb-chdir.patch
 Patch1:                system-zmq.patch
+Patch2:                cxx11.patch
 Patch10:       %{name}-compile_fixes_for_qt_4_7.patch
 Patch20:       %{name}-mytharchive-INT64.patch
 URL:           http://www.mythtv.org/
@@ -294,6 +295,7 @@ Obsługa kamer przemysłowych dla MythTV.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 #%patch10 -p1
 %patch20 -p1
 
This page took 0.056787 seconds and 4 git commands to generate.