Accepting request 202129 from graphics

- fix include syntax for BigEndian platforms
  (wordaccess-include-be.patch) (forwarded request 202090 from k0da)

OBS-URL: https://build.opensuse.org/request/show/202129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netpbm?expand=0&rev=46
This commit is contained in:
Tomáš Chvátal 2013-10-04 13:59:10 +00:00 committed by Git OBS Bridge
commit 4b8bcf5087
3 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 3 20:47:11 UTC 2013 - dvaleev@suse.com
- fix include syntax for BigEndian platforms
(wordaccess-include-be.patch)
-------------------------------------------------------------------
Wed Sep 11 08:05:40 UTC 2013 - pgajdos@suse.com

View File

@ -43,6 +43,7 @@ Patch5: %{name}-security-scripts.patch
# workaround to #839584 -- just to meet 13.1 beta1 freeze, it
# can be removed as soon as jasper enters factory
Patch6: %{name}-stdbool-after-jasper.patch
Patch7: wordaccess-include-be.patch
BuildRequires: flex
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
@ -116,6 +117,7 @@ source package.
%patch4 -p1
%patch5 -p1
%patch6
%patch7 -p1
mkdir pnmtopalm # for %doc pnmtopalm
cp -p converter/other/pnmtopalm/{LICENSE,README} pnmtopalm

View File

@ -0,0 +1,17 @@
Index: netpbm-10.63.1/lib/util/wordaccess.h
===================================================================
--- netpbm-10.63.1.orig/lib/util/wordaccess.h
+++ netpbm-10.63.1/lib/util/wordaccess.h
@@ -49,10 +49,10 @@
#include "wordaccess_generic.h"
#elif BYTE_ORDER == BIG_ENDIAN
#if UNALIGNED_OK
- #include wordaccess_be_unaligned.h
+ #include "wordaccess_be_unaligned.h"
#else
/* Sparc */
- #include wordaccess_be_aligned.h
+ #include "wordaccess_be_aligned.h"
#endif
#elif HAVE_GCC_BITCOUNT
#if (BITS_PER_LONG == 64)