Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=831c01f6bdd7826f4f4590bc7e2412d54230684e

commit 831c01f6bdd7826f4f4590bc7e2412d54230684e
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Jun 6 14:49:35 2009 +0200

amarok-1.4.10-5-i686

- add amarok-1.4.10-gcc44.patch

diff --git a/source/kde-extra/amarok/FrugalBuild 
b/source/kde-extra/amarok/FrugalBuild
index fb9ed8b..5140277 100644
--- a/source/kde-extra/amarok/FrugalBuild
+++ b/source/kde-extra/amarok/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=amarok
pkgver=1.4.10
-pkgrel=4
+pkgrel=5
pkgdesc="amaroK is a music player for Linux and Unix with an intuitive 
interface"
depends=('libtunepimp>=0.5.2-3' 'xine-lib' 'libifp' 'kdebase>=3.5.8' 'taglib' 
'libnjb' \
'libgpod>=0.6.0' 'ruby' 'python>=2.6' 'libvisual-plugins' 'libmtp>=0.2.5' 
'libkarma' \
@@ -15,9 +15,11 @@ groups=('kde-extra')
archs=('i686' 'x86_64')
Finclude kde
url="http://amarok.kde.org/";
-source=(ftp://ftp.fu-berlin.de/pub/unix/X11/gui/kde/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2)
+source=(ftp://ftp.fu-berlin.de/pub/unix/X11/gui/kde/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2
 \
+       amarok-1.4.10-gcc44.patch)
up2date="Flasttar 'http://amarok.kde.org/wiki/Download:Source'"
Fconfopts="$Fconfopts --with-mp4v2 --with-ifp --with-libnjb --with-libgpod \
--with-libmtp --with-libkarma --without-xmms --enable-mysql"
-sha1sums=('cb0bebe99c6f4dc1b01601f2f3aee3a86da08fbd')
+sha1sums=('cb0bebe99c6f4dc1b01601f2f3aee3a86da08fbd' \
+          'f5c7eeea6ff80d6e634465517face69f3f344516')
# optimization OK
diff --git a/source/kde-extra/amarok/amarok-1.4.10-gcc44.patch 
b/source/kde-extra/amarok/amarok-1.4.10-gcc44.patch
new file mode 100644
index 0000000..632e9fa
--- /dev/null
+++ b/source/kde-extra/amarok/amarok-1.4.10-gcc44.patch
@@ -0,0 +1,93 @@
+diff -Naur 
amarok-1.4.10-orig/amarok/src/metadata/audible/audibleproperties.cpp 
amarok-1.4.10/amarok/src/metadata/audible/audibleproperties.cpp
+--- amarok-1.4.10-orig/amarok/src/metadata/audible/audibleproperties.cpp       
2008-08-13 15:21:51.000000000 -0600
++++ amarok-1.4.10/amarok/src/metadata/audible/audibleproperties.cpp    
2009-03-31 22:12:29.000000000 -0600
+@@ -31,6 +31,8 @@
+
+ #include <netinet/in.h> // ntohl
+
++#include <stdio.h>
++
+ using namespace TagLib;
+
+
+diff -Naur amarok-1.4.10-orig/amarok/src/metadata/audible/audibletag.cpp 
amarok-1.4.10/amarok/src/metadata/audible/audibletag.cpp
+--- amarok-1.4.10-orig/amarok/src/metadata/audible/audibletag.cpp      
2009-03-31 22:08:16.000000000 -0600
++++ amarok-1.4.10/amarok/src/metadata/audible/audibletag.cpp   2009-03-31 
22:11:57.000000000 -0600
+@@ -30,6 +30,7 @@
+ #include <netinet/in.h> // ntohl
+ #include <stdlib.h>
+ #include <string.h>
++#include <stdio.h>
+
+ using namespace TagLib;
+
+diff -Naur 
amarok-1.4.10-orig/amarok/src/metadata/audible/taglib_audiblefile.cpp 
amarok-1.4.10/amarok/src/metadata/audible/taglib_audiblefile.cpp
+--- amarok-1.4.10-orig/amarok/src/metadata/audible/taglib_audiblefile.cpp      
2008-08-13 15:21:51.000000000 -0600
++++ amarok-1.4.10/amarok/src/metadata/audible/taglib_audiblefile.cpp   
2009-03-31 22:13:06.000000000 -0600
+@@ -29,6 +29,8 @@
+ #include <taglib/tfile.h>
+ #include <taglib/audioproperties.h>
+
++#include <stdio.h>
++
+ namespace TagLib {
+ 
////////////////////////////////////////////////////////////////////////////////
+ // public members
+diff -Naur 
amarok-1.4.10-orig/amarok/src/metadata/audible/taglib_audiblefiletyperesolver.cpp
 amarok-1.4.10/amarok/src/metadata/audible/taglib_audiblefiletyperesolver.cpp
+--- 
amarok-1.4.10-orig/amarok/src/metadata/audible/taglib_audiblefiletyperesolver.cpp
  2008-08-13 15:21:51.000000000 -0600
++++ 
amarok-1.4.10/amarok/src/metadata/audible/taglib_audiblefiletyperesolver.cpp    
   2009-03-31 22:16:01.000000000 -0600
+@@ -23,6 +23,7 @@
+ #include "taglib_audiblefile.h"
+
+ #include <string.h>
++#include <stdio.h>
+
+ TagLib::File *AudibleFileTypeResolver::createFile(const char *fileName,
+         bool readProperties,
+diff -Naur amarok-1.4.10-orig/amarok/src/metadata/wav/wavfile.cpp 
amarok-1.4.10/amarok/src/metadata/wav/wavfile.cpp
+--- amarok-1.4.10-orig/amarok/src/metadata/wav/wavfile.cpp     2008-08-13 
15:21:51.000000000 -0600
++++ amarok-1.4.10/amarok/src/metadata/wav/wavfile.cpp  2009-03-31 
22:18:22.000000000 -0600
+@@ -29,6 +29,8 @@
+ #include <taglib/audioproperties.h>
+ #include <taglib/tag.h>
+
++#include <stdio.h>
++
+ namespace TagLib {
+ 
////////////////////////////////////////////////////////////////////////////////
+ // public members
+diff -Naur amarok-1.4.10-orig/amarok/src/metadata/wav/wavproperties.cpp 
amarok-1.4.10/amarok/src/metadata/wav/wavproperties.cpp
+--- amarok-1.4.10-orig/amarok/src/metadata/wav/wavproperties.cpp       
2008-08-13 15:21:51.000000000 -0600
++++ amarok-1.4.10/amarok/src/metadata/wav/wavproperties.cpp    2009-03-31 
22:18:06.000000000 -0600
+@@ -31,6 +31,8 @@
+
+ #include <netinet/in.h> // ntohl
+
++#include <stdio.h>
++
+ using namespace TagLib;
+
+ struct WavHeader
+diff -Naur amarok-1.4.10-orig/amarok/src/metadata/wav/wavfiletyperesolver.cpp 
amarok-1.4.10/amarok/src/metadata/wav/wavfiletyperesolver.cpp
+--- amarok-1.4.10-orig/amarok/src/metadata/wav/wavfiletyperesolver.cpp 
2008-08-13 15:21:51.000000000 -0600
++++ amarok-1.4.10/amarok/src/metadata/wav/wavfiletyperesolver.cpp      
2009-03-31 22:19:55.000000000 -0600
+@@ -23,6 +23,7 @@
+ #include "wavfile.h"
+
+ #include <string.h>
++#include <stdio.h>
+
+ TagLib::File *WavFileTypeResolver::createFile(const char *fileName,
+         bool readProperties,
+diff -Naur amarok-1.4.10-orig/amarok/src/metabundlesaver.cpp 
amarok-1.4.10/amarok/src/metabundlesaver.cpp
+--- amarok-1.4.10-orig/amarok/src/metabundlesaver.cpp  2008-08-13 
15:21:51.000000000 -0600
++++ amarok-1.4.10/amarok/src/metabundlesaver.cpp       2009-03-31 
22:30:30.000000000 -0600
+@@ -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>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to