- big-endian.patch (upstreamed)

OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=135
This commit is contained in:
Petr Gajdos 2022-05-31 09:51:49 +00:00 committed by Git OBS Bridge
parent 7fadb1ab19
commit 4352ad5112
3 changed files with 1 additions and 18 deletions

View File

@ -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);
}

View File

@ -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 <schwab@suse.de>

View File

@ -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