[packages/libfpx] Rel 2
arekm
arekm at pld-linux.org
Sun Mar 15 01:26:24 CET 2026
commit 3ad70953bbb68dc54541499e1484cccd4fff64c0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 01:26:16 2026 +0100
Rel 2
libfpx-gcc10.patch | 8 ++++++++
libfpx.spec | 4 +++-
2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/libfpx.spec b/libfpx.spec
index 3624f35..621a2b0 100644
--- a/libfpx.spec
+++ b/libfpx.spec
@@ -6,12 +6,13 @@ Summary: FlashPIX OpenSource Toolkit
Summary(pl.UTF-8): Biblioteka do obróbki obrazków FlashPIX
Name: libfpx
Version: 1.3.1.10
-Release: 1
+Release: 2
License: distributable (see COPYING)
Group: Libraries
Source0: http://www.imagemagick.org/download/delegates/%{name}-1.3.1-10.tar.xz
# Source0-md5: 6855850cde24262e3d7fd7b8514d0b1d
Patch0: %{name}-link.patch
+Patch1: %{name}-gcc10.patch
URL: http://www.imagemagick.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.11
@@ -63,6 +64,7 @@ Statyczna wersja biblioteki FlashPIX.
%prep
%setup -q -n %{name}-1.3.1-10
%patch -P0 -p1
+%patch -P1 -p1
ln -f flashpix.h COPYING
diff --git a/libfpx-gcc10.patch b/libfpx-gcc10.patch
new file mode 100644
index 0000000..42aae1e
--- /dev/null
+++ b/libfpx-gcc10.patch
@@ -0,0 +1,8 @@
+--- libfpx-1.3.1-10/jpeg/ejpeg.h.orig 2017-10-05 23:28:14.000000000 +0200
++++ libfpx-1.3.1-10/jpeg/ejpeg.h 2020-06-07 13:55:55.000000000 +0200
+@@ -32,4 +32,4 @@
+ #define IMG_FORMAT_411 0x05 /* Three-component 4:1:1 image */
+
+ JPEGEXPORT
+-int No_JPEG_Header_Flag;
++extern int No_JPEG_Header_Flag;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libfpx.git/commitdiff/3ad70953bbb68dc54541499e1484cccd4fff64c0
More information about the pld-cvs-commit
mailing list