Overview

Request 220 (accepted)

fix build with gcc 4.7

Submit package home:seife:branches:Multimedia / quimup to package Multimedia / quimup

quimup.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Sat May 19 13:09:19 UTC 2012 - seife+obs@b1-systems.com
4
+
5
+- fix build with gcc 4.7
6
+
7
+-------------------------------------------------------------------
8
 Thu Feb 23 00:00:00 UTC 2011 - detlef@links2linux.de
9
 
10
 - new upstream version <1.2.0>
11
quimup.spec Changed
19
 
1
@@ -12,6 +12,8 @@
2
 Source0:   %{name}_%{version}_source.tar.gz
3
 Source1:   %{name}.desktop
4
 
5
+Patch0:        quimup-gcc47.patch
6
+
7
 BuildRoot: %{_tmppath}/%{name}-%{version}
8
 
9
 BuildRequires: libmpdclient-devel libqt4-devel update-desktop-files
10
@@ -33,7 +35,7 @@
11
 
12
 %prep
13
 %setup -q -n %{name}_%{version}
14
-
15
+%patch0 -p1
16
 
17
 %build
18
 %__sed -i -e "s|/usr/lib/libmpdclient.so|/usr/%{_lib}/libmpdclient.so|g" %{name}.pro
19
quimup-gcc47.patch Added
18
 
1
@@ -0,0 +1,16 @@
2
+Index: b/src/qm_mpdcom.cpp
3
+===================================================================
4
+--- a/src/qm_mpdcom.cpp
5
++++ b/src/qm_mpdcom.cpp
6
+@@ -17,10 +17,11 @@
7
+  *
8
+  *  You should have received a copy of the GNU General Public License
9
+  *  along with this program. If not, see http://www.gnu.org/licenses/.
10
+  */
11
+ 
12
++#include <unistd.h>
13
+ #include "qm_mpdcom.h"
14
+ 
15
+ qm_mpdCom::qm_mpdCom()
16
+ {
17
+     if (objectName().isEmpty())
18
Refresh
Refresh
Request History
Stefan Seyfried's avatar

seife created request over 11 years ago

fix build with gcc 4.7


Stefan Seyfried's avatar

seife accepted request almost 13 years ago

fix build with gcc 4.7