diff --git a/big-endian.patch b/big-endian.patch deleted file mode 100644 index e09dc9c..0000000 --- a/big-endian.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: netpbm-10.88.1/converter/pbm/pbmtozinc.c -=================================================================== ---- netpbm-10.88.1.orig/converter/pbm/pbmtozinc.c 2019-12-20 12:48:08.981181384 +0100 -+++ netpbm-10.88.1/converter/pbm/pbmtozinc.c 2019-12-20 12:48:58.121462453 +0100 -@@ -110,7 +110,10 @@ packer_putitem(Packer * const packe - - ++packerP->itemsperline; - -- printf ("0x%02x%02x", hi, lo); -+ if (BYTE_ORDER == LITTLE_ENDIAN) -+ printf ("0x%02x%02x", hi, lo); -+ else -+ printf ("0x%02x%02x", lo, hi); - - } - diff --git a/netpbm.changes b/netpbm.changes index 4ff4711..9840efe 100644 --- a/netpbm.changes +++ b/netpbm.changes @@ -126,6 +126,7 @@ Mon May 30 14:55:07 UTC 2022 - pgajdos@suse.com % netpbm-security-scripts.patch (refreshed) - deleted patches - signed-char.patch (upstreamed) + - big-endian.patch (upstreamed) ------------------------------------------------------------------- Sun Dec 19 17:47:53 UTC 2021 - Andreas Schwab diff --git a/netpbm.spec b/netpbm.spec index 824da8a..402a090 100644 --- a/netpbm.spec +++ b/netpbm.spec @@ -41,8 +41,6 @@ Patch1: %{name}-tmpfile.patch #Patch3: %{name}-security-scripts.patch #Patch4: %{name}-gcc-warnings.patch Patch5: makeman-py3.patch -# PATCH-FIX-UPSTREAM fix dependency on byte order -Patch7: big-endian.patch # bsc#1144255 disable jpeg2k support due to removal of jasper Patch8: netpbm-disable-jasper.patch BuildRequires: flex