gipawu / coreavc-for-linux

Automatically exported from code.google.com/p/coreavc-for-linux
GNU General Public License v2.0
1 stars 1 forks source link

Patch won't work on newer mplayer revisions #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checked out latest mplayer svn (r30731) and coreavc-for-linux (r111)
2. At "patch -p0 -i [file]" :
  Hunk #1 FAILED at 43.
  1 out of 2 hunks FAILED -- saving rejects to file libmpcodecs/vd.c.rej
  ...
3. ./configure has no problems, but make doesn't work.

What is the expected output? What do you see instead?
With older mplayer rev (r30262), the patch works without any problems:
Hunk #1 succeeded at 25 (offset -18 lines).
Hunk #2 succeeded at 57 (offset -18 lines).
...
And then also the ./configure and make / install parts.

What version of the product are you using? On what operating system?
- Ubuntu 9.04 (tried on 2 different computer, same problem)
- coreavc-for-linux r111 (latest)
- with error: mplayer r30731 (latest)
- without error: mplayer r30262 (didn't tried revs between these, I just
had an old build from 30262, and i knew that worked)

Please provide any additional information below.
-

Original issue reported on code.google.com by her...@gmail.com on 25 Feb 2010 at 10:13

GoogleCodeExporter commented 9 years ago
... I just ckecked again, and I realized, that although, i don't have problems 
with
patch with older mplayer, the make part don't work.
"
mplayer.c:856: warning: ignoring return value of 'write', declared with 
attribute
warn_unused_result
mplayer.c: In function 'main':
mplayer.c:3821: warning: ignoring return value of 'system', declared with 
attribute
warn_unused_result
make: *** [mplayer.o] Error 1
"

I have a working setup on my htpc, with coreavc r104 and mplayer r30262 - so i 
tried
to checkout these versions, and build them - but at make, it still had problems 
(both
on my desktop pc, and on the htpc - which is strange, since the exact same setup
compiled before with the same settings on the htpc before).

But this is an other problem, the basic issue, is that latest mplayer have 
problems
with patching (with both coreavc-for-linux r104 and r111).

Original comment by her...@gmail.com on 25 Feb 2010 at 10:46

GoogleCodeExporter commented 9 years ago
r112 compiles against mplayer r30759

Original comment by alannis...@gmail.com on 27 Feb 2010 at 5:22

GoogleCodeExporter commented 9 years ago
Indeed, that worked, thanks.

Original comment by her...@gmail.com on 27 Feb 2010 at 7:19