Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libnjb for openSUSE:Factory checked in at 2026-02-17 16:51:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libnjb (Old) and /work/SRC/openSUSE:Factory/.libnjb.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnjb" Tue Feb 17 16:51:22 2026 rev:13 rq:1333461 version:2.2.7 Changes: -------- --- /work/SRC/openSUSE:Factory/libnjb/libnjb.changes 2024-03-01 23:36:44.947940564 +0100 +++ /work/SRC/openSUSE:Factory/.libnjb.new.1977/libnjb.changes 2026-02-17 16:53:04.605800289 +0100 @@ -1,0 +2,6 @@ +Mon Feb 16 23:36:46 UTC 2026 - Yasuhiko Kamata <[email protected]> + +- Added patch libnjb-function-def-params.diff to fix a build error + in openSUSE:Factory:Rebuild. + +------------------------------------------------------------------- @@ -29,2 +34,0 @@ - -------------------------------------------------------------------- New: ---- libnjb-function-def-params.diff ----------(New B)---------- New: - Added patch libnjb-function-def-params.diff to fix a build error in openSUSE:Factory:Rebuild. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnjb.spec ++++++ --- /var/tmp/diff_new_pack.0Sahud/_old 2026-02-17 16:53:06.137864323 +0100 +++ /var/tmp/diff_new_pack.0Sahud/_new 2026-02-17 16:53:06.141864491 +0100 @@ -1,7 +1,7 @@ # # spec file for package libnjb # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ URL: http://libnjb.sourceforge.net Source: %{name}-%{version}.tar.gz Patch0: libnjb-no_m4_dir.diff +Patch1: libnjb-function-def-params.diff BuildRequires: libtool BuildRequires: libusb-devel BuildRequires: zlib-devel @@ -54,6 +55,7 @@ %autosetup -p0 %build +export CFLAGS="$CFLAGS -std=gnu89" autoreconf -fiv %configure --program-prefix=njb- --disable-static --with-pic %make_build ++++++ libnjb-function-def-params.diff ++++++ diff -Naru libnjb-2.2.7_orig/src/protocol3.c libnjb-2.2.7/src/protocol3.c --- src/protocol3.c.orig 2011-06-25 20:59:03.000000000 +0900 +++ src/protocol3.c 2026-02-17 07:54:23.068444121 +0900 @@ -1812,9 +1812,9 @@ njb_t *njb; unsigned char *command_block; int command_block_size; - int (*create_metadata_post) (); - int (*add_to_metadata_post) (); - int (*terminate_metadata_post) (); + int (*create_metadata_post) (postid, target); + int (*add_to_metadata_post) (frameid, framelen, data, target); + int (*terminate_metadata_post) (njb, target); { __dsub= "get_metadata_chunks";
