forked from pool/dcraw
Accepting request 1154230 from graphics
OBS-URL: https://build.opensuse.org/request/show/1154230 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dcraw?expand=0&rev=42
This commit is contained in:
commit
c1bd3472c7
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 20:52:46 UTC 2024 - Michal Jireš <michal.jires@suse.com>
|
||||
|
||||
- Add fix_gcc14_errors.patch (bsc#1220467)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 07:54:56 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
@ -48,6 +48,7 @@ Patch4: dcraw-CVE-2018-5801.patch
|
||||
Patch5: iowrappers.patch
|
||||
Patch6: dcraw-CVE-2021-3624.patch
|
||||
Patch7: dcraw-glibc-2.38.patch
|
||||
Patch8: fix_gcc14_errors.patch
|
||||
BuildRequires: gettext-runtime
|
||||
BuildRequires: libjasper-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
@ -70,6 +71,7 @@ cp -a %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} .
|
||||
%patch -P 5 -p1
|
||||
%patch -P 6 -p1
|
||||
%patch -P 7 -p1
|
||||
%patch -P 8 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fstack-protector-all"
|
||||
|
24
fix_gcc14_errors.patch
Normal file
24
fix_gcc14_errors.patch
Normal file
@ -0,0 +1,24 @@
|
||||
Index: dcraw/fuji_green.c
|
||||
===================================================================
|
||||
--- dcraw.orig/fuji_green.c
|
||||
+++ dcraw/fuji_green.c
|
||||
@@ -5,6 +5,7 @@
|
||||
$Date: 2006/03/01 01:46:47 $
|
||||
*/
|
||||
|
||||
+#define _XOPEN_SOURCE
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <setjmp.h>
|
||||
Index: dcraw/fujiturn.c
|
||||
===================================================================
|
||||
--- dcraw.orig/fujiturn.c
|
||||
+++ dcraw/fujiturn.c
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
+#include <arpa/inet.h>
|
||||
|
||||
#ifdef _16BIT
|
||||
typedef unsigned short value;
|
Loading…
Reference in New Issue
Block a user