All,

gecko-mediaplayer stopped building correctly against seamonkey libs as of the 
seamonkey 2.22 update.  With 2.23 it appears to be related to the code syntax 
not syncing up with the c++ std, and this can be worked around by specifying 
that during compile time (simply add ' -std=c++11' to the SLKCFLAGS --see 
attached diff).  I tested the workaround on 32-bit and 64-bit Slackware-14.1.


The developer, Kevin DeKorte, is working on a fix for this and xulrunner 26 
build issues for the 1.0.9 release.


I'd like to thank Stefano Palmeri for pointing out the issue.

--PW
--- /var/lib/sbopkg/SBo/14.1/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild	2013-11-22 14:47:41.000000000 -0500
+++ /var/lib/sbopkg/SBo/14.1/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild.sbopkg	2014-01-05 14:49:37.298392706 -0500
@@ -5,7 +5,7 @@
 
 PRGNAM=gecko-mediaplayer
 VERSION=${VERSION:-1.0.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 TAG=${TAG:-_SBo}
 
 if [ -z "$ARCH" ]; then
@@ -22,16 +22,16 @@
 OUTPUT=${OUTPUT:-/tmp}
 
 if [ "$ARCH" = "i486" ]; then
-  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+  SLKCFLAGS="-O2 -march=i486 -mtune=i686 -std=c++11"
   LIBDIRSUFFIX=""
 elif [ "$ARCH" = "i686" ]; then
-  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+  SLKCFLAGS="-O2 -march=i686 -mtune=i686 -std=c++11"
   LIBDIRSUFFIX=""
 elif [ "$ARCH" = "x86_64" ]; then
-  SLKCFLAGS="-O2 -fPIC"
+  SLKCFLAGS="-O2 -fPIC -std=c++11"
   LIBDIRSUFFIX="64"
 else
-  SLKCFLAGS="-O2"
+  SLKCFLAGS="-O2 -std=c++11"
   LIBDIRSUFFIX=""
 fi
 
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/

Reply via email to