[info=2823655146948d059db06d42167044cf7d41f8113e44c5354928d65ddd70045e]
OBS-URL: https://build.opensuse.org/package/show/editors/libtranscript?expand=0&rev=17
This commit is contained in:
parent
d812cfd1fd
commit
e690d86fe4
@ -1,48 +0,0 @@
|
|||||||
From de2a4b8974bf05c8dbf55a9cd20c45834164d5bf Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jan Engelhardt <jengelh@inai.de>
|
|
||||||
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
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
mtime: 1730586175
|
mtime: 1732551759
|
||||||
commit: e55daad0bbd8a60ae582ca3deb4434eb7cad8fd845b2a126495beabd11d58ded
|
commit: 2823655146948d059db06d42167044cf7d41f8113e44c5354928d65ddd70045e
|
||||||
url: https://src.opensuse.org/jengelh/libtranscript
|
url: https://src.opensuse.org/jengelh/libtranscript
|
||||||
revision: master
|
revision: master
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:36e3637c909b39a11c3cae4fa9e6ed4a1540e6df6809ca6cc002e419829061f4
|
oid sha256:9516ee1de4ff18e5a51119d61fd725adc6f1ae8a901fe9e46f9c113c99dc3c59
|
||||||
size 256
|
size 256
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1f8c19f257da5d6fad0ed9a7e5bd2442819e910a19907c38e115116a3955f5fa
|
|
||||||
size 1960626
|
|
Binary file not shown.
BIN
libtranscript-0.3.4.tar.bz2
(Stored with Git LFS)
Normal file
BIN
libtranscript-0.3.4.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
libtranscript-0.3.4.tar.bz2.sig
Normal file
BIN
libtranscript-0.3.4.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 25 00:29:31 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 0.3.4
|
||||||
|
* GCC 14 support
|
||||||
|
- Delete 0001-build-fix-configure-failure-in-gcc-14.patch (merged)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 2 22:22:48 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Sat Nov 2 22:22:48 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libtranscript
|
# spec file for package libtranscript
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
Name: libtranscript
|
Name: libtranscript
|
||||||
%define lname libtranscript1
|
%define lname libtranscript1
|
||||||
Version: 0.3.3
|
Version: 0.3.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A character set conversion library
|
Summary: A character set conversion library
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
@ -28,7 +28,6 @@ URL: https://os.ghalkes.nl/libtranscript.html
|
|||||||
Source: https://os.ghalkes.nl/dist/%name-%version.tar.bz2
|
Source: https://os.ghalkes.nl/dist/%name-%version.tar.bz2
|
||||||
Source2: https://os.ghalkes.nl/dist/%name-%version.tar.bz2.sig
|
Source2: https://os.ghalkes.nl/dist/%name-%version.tar.bz2.sig
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Patch1: 0001-build-fix-configure-failure-in-gcc-14.patch
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gettext-tools
|
BuildRequires: gettext-tools
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -63,7 +62,10 @@ applications that want to make use of libtranscript.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CC=gcc
|
export CC=gcc
|
||||||
%configure --docdir="%_docdir/%name"
|
# not autoconf :-/
|
||||||
|
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
||||||
|
./configure --prefix="%_prefix" --includedir="%_includedir/transcript" \
|
||||||
|
--libdir="%_libdir" --docdir="%_docdir/%name"
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user