Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libt3key for openSUSE:Factory 
checked in at 2024-11-03 07:17:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libt3key (Old)
 and      /work/SRC/openSUSE:Factory/.libt3key.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libt3key"

Sun Nov  3 07:17:36 2024 rev:8 rq:1220358 version:0.2.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/libt3key/libt3key.changes        2019-12-21 
12:32:43.423401537 +0100
+++ /work/SRC/openSUSE:Factory/.libt3key.new.2020/libt3key.changes      
2024-11-03 07:17:57.700829674 +0100
@@ -1,0 +2,5 @@
+Sat Nov  2 15:11:49 UTC 2024 - Jan Engelhardt <[email protected]>
+
+- Add ncurses.patch to fix FTBFS with gcc-14
+
+-------------------------------------------------------------------

New:
----
  _scmsync.obsinfo
  build.specials.obscpio
  ncurses.patch

BETA DEBUG BEGIN:
  New:
- Add ncurses.patch to fix FTBFS with gcc-14
BETA DEBUG END:

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

Other differences:
------------------
++++++ libt3key.spec ++++++
--- /var/tmp/diff_new_pack.eeB5Am/_old  2024-11-03 07:17:58.224851378 +0100
+++ /var/tmp/diff_new_pack.eeB5Am/_new  2024-11-03 07:17:58.228851544 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libt3key
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,11 +24,11 @@
 License:        GPL-3.0-only
 Group:          Development/Libraries/C and C++
 URL:            https://os.ghalkes.nl/t3/libt3key.html
-
 #Git-Clone:    https://github.com/gphalkes/t3key
 Source:         https://os.ghalkes.nl/dist/%name-%version.tar.bz2
 Source2:        https://os.ghalkes.nl/dist/%name-%version.tar.bz2.sig
 Source3:        %name.keyring
+Patch1:         ncurses.patch
 BuildRequires:  fdupes
 BuildRequires:  gettext-tools
 BuildRequires:  libtool
@@ -77,29 +77,27 @@
 This subpackage contains the t3learnkeys and t3keyc programs.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 export CC=gcc
 %configure --docdir="%_docdir/%name"
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
 rm -f "%buildroot/%_libdir"/*.la
+chmod a+x "%buildroot/%_libdir"/*.so*
 %fdupes %buildroot/%_prefix
 
-%post   -p /sbin/ldconfig -n %lname
-%postun -p /sbin/ldconfig -n %lname
+%ldconfig_scriptlets -n %lname
 
 %files -n %lname
-%defattr(-,root,root)
 %_libdir/libt3key.so.1*
-%doc COPYING
 %_datadir/%lname/
+%license COPYING
 
 %files devel
-%defattr(-,root,root)
 %_includedir/t3/
 %_libdir/libt3key.so
 %_libdir/pkgconfig/libt3key.pc
@@ -107,7 +105,6 @@
 %exclude %_docdir/%name/COPYING
 
 %files utils
-%defattr(-,root,root)
 %_bindir/t3*
 %_mandir/man1/t3*.1*
 

++++++ _scmsync.obsinfo ++++++
mtime: 1730585843
commit: 9a22a59be248dc14a6b28b64cba0c1fb19c02bf18385677fe4648230b3196792
url: https://src.opensuse.org/jengelh/libt3key
revision: master



++++++ ncurses.patch ++++++
From: Jan Engelhardt <[email protected]>
Date: 2024-11-02 16:06:53.256545988 +0100
References: https://github.com/gphalkes/t3key/pull/2

.config.c:8:13: error: implicit declaration of function ‘setupterm’; did 
you mean ‘set_term’? [-Wimplicit-function-declaration]

---
 config.pkg |    1 +
 1 file changed, 1 insertion(+)

Index: libt3key-0.2.10/config.pkg
===================================================================
--- libt3key-0.2.10.orig/config.pkg
+++ libt3key-0.2.10/config.pkg
@@ -144,6 +144,7 @@ EOF
 #include <stdio.h>
 #include <stdlib.h>
 #include <curses.h>
+#include <term.h>
 
 int main(int argc, char *argv[]) {
        int args[9], error, fd;

Reply via email to