[BACK]Return to patch-configure CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / link-grammar / patches

File: [cvs.NetBSD.org] / pkgsrc / textproc / link-grammar / patches / patch-configure (download)

Revision 1.4, Mon Mar 30 23:20:21 2020 UTC (4 months, 1 week ago) by gutteridge
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
Changes since 1.3: +3 -12 lines

link-grammar: update to 5.8.0

Version 5.8.0 (28 February 2020)
 * Java bindings: Remove the obsolete senses API.
 * swig-4.0 compatibility bug fix.
 * English dict: Fixes to support questions ending in WH-words.
 * Copy (merge) Richard van der Dys `node.js` bindings.
 * English dict: Provide head and tail markers for all conjunctions.
 * Remove the Python 2 bindings.
 * Add dialect support to the library.
 * English dict: support for archaic/poetic abbreviations
 * English dict: introduce OH link for vocatives/invocations.
 * English dict: improved parsing of imperatives.
 * Add !!word/ link-parser command for displaying extended word dict info.

Version 5.7.0 (13 Sept 2019)
 * Minor efficiency improvements to the SQL-backed dictionary.
 * Incompatible change to the Exp traversal API.
 * Remove the obsolete and unsupported "corpus statistics" code.
 * Major performance improvement (3x-4x) for long sentences. #996
 * Fix broken build on Windows.
 * Convert Windows build to Visual Studio 2019.
 * Fix a bug that causes random results on 32-bit systems. #1000
 * Fix a bug that could cause missing linkages on some systems. #1007

$NetBSD: patch-configure,v 1.4 2020/03/30 23:20:21 gutteridge Exp $

Fix compiler flag settings.

--- configure.orig	2018-07-27 17:32:48.000000000 +0000
+++ configure
@@ -17808,8 +17808,8 @@ then
 	# But not the NetBSD sh, so use sed instead.
 	# CFLAGS="${CFLAGS//-O[[2-9]]} -g"
 	# CXXFLAGS="${CXXFLAGS//-O[[2-9]]} -g"
-	CFLAGS=`echo -g ${CFLAGS} |sed "s/-O[2-9]//g"`
-	CXXFLAGS=`echo -g ${CXXFLAGS} |sed "s/-O[2-9]//g"`
+	CFLAGS="${CFLAGS} -g"
+	CXXFLAGS="${CXXFLAGS} -g"
 	LDFLAGS="-g ${LDFLAGS}"
 	$as_echo "#define DEBUG 1" >>confdefs.h