Date: Mon, 18 Jul 2016 21:03:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211209] mplayer and mencode build/run problems on i386 Message-ID: <bug-211209-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211209 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@FreeBSD.org Reporter: lenzi.sergio@gmail.com Created attachment 172678 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172678&action= =3Dedit patches to build mplayer & mencoder with glib When build last version (1.3.0.20160508) of mplayer/mencoder on i386 on sys= tem 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 i= 386 using the clang base compiler..=20=20 A patch for both ports in format b64encoce is in the attachment, also there= is a shell script=3Dcreateglibpatches that buils the patch for glib in the f= iles 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211209-13>