Hello community,

here is the log from the commit of package libpt2 for openSUSE:Factory checked 
in at 2015-01-21 21:53:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpt2 (Old)
 and      /work/SRC/openSUSE:Factory/.libpt2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpt2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpt2/libpt2.changes    2014-02-18 
14:44:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libpt2.new/libpt2.changes       2015-01-21 
21:53:23.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Jan 20 14:12:43 UTC 2015 - [email protected]
+
+- Add libpt2-bison-3.0.patch: Fix build with bison 3.0.
+
+-------------------------------------------------------------------

New:
----
  libpt2-bison-3.0.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libpt2.spec ++++++
--- /var/tmp/diff_new_pack.3DfElz/_old  2015-01-21 21:53:24.000000000 +0100
+++ /var/tmp/diff_new_pack.3DfElz/_new  2015-01-21 21:53:24.000000000 +0100
@@ -38,6 +38,8 @@
 # PATCH-FIX-UPSTREAM libpt2-aarch64.patch [email protected] -- Add support for 
aarch64
 Patch2:         libpt2-aarch64.patch
 Patch3:         libpt2-ppc64le.patch
+# PATCH-FIX-UPSTREAM libpt2-bison-3.0.patch sf#259 [email protected] -- Fix 
build with bison 3.0
+Patch4:         libpt2-bison-3.0.patch
 BuildRequires:  SDL-devel
 BuildRequires:  bison
 BuildRequires:  cyrus-sasl-devel
@@ -182,6 +184,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %configure \

++++++ libpt2-bison-3.0.patch ++++++
--- ptlib-2.10.11/./src/ptlib/common/getdate.y  2013-08-15 01:20:26.000000000 
+0200
+++ 
/mnt/chroot/cauldron/home/dan/rpm/BUILD/ptlib-2.10.11/src/ptlib/common/getdate.y
    2013-12-15 00:24:27.866481490 +0100
@@ -121,9 +121,9 @@
 static int yylex();
 
 #ifdef __GNUC__
-static int yyerror(char const *msg);
+static int yyerror(void *, char const *msg);
 #else
-static void yyerror(char const *msg);
+static void yyerror(void *, char const *msg);
 #endif
 
 
@@ -132,7 +132,8 @@
 
 %}
 
-%pure_parser
+%pure-parser
+%parse-param {void *parseParam}
 
 %union {
     time_t             Number;
@@ -1018,12 +1019,12 @@
 #endif
 
 #ifdef __GNUC__
-int yyerror(const char * s)
+int yyerror(void *var, const char * s)
 {
   return 0;
 }
 #else
-static void yyerror(const char * s)
+static void yyerror(void *var, const char * s)
 {
 }
 #endif
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to