Compare commits
5 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3f7ab35999 | |||
| 12053f76a7 | |||
| 8e14675252 | |||
| 6762a8f281 | |||
| c148ffc60d |
3
_service
3
_service
@@ -3,7 +3,8 @@
|
||||
<param name="url">https://github.com/nothings/stb.git</param>
|
||||
<param name="scm">git</param>
|
||||
<!-- every header has an own version meanwhile. so using last commit time. -->
|
||||
<param name="version">20230129</param>
|
||||
<param name="revision">af1a5bc352164740c1cc1354942b1c6b72eacb8a</param>
|
||||
<param name="version">20240910</param>
|
||||
</service>
|
||||
<service mode="manual" name="set_version" />
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2c021b6db4862328f2452458716173fd361c3ca6c3aa75762046352bce48e939
|
||||
size 4537356
|
||||
BIN
stb-20240910.obscpio
LFS
Normal file
BIN
stb-20240910.obscpio
LFS
Normal file
Binary file not shown.
20
stb.changes
20
stb.changes
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 5 10:52:48 UTC 2025 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Move pkgconfig creation to source file with sed command to
|
||||
hopefully avoid obs set_version breaking the pc version tag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 31 07:19:08 UTC 2025 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
- update to current state (10th sept 2024)
|
||||
Includes follow security fixes:
|
||||
CVE-2019-13217: heap buffer overflow in start_decoder()
|
||||
CVE-2019-13218: stack buffer overflow in compute_codewords()
|
||||
CVE-2019-13219: uninitialized memory in vorbis_decode_packet_rest()
|
||||
CVE-2019-13220: out-of-range read in draw_line()
|
||||
CVE-2019-13221: issue with large 1D codebooks in lookup1_values()
|
||||
CVE-2019-13222: unchecked NULL returned by get_window()
|
||||
CVE-2019-13223: division by zero in predict_point()
|
||||
boo#1216478
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 13:46:41 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: stb
|
||||
version: 20230129
|
||||
mtime: 1675018027
|
||||
commit: 5736b15f7ea0ffb08dd38af21067c314d6a3aae9
|
||||
version: 20240910
|
||||
mtime: 1631260109
|
||||
commit: af1a5bc352164740c1cc1354942b1c6b72eacb8a
|
||||
|
||||
7
stb.pc.in
Normal file
7
stb.pc.in
Normal file
@@ -0,0 +1,7 @@
|
||||
prefix=@_prefix@
|
||||
includedir=@_includedir@
|
||||
|
||||
Name: stb
|
||||
Description: Single-File Public Domain Libraries for C/C++
|
||||
Version: @version@
|
||||
Cflags: -I${includedir}/stb
|
||||
21
stb.spec
21
stb.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package stb
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,13 +17,14 @@
|
||||
|
||||
|
||||
Name: stb
|
||||
Version: 20230129
|
||||
Version: 20240910
|
||||
Release: 0
|
||||
Summary: Single-File Public Domain Libraries for C/C++
|
||||
License: MIT OR Unlicense
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/nothings/stb
|
||||
Source0: stb-%{version}.tar.xz
|
||||
Source1: stb.pc.in
|
||||
# perlin.h got removed in git, breaking build
|
||||
Patch1: fix-compile.patch
|
||||
BuildRequires: c++_compiler
|
||||
@@ -87,17 +88,11 @@ stb_leakcheck.h | misc | quick-and-dirty malloc/free lea
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
# pkgconf
|
||||
cat > stb.pc << EOF
|
||||
prefix=%{_prefix}
|
||||
exec_prefix=\${prefix}
|
||||
includedir=%{_includedir}
|
||||
|
||||
Name: %{name}
|
||||
Description: %{summary}
|
||||
Version: %{version}
|
||||
Cflags: -I\${includedir}/stb
|
||||
EOF
|
||||
sed \
|
||||
-e "s-@_prefix@-%{_prefix}-g" \
|
||||
-e "s-@_includedir@-%{_includedir}-g" \
|
||||
-e "s-@version@-%{version}-g" \
|
||||
%{SOURCE1} > stb.pc
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_includedir/stb
|
||||
|
||||
Reference in New Issue
Block a user