]> git.pld-linux.org Git - packages/libraw.git/commitdiff
- use glibc types for int64 typedefs, rel 2 auto/th/libraw-0.20.2-2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 14 Feb 2022 21:30:18 +0000 (22:30 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 14 Feb 2022 21:30:18 +0000 (22:30 +0100)
int64.patch [new file with mode: 0644]
libraw.spec

diff --git a/int64.patch b/int64.patch
new file mode 100644 (file)
index 0000000..86672f6
--- /dev/null
@@ -0,0 +1,26 @@
+--- LibRaw-0.20.2/libraw/libraw_types.h~       2020-10-15 07:06:07.000000000 +0200
++++ LibRaw-0.20.2/libraw/libraw_types.h        2022-02-14 22:27:43.313433599 +0100
+@@ -92,8 +92,8 @@
+   typedef __int64 INT64;
+   typedef unsigned __int64 UINT64;
+ #else
+-typedef long long INT64;
+-typedef unsigned long long UINT64;
++typedef int64_t INT64;
++typedef uint64_t UINT64;
+ #endif
+   typedef unsigned char uchar;
+--- LibRaw-0.20.2/internal/defines.h~  2020-10-15 07:06:07.000000000 +0200
++++ LibRaw-0.20.2/internal/defines.h   2022-02-14 22:29:12.905376208 +0100
+@@ -60,8 +60,8 @@
+ #include <unistd.h>
+ #include <utime.h>
+ #include <netinet/in.h>
+-typedef long long INT64;
+-typedef unsigned long long UINT64;
++typedef int64_t INT64;
++typedef uint64_t UINT64;
+ #endif
+ #ifdef NODEPS
index 661704e895b7b2112f7aa74cff64350c0b8da2bb..7193da584fc8c1eb584826309251f990079a9ee2 100644 (file)
@@ -7,12 +7,13 @@ Summary:      LibRaw - a library for reading RAW files
 Summary(pl.UTF-8):     LibRaw - biblioteka do odczytu plików RAW
 Name:          libraw
 Version:       0.20.2
-Release:       1
+Release:       2
 License:       LGPL v2.1 or CDDL v1.0
 Group:         Libraries
 #Source0Download: http://www.libraw.org/download#stable
 Source0:       https://www.libraw.org/data/LibRaw-%{version}.tar.gz
 # Source0-md5: 2e5bedb59ea433e2d2ef6bbbe5253179
+Patch0:                int64.patch
 URL:           https://www.libraw.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -87,6 +88,7 @@ Statyczna biblioteka LibRaw.
 
 %prep
 %setup -q -n LibRaw-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.093383 seconds and 4 git commands to generate.