Hello community,

here is the log from the commit of package kdevelop5-pg-qt for openSUSE:Factory 
checked in at 2017-07-26 13:06:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdevelop5-pg-qt (Old)
 and      /work/SRC/openSUSE:Factory/.kdevelop5-pg-qt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdevelop5-pg-qt"

Wed Jul 26 13:06:09 2017 rev:2 rq:512573 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdevelop5-pg-qt/kdevelop5-pg-qt.changes  
2016-09-30 15:28:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kdevelop5-pg-qt.new/kdevelop5-pg-qt.changes     
2017-07-26 13:06:10.006717655 +0200
@@ -1,0 +2,6 @@
+Tue Jul 25 22:35:32 UTC 2017 - [email protected]
+
+- Add upstream patch fix-yymore-used-but-not-detected.patch:
+  * Fixes build with newer flex
+
+-------------------------------------------------------------------

New:
----
  fix-yymore-used-but-not-detected.patch

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

Other differences:
------------------
++++++ kdevelop5-pg-qt.spec ++++++
--- /var/tmp/diff_new_pack.xhiRr5/_old  2017-07-26 13:06:10.878594650 +0200
+++ /var/tmp/diff_new_pack.xhiRr5/_new  2017-07-26 13:06:10.886593521 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kdevelop5-pg-qt
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Group:          Development/Tools/IDE
 Url:            http://www.kdevelop.org
 Source0:        
http://download.kde.org/stable/kdevelop-pg-qt/%{version}/src/%{rname}-%{rversion}.tar.xz
+Patch0:         fix-yymore-used-but-not-detected.patch
 BuildRequires:  bison
 BuildRequires:  extra-cmake-modules
 BuildRequires:  flex
@@ -34,13 +35,14 @@
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Test)
 Conflicts:      kdevelop4-pg-qt
-BuildRoot:      %{_tmppath}/%{rname}-%{rversion}-build
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Supporting package for the additional plugins for Kdevelop5 Integrated 
Development Environment
 
 %prep
 %setup -q -n %{rname}-%{rversion}
+%patch0 -p1
 
 %build
   %cmake_kf5 -d build

++++++ fix-yymore-used-but-not-detected.patch ++++++
>From 7aa292e5c4b2dc2b8a420e7e8b8e32f61268fe5b Mon Sep 17 00:00:00 2001
From: Leslie Zhai <[email protected]>
Date: Thu, 5 Jan 2017 11:04:27 +0100
Subject: Fix yymore_used_but_not_detected undefined issue

flex-2.6.3 failed to

```
  #define yymore() yymore_used_but_not_detected
```

throw yymore_used_but_not_detected undefined issue, so I simply added --yymore 
option for CMakeLists.txt

REVIEW: 129766
BUG: 374523
FIXED-IN: 2.0.1
---
 kdev-pg/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kdev-pg/CMakeLists.txt b/kdev-pg/CMakeLists.txt
index 5490835..19dc3a4 100644
--- a/kdev-pg/CMakeLists.txt
+++ b/kdev-pg/CMakeLists.txt
@@ -76,7 +76,7 @@ IF(FLEX_EXECUTABLE)
         DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/kdev-pg-lexer.ll"
                  ${OPTIONAL_PARSER_HEADER_DEPENDENCY}
         COMMAND ${FLEX_EXECUTABLE}
-        ARGS    --nounistd -o"${CMAKE_CURRENT_BINARY_DIR}/kdev-pg-lexer.cc"
+        ARGS    --yymore --nounistd 
-o"${CMAKE_CURRENT_BINARY_DIR}/kdev-pg-lexer.cc"
                 "${CMAKE_CURRENT_SOURCE_DIR}/kdev-pg-lexer.ll"
         )
 
-- 
cgit v0.11.2


Reply via email to