public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10.2: fix build issue against gcc-4.4
Date: Mon, 06 Jul 2026 18:30:41 GMT	[thread overview]
Message-ID: <178336264146.1.7887625415182069274.rpms-amarok-388b764f84c7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/amarok
Branch : epel10.2
Commit : 388b764f84c723cfb23dfb1331dd293d4997e321
Author : Than Ngo <than@fedoraproject.org>
Date   : 2009-02-24T14:19:09+00:00
Stats  : +43/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/amarok/c/388b764f84c723cfb23dfb1331dd293d4997e321?branch=epel10.2

Log:
fix build issue against gcc-4.4

---
diff --git a/amarok-2.0.1.1-gcc44.patch b/amarok-2.0.1.1-gcc44.patch
index 673a4ad..0d015b0 100644
--- a/amarok-2.0.1.1-gcc44.patch
+++ b/amarok-2.0.1.1-gcc44.patch
@@ -1,3 +1,28 @@
+diff -up amarok-2.0.1.1/src/metadata/audible/audibleproperties.cpp.orig amarok-2.0.1.1/src/metadata/audible/audibleproperties.cpp
+--- amarok-2.0.1.1/src/metadata/audible/audibleproperties.cpp.orig	2009-02-24 14:59:01.000000000 +0100
++++ amarok-2.0.1.1/src/metadata/audible/audibleproperties.cpp	2009-02-24 14:59:52.000000000 +0100
+@@ -22,6 +22,7 @@
+  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            *
+  *   MA  02110-1301  USA                                                   *
+  ***************************************************************************/
++#include <cstdio>
+ 
+ #include "audibleproperties.h"
+ 
+diff -up amarok-2.0.1.1/src/metadata/audible/audibletag.cpp.orig amarok-2.0.1.1/src/metadata/audible/audibletag.cpp
+diff -up amarok-2.0.1.1/src/metadata/audible/audibletag.h.orig amarok-2.0.1.1/src/metadata/audible/audibletag.h
+--- amarok-2.0.1.1/src/metadata/audible/audibletag.h.orig	2009-02-24 15:02:20.000000000 +0100
++++ amarok-2.0.1.1/src/metadata/audible/audibletag.h	2009-02-24 15:02:41.000000000 +0100
+@@ -27,7 +27,7 @@
+ #define TAGLIB_AUDIBLETAG_H
+ 
+ #include <config-amarok.h>  
+-
++#include <cstdio>
+ #include <tag.h>
+ 
+ namespace TagLib {
+diff -up amarok-2.0.1.1/src/metadata/wav/wavfile.cpp.orig amarok-2.0.1.1/src/metadata/wav/wavfile.cpp
 diff -up amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/pp-internal.h.orig amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/pp-internal.h
 --- amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/pp-internal.h.orig	2009-02-24 14:39:35.000000000 +0100
 +++ amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/pp-internal.h	2009-02-24 14:39:51.000000000 +0100
@@ -9,6 +34,18 @@ diff -up amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/pp-inter
  #include <algorithm>
  
  namespace rpp {
+diff -up amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/pp-macro-expander.h.orig amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/pp-macro-expander.h
+--- amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/pp-macro-expander.h.orig	2009-02-24 15:05:53.000000000 +0100
++++ amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/pp-macro-expander.h	2009-02-24 15:06:08.000000000 +0100
+@@ -15,6 +15,8 @@
+ #ifndef PP_MACRO_EXPANDER_H
+ #define PP_MACRO_EXPANDER_H
+ 
++#include <cstdio>
++
+ namespace rpp {
+ 
+ struct pp_frame
 diff -up amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/preprocessor.cpp.orig amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/preprocessor.cpp
 --- amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/preprocessor.cpp.orig	2009-02-24 14:38:14.000000000 +0100
 +++ amarok-2.0.1.1/src/scriptengine/generator/generator/parser/rpp/preprocessor.cpp	2009-02-24 14:38:47.000000000 +0100

diff --git a/amarok.spec b/amarok.spec
index d72a95b..263e906 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -2,7 +2,7 @@
 Name:    amarok
 Summary: Media player
 Version: 2.0.1.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 
 Group: 	 Applications/Multimedia
 License: GPLv2+
@@ -13,6 +13,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # From amarok svn, r871433 (Note that this was reverted later, I believe the
 # reasoning for reverting was incorrect. -- tmz :)
 Patch0:  amarok-libgpod-0.7.0.patch
+Patch1:  amarok-2.0.1.1-gcc44.patch
 
 Patch100: amarok-2.0.1.1-qt45.patch
 
@@ -52,6 +53,7 @@ Amarok is a multimedia player with:
 %prep
 %setup -q
 %patch0 -p0 -b .libgpod-0.7.0
+%patch1 -p1 -b .gcc4
 
 %patch100 -p0 -b .qt45
 
@@ -120,6 +122,9 @@ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
 
 
 %changelog
+* Tue Feb 24 2009 Than Ngo <than@redhat.com> 2.0.1.1-6
+- fix build issue against gcc-4.4
+
 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 

             reply	other threads:[~2026-07-06 18:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-06 18:30 Than Ngo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-07-06 18:30 [rpms/amarok] epel10.2: fix build issue against gcc-4.4 Than Ngo
2026-07-06 18:30 Than Ngo
2026-07-06 18:30 Than Ngo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178336264146.1.7887625415182069274.rpms-amarok-388b764f84c7@fedoraproject.org \
    --to=than@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox