pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2017Q3]: pkgsrc/devel/flex Pullup ticket #5605 - requested by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e1678b06621
branches:  pkgsrc-2017Q3
changeset: 408571:3e1678b06621
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon Nov 06 19:01:44 2017 +0000

description:
Pullup ticket #5605 - requested by sevan
devel/flex: Linux build fix

Revisions pulled up:
- devel/flex/Makefile                                           1.61

---
   Module Name:    pkgsrc
   Committed By:   triaxx
   Date:           Fri Oct 20 06:22:24 UTC 2017

   Modified Files:
           pkgsrc/devel/flex: Makefile

   Log Message:
   Add workaround for fixing build on Linux

   See https://github.com/westes/flex/issues/241
   The problem is fixed in master branch and the workaround could be removed
   in the next version update.

diffstat:

 devel/flex/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b9e32303b4ac -r 3e1678b06621 devel/flex/Makefile
--- a/devel/flex/Makefile       Mon Nov 06 18:59:29 2017 +0000
+++ b/devel/flex/Makefile       Mon Nov 06 19:01:44 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2017/07/24 14:34:49 maya Exp $
+# $NetBSD: Makefile,v 1.60.4.1 2017/11/06 19:01:44 bsiegert Exp $
 
 DISTNAME=      flex-2.6.4
 CATEGORIES=    devel lang
@@ -32,6 +32,9 @@
 # https://github.com/westes/flex/issues/219
 CONFIGURE_ENV.NetBSD+= ac_cv_func_reallocarray=no
 
+# https://github.com/westes/flex/issues/241
+CFLAGS.Linux+=         -D_GNU_SOURCE
+
 #.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            bash:build



Home | Main Index | Thread Index | Old Index