Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265750 - media-libs/libofa-0.9.3 patch for GCC-4.4
Summary: media-libs/libofa-0.9.3 patch for GCC-4.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-04-11 11:34 UTC by Andreas Sturmlechner
Modified: 2009-04-11 16:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
adding stdio.h header to examples.cpp (libofa-0.9.3-gcc-4.4.patch,281 bytes, patch)
2009-04-11 11:36 UTC, Andreas Sturmlechner
Details | Diff
new ebuild to make use of the patch (libofa-0.9.3-r1.ebuild,992 bytes, text/plain)
2009-04-11 11:37 UTC, Andreas Sturmlechner
Details
patch for libofa ebuild (libofa-0.9.3.ebuild.patch,426 bytes, patch)
2009-04-11 15:59 UTC, Andreas Sturmlechner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2009-04-11 11:34:17 UTC
media-libs/libofa-0.9.3 fails without patching for gcc-4.4:

example.cpp: In function ‘int main(int, char**)’:
example.cpp:40: error: ‘printf’ was not declared in this scope
example.cpp:44: error: ‘printf’ was not declared in this scope
example.cpp:48: error: ‘printf’ was not declared in this scope
example.cpp:54: error: ‘printf’ was not declared in this scope
example.cpp:63: error: ‘printf’ was not declared in this scope
example.cpp:66: error: ‘printf’ was not declared in this scope

It's a dependency of amarok-1.4.10 and picard-0.11, so I decided to create a patch. My first one. :)
Comment 1 Andreas Sturmlechner gentoo-dev 2009-04-11 11:36:05 UTC
Created attachment 187971 [details, diff]
adding stdio.h header to examples.cpp
Comment 2 Andreas Sturmlechner gentoo-dev 2009-04-11 11:37:27 UTC
Created attachment 187973 [details]
new ebuild to make use of the patch
Comment 3 Lars Wendler (Polynomial-C) gentoo-dev 2009-04-11 11:48:34 UTC
Please attach unified diffs (diff -u) when you did changes to an ebuild. That
would be much more handy for our devs.
Comment 4 Andreas Sturmlechner gentoo-dev 2009-04-11 12:05:56 UTC
I'll do that in the following bug report, thanks for your input.
Comment 5 SpanKY gentoo-dev 2009-04-11 15:21:47 UTC
patch looks fine of course
Comment 6 Andreas Sturmlechner gentoo-dev 2009-04-11 15:59:49 UTC
Created attachment 187993 [details, diff]
patch for libofa ebuild

hm, might as well do it here.
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-11 16:28:24 UTC
+  11 Apr 2009; Peter Alfredsen <loki_val@gentoo.org>
+  +files/libofa-0.9.3-gcc-4.4.patch, libofa-0.9.3.ebuild:
+  Fix bug 265750, failure with gcc-4.4. Thanks to Andreas Sturmlechner
+  <andreas.sturmlechner@gmail.com> for the patch.
+