Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (d18a05a0fad9b789fc867665fb6e4bbb6b4e16ce)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (d18a05a0fad9b789fc867665fb6e4bbb6b4e16ce)
  • Date: Mon, 20 May 2019 14:03:06 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

devel/bison/DETAILS | 2 -
devel/bison/HISTORY | 5 ++++
devel/bison/PRE_BUILD | 4 +++
devel/bison/patches/libtextyle.patch | 41
+++++++++++++++++++++++++++++++++++
4 files changed, 51 insertions(+), 1 deletion(-)

New commits:
commit d18a05a0fad9b789fc867665fb6e4bbb6b4e16ce
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

devel/bison: version 3.4

diff --git a/devel/bison/DETAILS b/devel/bison/DETAILS
index 89d8f5a..2eecb27b 100755
--- a/devel/bison/DETAILS
+++ b/devel/bison/DETAILS
@@ -1,5 +1,5 @@
SPELL=bison
- VERSION=3.3.2
+ VERSION=3.4
SOURCE=${SPELL}-${VERSION}.tar.xz
SOURCE2=$SOURCE.sig
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
diff --git a/devel/bison/HISTORY b/devel/bison/HISTORY
index f909829..ad00717 100644
--- a/devel/bison/HISTORY
+++ b/devel/bison/HISTORY
@@ -1,3 +1,8 @@
+2019-05-20 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 3.4
+ * PRE_BUILD, patches/libtextyle.patch: added upstream fix for crashing
+ in places like kernel configuration
+
2019-05-18 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS: Update dependency; s/gettext/GETTEXT/

diff --git a/devel/bison/PRE_BUILD b/devel/bison/PRE_BUILD
new file mode 100755
index 0000000..f80ee7d
--- /dev/null
+++ b/devel/bison/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+apply_patch_dir patches
diff --git a/devel/bison/patches/libtextyle.patch
b/devel/bison/patches/libtextyle.patch
new file mode 100644
index 0000000..f40d9ff
--- /dev/null
+++ b/devel/bison/patches/libtextyle.patch
@@ -0,0 +1,41 @@
+From c8e57e81594dd9d8333e221fe64cf00e82213b30 Mon Sep 17 00:00:00 2001
+From: Akim Demaille <akim.demaille AT gmail.com>
+Date: Sun, 19 May 2019 18:14:21 +0200
+Subject: [PATCH] diagnostics: don't crash when libtextstyle is installed
+
+Reported by neok m4700.
+https://lists.gnu.org/archive/html/bison-patches/2019-05/msg00025.html
+https://github.com/akimd/bison/pull/11
+
+* src/complain.c (complain_init_color): style_file_prepare _needs_ a
+string as second argument.
+---
+ THANKS | 1 +
+ src/complain.c | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/THANKS b/THANKS
+index 50b33f48d..07355b23 100644
+--- a/THANKS
++++ b/THANKS
+@@ -118,6 +118,7 @@ Mike Sullivan Mike.sullivan AT Oracle.COM
+ Nate Guerin nathan.guerin AT riseup.net
+ Neil Booth NeilB AT earthling.net
+ Nelson H. F. Beebe beebe AT math.utah.edu
++neok m4700 neok.m4700 AT gmail.com
+ Nick Bowler nbowler AT elliptictech.com
+ Nicolas Bedon nicolas.bedon AT univ-rouen.fr
+ Nicolas Burrus nicolas.burrus AT epita.fr
+diff --git a/src/complain.c b/src/complain.c
+index cd5ee19c..19c03cc3 100644
+--- a/src/complain.c
++++ b/src/complain.c
+@@ -255,7 +255,7 @@ complain_init_color (void)
+ || color_mode == color_html
+ || (color_mode == color_tty && isatty (STDERR_FILENO)))
+ {
+- style_file_prepare ("BISON_STYLE", NULL, pkgdatadir (),
++ style_file_prepare ("BISON_STYLE", "BISON_STYLEDIR", pkgdatadir (),
+ "bison-default.css");
+ /* As a fallback, use the default in the current directory. */
+ struct stat statbuf;



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (d18a05a0fad9b789fc867665fb6e4bbb6b4e16ce), Pavel Vinogradov, 05/20/2019

Archive powered by MHonArc 2.6.24.

Top of Page