Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nco for openSUSE:Factory checked in 
at 2026-11-26 15:55:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nco (Old)
 and      /work/SRC/openSUSE:Factory/.nco.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nco"

Thu Nov 26 15:55:13 2026 rev:16 rq:1400787 version:5.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/nco/nco.changes  2026-10-28 17:48:53.523949084 
+0100
+++ /work/SRC/openSUSE:Factory/.nco.new.1340718/nco.changes     2026-11-26 
15:56:48.203387742 +0100
@@ -1,0 +2,10 @@
+Wed Nov 25 19:59:06 UTC 2026 - Dominique Leuenberger <[email protected]>
+
+- Use autoreconf -fi instead of broken manual autoconf/aclocal
+  order to fix AM_JOBSERVER substitution with Automake 1.20.
+- Add BuildRequires: libtool (required by autoreconf).
+- Add nco-flex-yyunput.patch: Change (void)yyunput(X,Y) to
+  (void)yyunput(X) for compatibility with Flex 2.6.5+ (commit
+  be82ad2d).
+
+-------------------------------------------------------------------

New:
----
  nco-flex-yyunput.patch

----------(New B)----------
  New:- Add BuildRequires: libtool (required by autoreconf).
- Add nco-flex-yyunput.patch: Change (void)yyunput(X,Y) to
  (void)yyunput(X) for compatibility with Flex 2.6.5+ (commit
----------(New E)----------

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

Other differences:
------------------
++++++ nco.spec ++++++
--- /var/tmp/diff_new_pack.6S7rgA/_old  2026-11-26 15:56:49.624447955 +0100
+++ /var/tmp/diff_new_pack.6S7rgA/_new  2026-11-26 15:56:49.628448124 +0100
@@ -38,6 +38,8 @@
 URL:            https://github.com/nco/nco/
 Source0:        
https://github.com/nco/nco/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        %{name}-rpmlintrc
+# PATCH-FIX-UPSTREAM be82ad2d63946f8efcd0b24a6f07d4059674c483 Change 
(void)yyunput(X,Y) to (void)yyunput(X) for Flex 2.6.5+
+Patch0:         nco-flex-yyunput.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  flex
@@ -45,6 +47,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libaec-devel
 BuildRequires:  libsz2-devel
+BuildRequires:  libtool
 BuildRequires:  netcdf
 BuildRequires:  pkgconfig
 BuildRequires:  texinfo
@@ -119,14 +122,12 @@
 This package contains the documentation for %{name}.
 
 %prep
-%autosetup
+%autosetup -p1
 # We need to enable the valarray check, so the c++ binding library gets build
 sed -i 's|# AC_CXX_HAVE_VALARRAY|AC_CXX_HAVE_VALARRAY|' configure.ac
 
 %build
-autoconf
-aclocal
-automake --foreign
+autoreconf -fi
 %configure \
     --disable-static \
     --prefix=%{_prefix} \

++++++ nco-flex-yyunput.patch ++++++
>From be82ad2d63946f8efcd0b24a6f07d4059674c483 Mon Sep 17 00:00:00 2001
From: Charlie Zender <[email protected]>
Date: Mon, 23 Nov 2026 08:41:42 -0800
Subject: [PATCH] Change (void)yyunput(X,Y) to (void)yyunput(X) for Flex 2.6.5+

Flex 2.6.5+ defines unput as a 1-argument macro yyunput(c, yytext_ptr),
so calling yyunput with 2 arguments fails compilation.
---
 src/nco/ncap_lex.l | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/nco/ncap_lex.l
+++ b/src/nco/ncap_lex.l
@@ -817,7 +817,7 @@ M_PI {return NAMED_CONSTANT;}
   
   if(0){ /* Remove some compiler warning messages CEWI */
     /* Following two statements remove "defined but not used" messages in 
ncap_lex.c (lex.yy.c) */
-    (void)yyunput((int)0,(char *)NULL);
+    (void)yyunput((int)0);
     /*    (void)yy_flex_realloc((void *)NULL,(size_t)NULL);*/
     /* Remove warnings which only occur on SGI IRIX cc */
     yy_full_match=yy_full_match+0;

Reply via email to