Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87802 - Patch for mplayer to compile with gcc4
Summary: Patch for mplayer to compile with gcc4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-03 09:43 UTC by Genady Okrain
Modified: 2005-05-05 09:02 UTC (History)
1 user (show)

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


Attachments
mplayer-1.0_pre6-gcc4-fix.patch (mplayer-1.0_pre6-gcc4-fix.patch,8.77 KB, text/plain)
2005-04-03 09:44 UTC, Genady Okrain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Genady Okrain 2005-04-03 09:43:39 UTC
Can't compile here with mmx, need more testing.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Genady Okrain 2005-04-03 09:44:09 UTC
Created attachment 55195 [details]
mplayer-1.0_pre6-gcc4-fix.patch
Comment 2 Pascal Terjan 2005-04-27 12:32:21 UTC
+	int ptr;

+		ptr = ((int) src) + filterSize;

I think this will break on 64 bits, and you should use "uint8_t *" instead of "int"
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-05 09:02:18 UTC
  25 Apr 2005; Martin Schlemmer <azarah@gentoo.org>
  +files/mplayer-1.0_pre7-gcc4.patch,
  +files/mplayer-1.0_pre7-gcc_detection.patch, mplayer-1.0_pre7.ebuild:
  Fix building with gcc4. Patch from Genady Okrain (Mafteah) 's overlay (plus
  some added fixes to libvo/aclib_template.c that whoever seemed to have
  missed).