Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package link-grammar for openSUSE:Factory 
checked in at 2026-11-04 19:46:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/link-grammar (Old)
 and      /work/SRC/openSUSE:Factory/.link-grammar.new.3759290 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "link-grammar"

Wed Nov  4 19:46:54 2026 rev:56 rq:1394885 version:5.13.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/link-grammar/link-grammar.changes        
2026-09-29 17:56:07.775078274 +0200
+++ /work/SRC/openSUSE:Factory/.link-grammar.new.3759290/link-grammar.changes   
2026-11-04 19:50:36.457326891 +0100
@@ -1,0 +2,12 @@
+Wed Nov  4 07:40:43 UTC 2026 - Dominique Leuenberger <[email protected]>
+
+- Update to version 5.13.2:
+  * Fix compilation error in previous release
+- Changes from version 5.13.1:
+  * Fix CC passing in Makefile.am
+  * link_grammar.i: Use PyLong_* instead of PyInt_*
+  * node.js dependencies update
+  * Fix compiler warnings about `const char*`
+- Update version dependencies according to meson.build.
+
+-------------------------------------------------------------------

Old:
----
  link-grammar-5.13.0.tar.gz

New:
----
  link-grammar-5.13.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ link-grammar.spec ++++++
--- /var/tmp/diff_new_pack.BJJpXB/_old  2026-11-04 19:50:37.362364631 +0100
+++ /var/tmp/diff_new_pack.BJJpXB/_new  2026-11-04 19:50:37.367364839 +0100
@@ -18,7 +18,7 @@
 
 %define lname liblink-grammar5
 Name:           link-grammar
-Version:        5.13.0
+Version:        5.13.2
 Release:        0
 Summary:        Syntactic parser and grammar checker
 License:        LGPL-2.1-only
@@ -37,7 +37,7 @@
 BuildRequires:  pkgconfig(hunspell)
 BuildRequires:  pkgconfig(libedit)
 BuildRequires:  pkgconfig(libpcre2-8)
-BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(sqlite3) >= 3.0.0
 BuildRequires:  pkgconfig(zlib)
 Obsoletes:      perl-clinkgrammar < 5.4.3
 

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.BJJpXB/_old  2026-11-04 19:50:37.437367759 +0100
+++ /var/tmp/diff_new_pack.BJJpXB/_new  2026-11-04 19:50:37.440367884 +0100
@@ -1,7 +1,7 @@
-mtime: 1790680521
-commit: a30bdce9ba8c7f3a759ff48ec92a313c24eb8d42327a8e48fa7e43f7a823e00f
+mtime: 1793778224
+commit: edb02da3ee15a0eb442555f41950eb57f68bc1ea319b1c771d1a67efd538ab0f
 url: https://src.opensuse.org/GNOME/link-grammar
-revision: a30bdce9ba8c7f3a759ff48ec92a313c24eb8d42327a8e48fa7e43f7a823e00f
+revision: edb02da3ee15a0eb442555f41950eb57f68bc1ea319b1c771d1a67efd538ab0f
 trackingbranch: factory
 projectscmsync: https://src.opensuse.org/GNOME/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-11-04 08:43:44.000000000 +0100
@@ -0,0 +1,5 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild
+osc-collab.*

++++++ link-grammar-5.13.0.tar.gz -> link-grammar-5.13.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/ChangeLog 
new/link-grammar-5.13.2/ChangeLog
--- old/link-grammar-5.13.0/ChangeLog   2025-10-29 04:45:35.000000000 +0100
+++ new/link-grammar-5.13.2/ChangeLog   2026-11-04 01:52:23.000000000 +0100
@@ -1,3 +1,12 @@
+Version 5.13.2 (4 November 2026)
+ * Fix compilation error in previous release! Ouch!
+
+Version 5.13.1 (3 November 2026)
+ * Fix CC passing in Makefile.am #1540
+ * link_grammar.i: Use PyLong_* instead of PyInt_* #1543
+ * node.js dependencies update. Security issue #1
+ * Fix compiler warnings about `const char*`
+
 Version 5.13.0 (28 October 2025)
  * Minor English dictionary fixes.
  * Bump minor version number due to changed lg-atomese API.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/README.md 
new/link-grammar-5.13.2/README.md
--- old/link-grammar-5.13.0/README.md   2025-10-29 04:46:51.000000000 +0100
+++ new/link-grammar-5.13.2/README.md   2026-11-04 01:53:17.000000000 +0100
@@ -1,6 +1,6 @@
 Link Grammar Parser
 ===================
-***Version 5.13.0***
+***Version 5.13.2***
 
 
![Main](https://github.com/opencog/link-grammar/actions/workflows/main.yml/badge.svg)
 
![node.js](https://github.com/opencog/link-grammar/actions/workflows/bindings-js.yml/badge.svg)
@@ -316,7 +316,7 @@
 no malicious changes were made to the code internals by third
 parties. The signatures can be checked with the gpg command:
 
-`gpg --verify link-grammar-5.13.0.tar.gz.asc`
+`gpg --verify link-grammar-5.13.2.tar.gz.asc`
 
 which should generate output identical to (except for the date):
 ```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/bindings/node.js/package.json 
new/link-grammar-5.13.2/bindings/node.js/package.json
--- old/link-grammar-5.13.0/bindings/node.js/package.json       2025-01-18 
05:07:28.000000000 +0100
+++ new/link-grammar-5.13.2/bindings/node.js/package.json       2026-11-03 
23:16:54.000000000 +0100
@@ -28,12 +28,13 @@
     "ffi": "latest",
     "ref": "latest",
     "ref-struct": "latest",
-    "underscore": "latest"
+    "underscore": ">=1.13.8"
   },
   "devDependencies": {
     "coffeescript": "latest",
     "mocha": "latest",
-    "should": "latest"
+    "should": "latest",
+    "underscore": ">=1.13.8"
   },
   "homepage": "https://github.com/rompetoto/link-grammar";,
   "bugs": "https://github.com/rompetoto/link-grammar/issues";,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/bindings/python/__init__.py 
new/link-grammar-5.13.2/bindings/python/__init__.py
--- old/link-grammar-5.13.0/bindings/python/__init__.py 2025-10-29 
04:53:32.000000000 +0100
+++ new/link-grammar-5.13.2/bindings/python/__init__.py 2026-11-04 
01:54:19.000000000 +0100
@@ -1,6 +1,6 @@
 #
 # __init__.py  file for Link Grammar Python bindings
 #
-__version__ = "5.13.0"
+__version__ = "5.13.2"
 
 from .linkgrammar import *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/link-grammar-5.13.0/bindings/python/lg_python_wrap.cc 
new/link-grammar-5.13.2/bindings/python/lg_python_wrap.cc
--- old/link-grammar-5.13.0/bindings/python/lg_python_wrap.cc   2025-10-29 
04:56:08.000000000 +0100
+++ new/link-grammar-5.13.2/bindings/python/lg_python_wrap.cc   2026-11-04 
01:54:25.000000000 +0100
@@ -4039,7 +4039,7 @@
    int n = lg_error_printall(PythonCallBack, func_and_data);
    Py_DECREF(func_and_data);
 
-   PyObject *py_n = PyInt_FromLong(n);
+   PyObject *py_n = PyLong_FromLong(n);
    return py_n;
 }
 
@@ -8728,14 +8728,14 @@
     }
     else
     {
-      if (!PyInt_Check(swig_obj[1]))
+      if (!PyLong_Check(swig_obj[1]))
       {
         SWIG_exception_fail(SWIG_TypeError, errmsg);
         error = true;
       }
       else
       {
-        arg20 = (int)PyInt_AsLong(swig_obj[1]);
+        arg20 = (int)PyLong_AsLong(swig_obj[1]);
       }
       
       if ((arg20 < 0) || (arg20 > lg_None))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/bindings/swig/link_grammar.i 
new/link-grammar-5.13.2/bindings/swig/link_grammar.i
--- old/link-grammar-5.13.0/bindings/swig/link_grammar.i        2025-01-18 
05:07:28.000000000 +0100
+++ new/link-grammar-5.13.2/bindings/swig/link_grammar.i        2026-11-03 
23:16:54.000000000 +0100
@@ -281,14 +281,14 @@
    }
    else
    {
-      if (!PyInt_Check($input))
+      if (!PyLong_Check($input))
       {
          SWIG_exception_fail(SWIG_TypeError, errmsg);
          error = true;
       }
       else
       {
-          arg = (int)PyInt_AsLong($input);
+          arg = (int)PyLong_AsLong($input);
       }
 
       if ((arg < 0) || (arg > lg_None))
@@ -358,7 +358,7 @@
    int n = lg_error_printall(PythonCallBack, func_and_data);
    Py_DECREF(func_and_data);
 
-   PyObject *py_n = PyInt_FromLong(n);
+   PyObject *py_n = PyLong_FromLong(n);
    return py_n;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/configure 
new/link-grammar-5.13.2/configure
--- old/link-grammar-5.13.0/configure   2025-10-29 04:50:51.000000000 +0100
+++ new/link-grammar-5.13.2/configure   2026-11-04 01:53:59.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for link-grammar 5.13.0.
+# Generated by GNU Autoconf 2.72 for link-grammar 5.13.2.
 #
 # Report bugs to <https://github.com/opencog/link-grammar>.
 #
@@ -614,8 +614,8 @@
 # Identity of this package.
 PACKAGE_NAME='link-grammar'
 PACKAGE_TARNAME='link-grammar'
-PACKAGE_VERSION='5.13.0'
-PACKAGE_STRING='link-grammar 5.13.0'
+PACKAGE_VERSION='5.13.2'
+PACKAGE_STRING='link-grammar 5.13.2'
 PACKAGE_BUGREPORT='https://github.com/opencog/link-grammar'
 PACKAGE_URL='https://opencog.github.io/link-grammar-website'
 
@@ -1522,7 +1522,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-'configure' configures link-grammar 5.13.0 to adapt to many kinds of systems.
+'configure' configures link-grammar 5.13.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1593,7 +1593,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of link-grammar 5.13.0:";;
+     short | recursive ) echo "Configuration of link-grammar 5.13.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1781,7 +1781,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-link-grammar configure 5.13.0
+link-grammar configure 5.13.2
 generated by GNU Autoconf 2.72
 
 Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2363,7 +2363,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by link-grammar $as_me 5.13.0, which was
+It was created by link-grammar $as_me 5.13.2, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3387,7 +3387,7 @@
 PACKAGE=link-grammar
 LINK_MAJOR_VERSION=5
 LINK_MINOR_VERSION=13
-LINK_MICRO_VERSION=0
+LINK_MICRO_VERSION=2
 MAJOR_VERSION_PLUS_MINOR_VERSION=`expr $LINK_MAJOR_VERSION + 
$LINK_MINOR_VERSION`
 VERSION=$LINK_MAJOR_VERSION.$LINK_MINOR_VERSION.$LINK_MICRO_VERSION
 # Version info for libraries = CURRENT:REVISION:AGE
@@ -4098,7 +4098,7 @@
 
 # Define the identity of the package.
  PACKAGE='link-grammar'
- VERSION='5.13.0'
+ VERSION='5.13.2'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -26298,7 +26298,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by link-grammar $as_me 5.13.0, which was
+This file was extended by link-grammar $as_me 5.13.2, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -26358,7 +26358,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-link-grammar config.status 5.13.0
+link-grammar config.status 5.13.2
 configured by $0, generated by GNU Autoconf 2.72,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/configure.ac 
new/link-grammar-5.13.2/configure.ac
--- old/link-grammar-5.13.0/configure.ac        2025-10-29 04:49:26.000000000 
+0100
+++ new/link-grammar-5.13.2/configure.ac        2026-11-04 01:52:56.000000000 
+0100
@@ -6,7 +6,7 @@
 #
 # Don't end the URLs with a slash even if it appears in the official address,
 # because we may append a component. Also, they cannot include "!".
-AC_INIT([link-grammar],[5.13.0],[https://github.com/opencog/link-grammar],[],
+AC_INIT([link-grammar],[5.13.2],[https://github.com/opencog/link-grammar],[],
                  [https://opencog.github.io/link-grammar-website])
 
 # Check whether we want to set defaults for CFLAGS and CXXFLAGS
@@ -39,7 +39,7 @@
 dnl     3) Increment when interfaces not changed at all,
 dnl        only bug fixes or internal changes made.
 dnl     4b) Set to zero when adding, removing or changing interfaces.
-LINK_MICRO_VERSION=0
+LINK_MICRO_VERSION=2
 dnl
 dnl     Set this too
 MAJOR_VERSION_PLUS_MINOR_VERSION=`expr $LINK_MAJOR_VERSION + 
$LINK_MINOR_VERSION`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/link-grammar/Makefile.am 
new/link-grammar-5.13.2/link-grammar/Makefile.am
--- old/link-grammar-5.13.0/link-grammar/Makefile.am    2025-01-18 
05:07:28.000000000 +0100
+++ new/link-grammar-5.13.2/link-grammar/Makefile.am    2026-11-03 
23:16:54.000000000 +0100
@@ -30,7 +30,7 @@
    pkgdatadir_realpath := $(pkgdatadir)
 endif
 
-DEFS = @DEFS@ -DVERSION=\"@VERSION@\" 
-DDICTIONARY_DIR=\"$(pkgdatadir_realpath)\" -DCC=\"$(CC)\"
+DEFS = @DEFS@ -DVERSION=\"@VERSION@\" 
-DDICTIONARY_DIR=\"$(pkgdatadir_realpath)\" -DCC=\"$(firstword $(CC))\"
 
 # $(top_builddir) to pick up autogened link-grammar/link-features.h
 AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/link-grammar/Makefile.in 
new/link-grammar-5.13.2/link-grammar/Makefile.in
--- old/link-grammar-5.13.0/link-grammar/Makefile.in    2025-10-29 
04:50:52.000000000 +0100
+++ new/link-grammar-5.13.2/link-grammar/Makefile.in    2026-11-04 
01:54:00.000000000 +0100
@@ -408,7 +408,7 @@
 CXXFLAGS = @CXXFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFAULT_VISIBILITY = @DEFAULT_VISIBILITY@
-DEFS = @DEFS@ -DVERSION=\"@VERSION@\" 
-DDICTIONARY_DIR=\"$(pkgdatadir_realpath)\" -DCC=\"$(CC)\"
+DEFS = @DEFS@ -DVERSION=\"@VERSION@\" 
-DDICTIONARY_DIR=\"$(pkgdatadir_realpath)\" -DCC=\"$(firstword $(CC))\"
 DEPDIR = @DEPDIR@
 DISCUSSION_GROUP = @DISCUSSION_GROUP@
 DLLTOOL = @DLLTOOL@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/link-grammar/connectors.c 
new/link-grammar-5.13.2/link-grammar/connectors.c
--- old/link-grammar-5.13.0/link-grammar/connectors.c   2025-01-18 
05:07:28.000000000 +0100
+++ new/link-grammar-5.13.2/link-grammar/connectors.c   2026-11-03 
23:44:15.000000000 +0100
@@ -166,7 +166,7 @@
                restart_cn = cn;
 
                const char *wc_str = econlist[en]->more->string;
-               char *uc_wildcard = strchr(wc_str, LENGTH_LINIT_WILD_TYPE);
+               const char *uc_wildcard = strchr(wc_str, 
LENGTH_LINIT_WILD_TYPE);
 
                for (; cn < ct->num_con; cn++)
                {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/link-grammar-5.13.0/link-grammar/dict-common/dict-common.c 
new/link-grammar-5.13.2/link-grammar/dict-common/dict-common.c
--- old/link-grammar-5.13.0/link-grammar/dict-common/dict-common.c      
2025-01-18 05:07:28.000000000 +0100
+++ new/link-grammar-5.13.2/link-grammar/dict-common/dict-common.c      
2026-11-03 23:26:51.000000000 +0100
@@ -58,7 +58,7 @@
 {
        if (w[0] == '<')
        {
-               char *end = strchr(w, '>');
+               const char *end = strchr(w, '>');
                if (end == NULL) return false;
                if ((end[1] == '\0') || (end[1] == SUBSCRIPT_MARK)) return true;
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/link-grammar/dict-ram/dict-ram.c 
new/link-grammar-5.13.2/link-grammar/dict-ram/dict-ram.c
--- old/link-grammar-5.13.0/link-grammar/dict-ram/dict-ram.c    2025-01-18 
05:07:28.000000000 +0100
+++ new/link-grammar-5.13.2/link-grammar/dict-ram/dict-ram.c    2026-11-03 
23:29:00.000000000 +0100
@@ -284,10 +284,10 @@
  */
 Dict_node * dict_node_wild_lookup(Dictionary dict, const char *s)
 {
-       char * ds = strrchr(s, SUBSCRIPT_DOT); /* Only the rightmost dot is a
-                                                 candidate for SUBSCRIPT_DOT */
-       char * ws = strrchr(s, WILD_TYPE);     /* A SUBSCRIPT_DOT can only 
appear
-                                             after a wild-card */
+       const char * ds = strrchr(s, SUBSCRIPT_DOT); /* Only the rightmost dot 
is a
+                                                       candidate for 
SUBSCRIPT_DOT */
+       const char * ws = strrchr(s, WILD_TYPE);     /* A SUBSCRIPT_DOT can only
+                                                   appear after a wild-card */
        Dict_node * result;
        char * stmp = strdupa(s);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/link-grammar/link-features.h 
new/link-grammar-5.13.2/link-grammar/link-features.h
--- old/link-grammar-5.13.0/link-grammar/link-features.h        2025-10-29 
04:53:32.000000000 +0100
+++ new/link-grammar-5.13.2/link-grammar/link-features.h        2026-11-04 
01:54:19.000000000 +0100
@@ -39,9 +39,9 @@
 
 #define LINK_MAJOR_VERSION 5
 #define LINK_MINOR_VERSION 13
-#define LINK_MICRO_VERSION 0
+#define LINK_MICRO_VERSION 2
 
-#define LINK_VERSION_STRING "5.13.0"
+#define LINK_VERSION_STRING "5.13.2"
 
 /* __VA_ARGS__ must be used because arguments may contain commas. */
 #define lg_xstr(...) lg_str(__VA_ARGS__)
@@ -50,7 +50,7 @@
 #define LG_HOST_OS lg_str(linux-gnu)
 #define LG_CPPFLAGS "CPPFLAGS=" lg_str()
 #define LG_CFLAGS "CFLAGS=" lg_str(-D_DEFAULT_SOURCE -std=c11 -D_BSD_SOURCE 
-D_SVID_SOURCE -D_GNU_SOURCE -D_ISOC11_SOURCE  -g -O3)
-#define LG_DEFS lg_str(-DPACKAGE_NAME="link-grammar" 
-DPACKAGE_TARNAME="link-grammar" -DPACKAGE_VERSION="5.13.0" 
-DPACKAGE_STRING="link-grammar 5.13.0" 
-DPACKAGE_BUGREPORT="https://github.com/opencog/link-grammar"; 
-DPACKAGE_URL="https://opencog.github.io/link-grammar-website"; 
-DPACKAGE="link-grammar" -DVERSION="5.13.0" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_THREADS_H=1 
-DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DYYTEXT_POINTER=1 
-DHAVE___BUILTIN_TYPES_COMPATIBLE_P=1 -DHAVE_TYPEOF=1 -Dtypeof=__typeof__ 
-DHAVE_STRNDUP=1 -DHAVE_STRTOK_R=1 -DHAVE_SIGACTION=1 -DHAVE_MALLOC_TRIM=1 
-DHAVE_ASPRINTF=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_FORK=1 
-DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_PRCTL=1 
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DTLS=_Thread_local 
-DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_VIS
 IBILITY=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 
-DHAVE_LOCALE_T_IN_LOCALE_H=1 -DHAVE_STDATOMIC_H=1 -DUSE_WORDGRAPH_DISPLAY=1 
-DHAVE_SQLITE3=1 -DHAVE_ATOMESE=1 -DHAVE_PCRE2_H=1 -DHAVE_MAYBE_UNINITIALIZED=1 
-DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DSTRERROR_R_CHAR_P=1)
+#define LG_DEFS lg_str(-DPACKAGE_NAME="link-grammar" 
-DPACKAGE_TARNAME="link-grammar" -DPACKAGE_VERSION="5.13.2" 
-DPACKAGE_STRING="link-grammar 5.13.2" 
-DPACKAGE_BUGREPORT="https://github.com/opencog/link-grammar"; 
-DPACKAGE_URL="https://opencog.github.io/link-grammar-website"; 
-DPACKAGE="link-grammar" -DVERSION="5.13.2" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_THREADS_H=1 
-DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DYYTEXT_POINTER=1 
-DHAVE___BUILTIN_TYPES_COMPATIBLE_P=1 -DHAVE_TYPEOF=1 -Dtypeof=__typeof__ 
-DHAVE_STRNDUP=1 -DHAVE_STRTOK_R=1 -DHAVE_SIGACTION=1 -DHAVE_MALLOC_TRIM=1 
-DHAVE_ASPRINTF=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_FORK=1 
-DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_PRCTL=1 
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DTLS=_Thread_local 
-DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_VIS
 IBILITY=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 
-DHAVE_LOCALE_T_IN_LOCALE_H=1 -DHAVE_STDATOMIC_H=1 -DUSE_WORDGRAPH_DISPLAY=1 
-DHAVE_SQLITE3=1 -DHAVE_PCRE2_H=1 -DHAVE_MAYBE_UNINITIALIZED=1 
-DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DSTRERROR_R_CHAR_P=1)
 
 #define DISCUSSION_GROUP "https://groups.google.com/d/forum/link-grammar";
 #define OVERVIEW "https://en.wikipedia.org/wiki/Link_grammar";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/link-grammar/tokenize/tokenize.c 
new/link-grammar-5.13.2/link-grammar/tokenize/tokenize.c
--- old/link-grammar-5.13.0/link-grammar/tokenize/tokenize.c    2025-01-18 
05:07:28.000000000 +0100
+++ new/link-grammar-5.13.2/link-grammar/tokenize/tokenize.c    2026-11-03 
23:29:49.000000000 +0100
@@ -129,7 +129,7 @@
 /**
  * Search in s the first character from utf-8 string xc.
  */
-static char *utf8_str1chr(const char *s, const char *xc)
+static const char *utf8_str1chr(const char *s, const char *xc)
 {
        int len = utf8_charlen(xc);
        if (len < 0) return NULL; /* Invalid UTF-8 */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/link-grammar.spec 
new/link-grammar-5.13.2/link-grammar.spec
--- old/link-grammar-5.13.0/link-grammar.spec   2025-10-29 04:53:32.000000000 
+0100
+++ new/link-grammar-5.13.2/link-grammar.spec   2026-11-04 01:54:19.000000000 
+0100
@@ -1,5 +1,5 @@
 %define name link-grammar
-%define version 5.13.0
+%define version 5.13.2
 %define release 1
 
 Summary: A Natural Language Parser based on Link Grammar Theory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/link-grammar-5.13.0/link-parser/lg_readline.c 
new/link-grammar-5.13.2/link-parser/lg_readline.c
--- old/link-grammar-5.13.0/link-parser/lg_readline.c   2025-01-18 
05:07:28.000000000 +0100
+++ new/link-grammar-5.13.2/link-parser/lg_readline.c   2026-11-04 
01:50:45.000000000 +0100
@@ -328,7 +328,7 @@
                 * normally displayed by most programs. The code after
                 * _el_fn_complete() restores its temporary changes. */
 #if defined O_DIRECTORY && defined O_PATH
-               wchar_t *dn_end = wcsrchr(word_start, L'/');
+               wchar_t *dn_end = (wchar_t*) wcsrchr(word_start, L'/');
                int cwdfd = -1;
 
                if (dn_end != NULL)

Reply via email to