Package: gstreamer0.10
Version: 0.10.36-1.2
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

While rebuilding Trusty with a recent version of bison it was noted that
the YYLEX_PARAM has finally been removed.  This patch updates gstreamer
to use the replacement %lex-param:

  * 99_YYLEX_PARAM-deprecated.patch: follow deprecation of YYLEX_PARAM
    in favour of %lex-param.  Fixes FTBFS following bison update.

Thanks for considering the patch.

-apw

-- System Information:
Debian Release: wheezy/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-7-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru gstreamer0.10-0.10.36/debian/patches/99_YYLEX_PARAM-deprecated.patch gstreamer0.10-0.10.36/debian/patches/99_YYLEX_PARAM-deprecated.patch
--- gstreamer0.10-0.10.36/debian/patches/99_YYLEX_PARAM-deprecated.patch	1970-01-01 01:00:00.000000000 +0100
+++ gstreamer0.10-0.10.36/debian/patches/99_YYLEX_PARAM-deprecated.patch	2013-12-17 19:15:21.000000000 +0000
@@ -0,0 +1,21 @@
+Description: switch to %lex-param
+ Follow deprecation of YYLEX_PARAM, switching to equivalent %lex-param.
+Author: Andy Whitcroft <a...@canonical.com>
+Last-Update: 2013-12-17
+
+--- gstreamer0.10-0.10.36.orig/gst/parse/grammar.y
++++ gstreamer0.10-0.10.36/gst/parse/grammar.y
+@@ -1,3 +1,5 @@
++%lex-param {yyscan_t scanner}
++
+ %{
+ #include "../gst_private.h"
+ 
+@@ -26,7 +28,6 @@
+  */
+ 
+ #define YYERROR_VERBOSE 1
+-#define YYLEX_PARAM scanner
+ 
+ #define YYENABLE_NLS 0
+ 
diff -Nru gstreamer0.10-0.10.36/debian/patches/series gstreamer0.10-0.10.36/debian/patches/series
--- gstreamer0.10-0.10.36/debian/patches/series	2013-12-12 07:36:19.000000000 +0000
+++ gstreamer0.10-0.10.36/debian/patches/series	2013-12-17 19:14:11.000000000 +0000
@@ -3,3 +3,4 @@
 99_ltmain_as-needed.patch
 01_fix_webcam_stream_play_hang.patch
 99_update-libtool.patch
+99_YYLEX_PARAM-deprecated.patch

Reply via email to