summaryrefslogtreecommitdiff
path: root/audio/amarok-kde3/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-01-29 21:36:10 +0000
committermarkd <markd@pkgsrc.org>2011-01-29 21:36:10 +0000
commit3a64d76f4bdec533afaa1e70b149229f714db53e (patch)
treec801314ba06956d417d7215f4bcbda12c3ddfee0 /audio/amarok-kde3/patches
parent211e07e774d1c5a10996335b72423dcd51144056 (diff)
downloadpkgsrc-3a64d76f4bdec533afaa1e70b149229f714db53e.tar.gz
Fix build with gcc4.3
Diffstat (limited to 'audio/amarok-kde3/patches')
-rw-r--r--audio/amarok-kde3/patches/patch-ae15
-rw-r--r--audio/amarok-kde3/patches/patch-af14
-rw-r--r--audio/amarok-kde3/patches/patch-ag14
-rw-r--r--audio/amarok-kde3/patches/patch-ah14
-rw-r--r--audio/amarok-kde3/patches/patch-ai14
-rw-r--r--audio/amarok-kde3/patches/patch-aj14
-rw-r--r--audio/amarok-kde3/patches/patch-ak14
-rw-r--r--audio/amarok-kde3/patches/patch-al15
8 files changed, 114 insertions, 0 deletions
diff --git a/audio/amarok-kde3/patches/patch-ae b/audio/amarok-kde3/patches/patch-ae
new file mode 100644
index 00000000000..4e563825bc2
--- /dev/null
+++ b/audio/amarok-kde3/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2011/01/29 21:36:10 markd Exp $
+
+fix build with gcc4.5
+
+--- amarok/src/osd.h.orig 2008-08-13 21:21:51.000000000 +0000
++++ amarok/src/osd.h
+@@ -37,7 +37,7 @@ class OSDWidget : public QWidget
+
+ public slots:
+ /** calls setText() then show(), after setting image if needed */
+- void show( const QString &text, QImage newImage = QImage::QImage() );
++ void show( const QString &text, QImage newImage = QImage() );
+ void ratingChanged( const short rating );
+ void ratingChanged( const QString& path, int rating );
+ void volChanged( unsigned char volume );
diff --git a/audio/amarok-kde3/patches/patch-af b/audio/amarok-kde3/patches/patch-af
new file mode 100644
index 00000000000..8df121611b9
--- /dev/null
+++ b/audio/amarok-kde3/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 2011/01/29 21:36:10 markd Exp $
+
+fix build with gcc4.3
+
+--- amarok/src/metadata/audible/taglib_audiblefile.h.orig 2008-08-13 21:21:51.000000000 +0000
++++ amarok/src/metadata/audible/taglib_audiblefile.h
+@@ -29,6 +29,7 @@
+ #include <taglib/tfile.h>
+ #include "audibleproperties.h"
+ #include "audibletag.h"
++#include <cstdio>
+
+ namespace TagLib {
+
diff --git a/audio/amarok-kde3/patches/patch-ag b/audio/amarok-kde3/patches/patch-ag
new file mode 100644
index 00000000000..48798a62127
--- /dev/null
+++ b/audio/amarok-kde3/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2011/01/29 21:36:10 markd Exp $
+
+include <string.h> for strcmp()
+
+--- amarok/src/metadata/mp4/mp4properties.cpp.orig 2008-08-13 21:21:51.000000000 +0000
++++ amarok/src/metadata/mp4/mp4properties.cpp
+@@ -23,6 +23,7 @@ email : andrew.leadbetter
+
+
+ #include <tstring.h>
++#include <string.h>
+
+ #include <config.h>
+ #ifdef HAVE_SYSTEMS_H
diff --git a/audio/amarok-kde3/patches/patch-ah b/audio/amarok-kde3/patches/patch-ah
new file mode 100644
index 00000000000..774835f6dbc
--- /dev/null
+++ b/audio/amarok-kde3/patches/patch-ah
@@ -0,0 +1,14 @@
+$NetBSD: patch-ah,v 1.1 2011/01/29 21:36:10 markd Exp $
+
+fix build with gcc4.3
+
+--- amarok/src/metadata/mp4/mp4tag.cpp.orig 2008-08-13 21:21:51.000000000 +0000
++++ amarok/src/metadata/mp4/mp4tag.cpp
+@@ -24,6 +24,7 @@ email : andrew.leadbetter
+
+ #include <tag.h>
+ #include <stdint.h>
++#include <stdlib.h>
+
+ using namespace TagLib;
+
diff --git a/audio/amarok-kde3/patches/patch-ai b/audio/amarok-kde3/patches/patch-ai
new file mode 100644
index 00000000000..9917138649a
--- /dev/null
+++ b/audio/amarok-kde3/patches/patch-ai
@@ -0,0 +1,14 @@
+$NetBSD: patch-ai,v 1.1 2011/01/29 21:36:10 markd Exp $
+
+fix build with gcc4.3
+
+--- amarok/src/metadata/mp4/mp4file.cpp.orig 2008-08-13 21:21:51.000000000 +0000
++++ amarok/src/metadata/mp4/mp4file.cpp
+@@ -30,6 +30,7 @@ email : aumuell@reserv.at
+ #include <audioproperties.h>
+
+ #include <stdint.h>
++#include <stdlib.h>
+
+ #define MP4V2_HAS_WRITE_BUG 1
+
diff --git a/audio/amarok-kde3/patches/patch-aj b/audio/amarok-kde3/patches/patch-aj
new file mode 100644
index 00000000000..8ad48a2b1c9
--- /dev/null
+++ b/audio/amarok-kde3/patches/patch-aj
@@ -0,0 +1,14 @@
+$NetBSD: patch-aj,v 1.1 2011/01/29 21:36:10 markd Exp $
+
+fix build with gcc4.3
+
+--- amarok/src/metadata/mp4/taglib_mp4filetyperesolver.cpp.orig 2008-08-13 21:21:51.000000000 +0000
++++ amarok/src/metadata/mp4/taglib_mp4filetyperesolver.cpp
+@@ -24,6 +24,7 @@
+
+ #include "taglib_mp4filetyperesolver.h"
+ #include "mp4file.h"
++#include <string.h>
+
+ TagLib::File *MP4FileTypeResolver::createFile(const char *fileName,
+ bool readProperties,
diff --git a/audio/amarok-kde3/patches/patch-ak b/audio/amarok-kde3/patches/patch-ak
new file mode 100644
index 00000000000..a329f990b14
--- /dev/null
+++ b/audio/amarok-kde3/patches/patch-ak
@@ -0,0 +1,14 @@
+$NetBSD: patch-ak,v 1.1 2011/01/29 21:36:10 markd Exp $
+
+fix build with gcc4.3
+
+--- amarok/src/metadata/wav/wavfile.h.orig 2008-08-13 21:21:51.000000000 +0000
++++ amarok/src/metadata/wav/wavfile.h
+@@ -28,6 +28,7 @@
+
+ #include <taglib/tfile.h>
+ #include "wavproperties.h"
++#include <cstdio>
+
+ namespace TagLib {
+
diff --git a/audio/amarok-kde3/patches/patch-al b/audio/amarok-kde3/patches/patch-al
new file mode 100644
index 00000000000..0d540de02e1
--- /dev/null
+++ b/audio/amarok-kde3/patches/patch-al
@@ -0,0 +1,15 @@
+$NetBSD: patch-al,v 1.1 2011/01/29 21:36:10 markd Exp $
+
+fix build with gcc4.3
+
+--- amarok/src/metabundlesaver.cpp.orig 2008-08-13 21:21:51.000000000 +0000
++++ amarok/src/metabundlesaver.cpp
+@@ -6,7 +6,7 @@
+
+ #include <stdlib.h>
+ #include <unistd.h>
+-#include <stdio.h>
++#include <cstdio>
+ #include <time.h>
+ #include <sys/time.h>
+ #include <sys/types.h>