Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (6005d08070d8e8a48a5f7c7b486960e678cfb5be)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (6005d08070d8e8a48a5f7c7b486960e678cfb5be)
  • Date: Sun, 15 Mar 2015 17:27:17 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

editors/vile/HISTORY | 5 +++++
editors/vile/PRE_BUILD | 4 ++++
editors/vile/flex.patch | 19 +++++++++++++++++++
3 files changed, 28 insertions(+)

New commits:
commit 6005d08070d8e8a48a5f7c7b486960e678cfb5be
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

vile: fixed build

diff --git a/editors/vile/HISTORY b/editors/vile/HISTORY
index 95ec564..ac57f20 100644
--- a/editors/vile/HISTORY
+++ b/editors/vile/HISTORY
@@ -1,3 +1,8 @@
+2015-03-16 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: added, to apply patch
+ * flex.patch: added, backported official patch from 0.9.8m, to fix
build
+ against newer flex
+
2014-11-10 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS, DEPENDS, BUILD, CONFIGURE, PROVIDES, INSTALL, profile.d:
created spell, version 9.8
diff --git a/editors/vile/PRE_BUILD b/editors/vile/PRE_BUILD
new file mode 100755
index 0000000..909ef7c
--- /dev/null
+++ b/editors/vile/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p1 < "$SPELL_DIRECTORY/flex.patch"
diff --git a/editors/vile/flex.patch b/editors/vile/flex.patch
new file mode 100644
index 0000000..b0a5ab9
--- /dev/null
+++ b/editors/vile/flex.patch
@@ -0,0 +1,19 @@
+--- vile-9.8l+/filters/filters.h 2013-12-07 11:54:41.000000000 +0000
++++ vile-9.8m/filters/filters.h 2014-03-30 18:22:19.000000000 +0000
+@@ -235,13 +235,15 @@
+ extern FILE *yyget_out (void);
+ extern char *yyget_text (void);
+ extern int yyget_debug (void);
+-extern int yyget_leng (void);
+ extern int yyget_lineno (void);
+ extern int yylex_destroy (void);
+ extern void yyset_debug (int bdebug);
+ extern void yyset_in (FILE * in_str);
+ extern void yyset_lineno (int line_number);
+ extern void yyset_out (FILE * out_str);
++#if !defined(YY_FLEX_SUBMINOR_VERSION) || (YY_FLEX_SUBMINOR_VERSION < 37)
++extern int yyget_leng (void);
++#endif
+ /* there's also warnings for unused 'yyunput()', but I don't see a fix */
+ /* flex's skeleton includes <unistd.h> - no particular reason apparent */
+ #endif



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (6005d08070d8e8a48a5f7c7b486960e678cfb5be), Vlad Glagolev, 03/15/2015

Archive powered by MHonArc 2.6.24.

Top of Page