From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kdevelop-pg-qt/, dev-util/kdevelop-pg-qt/files/
Date: Fri, 6 Jan 2017 12:55:10 +0000 (UTC) [thread overview]
Message-ID: <1483707280.8661758a8256de046691782730901271c55916ea.johu@gentoo> (raw)
commit: 8661758a8256de046691782730901271c55916ea
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 6 12:54:22 2017 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Fri Jan 6 12:54:40 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8661758a
dev-util/kdevelop-pg-qt: Fix build w/ sys-devel/flex-2.6.3
Revision bump adds upstream patch to fix build with sys-devel/flex-2.6.3.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
.../files/kdevelop-pg-qt-2.0.0-flex263.patch | 31 ++++++++++++++++++++++
.../kdevelop-pg-qt/kdevelop-pg-qt-2.0.0-r1.ebuild | 25 +++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-util/kdevelop-pg-qt/files/kdevelop-pg-qt-2.0.0-flex263.patch b/dev-util/kdevelop-pg-qt/files/kdevelop-pg-qt-2.0.0-flex263.patch
new file mode 100644
index 00000000..2f2fbee
--- /dev/null
+++ b/dev-util/kdevelop-pg-qt/files/kdevelop-pg-qt-2.0.0-flex263.patch
@@ -0,0 +1,31 @@
+commit 7aa292e5c4b2dc2b8a420e7e8b8e32f61268fe5b
+Author: Leslie Zhai <xiangzhai83@gmail.com>
+Date: Thu Jan 5 11:04:27 2017 +0100
+
+ 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
+
+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"
+ )
+
diff --git a/dev-util/kdevelop-pg-qt/kdevelop-pg-qt-2.0.0-r1.ebuild b/dev-util/kdevelop-pg-qt/kdevelop-pg-qt-2.0.0-r1.ebuild
new file mode 100644
index 00000000..b760d48
--- /dev/null
+++ b/dev-util/kdevelop-pg-qt/kdevelop-pg-qt-2.0.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGIT_BRANCH="2.0"
+KDEBASE="kdevelop"
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="LL(1) parser generator used mainly by KDevelop language plugins"
+LICENSE="LGPL-2+ LGPL-2.1+"
+IUSE=""
+[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ sys-devel/bison
+ sys-devel/flex
+"
+RDEPEND="
+ !dev-util/kdevelop-pg-qt:4
+"
+
+PATCHES=( "${FILESDIR}/${P}-flex263.patch" )
next reply other threads:[~2017-01-06 12:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-06 12:55 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-05-06 20:05 [gentoo-commits] repo/gentoo:master commit in: dev-util/kdevelop-pg-qt/, dev-util/kdevelop-pg-qt/files/ Andreas Sturmlechner
2017-12-16 12:45 Michael Palimaka
2020-03-02 13:05 Andreas Sturmlechner
2024-08-11 6:54 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1483707280.8661758a8256de046691782730901271c55916ea.johu@gentoo \
--to=johu@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox