Dominique Leuenberger 2023-01-20 16:38:03 +00:00 committed by Git OBS Bridge
commit 7c5c52622f
3 changed files with 6 additions and 19 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

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 19 09:15:10 UTC 2023 - Otto Hollmann <otto.hollmann@suse.com>
- Drop patch big-endian.patch, already in upstream since 10.87.00
-------------------------------------------------------------------
Sun Sep 18 09:15:29 UTC 2022 - Andreas Schwab <schwab@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package netpbm
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -43,8 +43,6 @@ Patch4: %{name}-gcc-warnings.patch
Patch5: makeman-py3.patch
# PATCH-FIX-UPSTREAM fix bad use of plain char
Patch6: signed-char.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
# PATCH-FIX-UPSTREAM fix arithmetic overflow in ppmforge (https://sourceforge.net/p/netpbm/code/4428/)