Script 'mail_helper' called by obssrc
Hello community,

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

Package is "libtranscript"

Sun Nov  3 07:18:11 2024 rev:10 rq:1220357 version:0.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libtranscript/libtranscript.changes      
2019-12-21 12:32:49.139404255 +0100
+++ /work/SRC/openSUSE:Factory/.libtranscript.new.2020/libtranscript.changes    
2024-11-03 07:18:37.626480226 +0100
@@ -1,0 +2,5 @@
+Sat Nov  2 22:22:48 UTC 2024 - Jan Engelhardt <[email protected]>
+
+- Add 0001-build-fix-configure-failure-in-gcc-14.patch
+
+-------------------------------------------------------------------

New:
----
  0001-build-fix-configure-failure-in-gcc-14.patch
  _scmsync.obsinfo
  build.specials.obscpio

BETA DEBUG BEGIN:
  New:
- Add 0001-build-fix-configure-failure-in-gcc-14.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ libtranscript.spec ++++++
--- /var/tmp/diff_new_pack.QvJX3v/_old  2024-11-03 07:18:39.186544719 +0100
+++ /var/tmp/diff_new_pack.QvJX3v/_new  2024-11-03 07:18:39.202545380 +0100
@@ -24,11 +24,11 @@
 License:        GPL-3.0-only
 Group:          Development/Libraries/C and C++
 URL:            https://os.ghalkes.nl/libtranscript.html
-
-#Git-Clone:    git://github.com/gphalkes/transcript
+#Git-Clone:    https://github.com/gphalkes/transcript
 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:         0001-build-fix-configure-failure-in-gcc-14.patch
 BuildRequires:  fdupes
 BuildRequires:  gettext-tools
 BuildRequires:  libtool
@@ -64,15 +64,14 @@
 %build
 export CC=gcc
 %configure --docdir="%_docdir/%name"
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
 rm -f "%buildroot/%_libdir"/*.la
 %fdupes %buildroot/%_prefix
 
-%post   -p /sbin/ldconfig -n %lname
-%postun -p /sbin/ldconfig -n %lname
+%ldconfig_scriptlets -n %lname
 
 %files -n %lname
 %_libdir/libtranscript.so.1*

++++++ 0001-build-fix-configure-failure-in-gcc-14.patch ++++++
>From de2a4b8974bf05c8dbf55a9cd20c45834164d5bf Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <[email protected]>
Date: Sat, 2 Nov 2024 23:15:00 +0100
Subject: [PATCH] build: fix configure failure in gcc-14
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
References: https://github.com/gphalkes/transcript/pull/1

```
$ ./configure
…
Checking for opendir/readdir/closedir/dirent.h/stdint.h... no
!! Some required functionality is not available. See config.log for details.
…
$ cat config.log
.config.c:12:9: error: implicit declaration of function ‘puts’ 
[-Wimplicit-function-declaration]
// once the right prototype is in view:
.config.c:13:27: error: passing argument 1 of ‘puts’ makes pointer from 
integer without a cast [-Wint-conversion]
```
---
 dist/config.pkg | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dist/config.pkg b/dist/config.pkg
index e2f1d64..0ecd653 100644
--- a/config.pkg
+++ b/config.pkg
@@ -66,6 +66,7 @@ config() {
 #include <sys/types.h>
 #include <stdint.h>
 #include <dirent.h>
+#include <stdio.h>
 
 int main(int argc, char *argv[]) {
        DIR *dir;
@@ -74,7 +75,7 @@ int main(int argc, char *argv[]) {
 
        dir = opendir(".");
        entry = readdir(dir);
-       puts(entry->d_name[0]);
+       puts(entry->d_name);
        closedir(dir);
        return 0;
 }
-- 
2.47.0


++++++ _scmsync.obsinfo ++++++
mtime: 1730586175
commit: e55daad0bbd8a60ae582ca3deb4434eb7cad8fd845b2a126495beabd11d58ded
url: https://src.opensuse.org/jengelh/libtranscript
revision: master

Reply via email to