[Bug 211209] mplayer and mencode build/run problems on i386

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 18 21:03:22 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211209

            Bug ID: 211209
           Summary: mplayer and mencode  build/run problems on i386
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: lenzi.sergio at gmail.com

Created attachment 172678
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172678&action=edit
patches to build mplayer & mencoder with glib

When build last version (1.3.0.20160508) of mplayer/mencoder on i386 on system
10.3 stable the compiler clang breaks with a message that cannot allocate
enough registers...
If compiled with gcc5 (from the ports) it aborts core at all macros expanded
from <ctype.h>, that is: isspace() tolower().....

I decided to change the <ctype.h> functions (that are macros) to glib calls, as
glib is used elsewhere in the code...

This fixes the problem and now mencode and mplayer runs on both amd64 and i386
using the clang base compiler..  

A patch for both ports in format b64encoce is in the attachment, also there is
a shell script=createglibpatches   that buils the patch for glib in the files
directory..

To use(if you need...) just uudecode <attach file>, it will expand to
mplayer.patches.gz
than cd /usr/ports
tar xpvf mplayer.patches.gz it will create mplayer and mencoder files
build the packages AGAIN, and you have the problem solved

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list