Hello community, here is the log from the commit of package djvulibre-djview4 for openSUSE:Factory checked in at 2013-09-13 14:45:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/djvulibre-djview4 (Old) and /work/SRC/openSUSE:Factory/.djvulibre-djview4.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "djvulibre-djview4" Changes: -------- --- /work/SRC/openSUSE:Factory/djvulibre-djview4/djvulibre-djview4.changes 2013-03-28 13:10:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.djvulibre-djview4.new/djvulibre-djview4.changes 2013-09-13 14:45:29.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Sep 11 09:18:32 UTC 2013 - [email protected] + +- npsdk-aarch64-support.patch: Add support for AArch64 in npsdk + +------------------------------------------------------------------- New: ---- npsdk-aarch64-support.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ djvulibre-djview4.spec ++++++ --- /var/tmp/diff_new_pack.rmVvsm/_old 2013-09-13 14:45:29.000000000 +0200 +++ /var/tmp/diff_new_pack.rmVvsm/_new 2013-09-13 14:45:29.000000000 +0200 @@ -36,6 +36,8 @@ Patch1: djview4-nsplugin_manpage.patch # This patch is Suse specific. Patch2: djview4-nsplugin_dir.patch +# PATCH-FIX-UPSTREAM Add support for AArch64 in npsdk +Patch3: npsdk-aarch64-support.patch Requires: djvulibre >= 3.5.18 Conflicts: djvulibre-djview3 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -48,6 +50,7 @@ %setup -n djview4-%{version} %patch1 %patch2 +%patch3 -p1 %build #export NSDEJAVU_CFLAGS="$RPM_OPT_FLAGS" ++++++ npsdk-aarch64-support.patch ++++++ Index: djview4-4.9/nsdejavu/npsdk/prcpucfg.h =================================================================== --- djview4-4.9.orig/nsdejavu/npsdk/prcpucfg.h +++ djview4-4.9/nsdejavu/npsdk/prcpucfg.h @@ -695,6 +695,57 @@ #define PR_BYTES_PER_WORD_LOG2 2 #define PR_BYTES_PER_DWORD_LOG2 3 +#elif defined(__aarch64__) + +#ifdef __AARCH64EL__ +#define IS_LITTLE_ENDIAN 1 +#undef IS_BIG_ENDIAN +#else +#define IS_BIG_ENDIAN 1 +#undef IS_LITTLE_ENDIAN +#endif +#define IS_64 + +#define PR_BYTES_PER_BYTE 1 +#define PR_BYTES_PER_SHORT 2 +#define PR_BYTES_PER_INT 4 +#define PR_BYTES_PER_INT64 8 +#define PR_BYTES_PER_LONG 8 +#define PR_BYTES_PER_FLOAT 4 +#define PR_BYTES_PER_DOUBLE 8 +#define PR_BYTES_PER_WORD 8 +#define PR_BYTES_PER_DWORD 8 + +#define PR_BITS_PER_BYTE 8 +#define PR_BITS_PER_SHORT 16 +#define PR_BITS_PER_INT 32 +#define PR_BITS_PER_INT64 64 +#define PR_BITS_PER_LONG 64 +#define PR_BITS_PER_FLOAT 32 +#define PR_BITS_PER_DOUBLE 64 +#define PR_BITS_PER_WORD 64 + +#define PR_BITS_PER_BYTE_LOG2 3 +#define PR_BITS_PER_SHORT_LOG2 4 +#define PR_BITS_PER_INT_LOG2 5 +#define PR_BITS_PER_INT64_LOG2 6 +#define PR_BITS_PER_LONG_LOG2 6 +#define PR_BITS_PER_FLOAT_LOG2 5 +#define PR_BITS_PER_DOUBLE_LOG2 6 +#define PR_BITS_PER_WORD_LOG2 6 + +#define PR_ALIGN_OF_SHORT 2 +#define PR_ALIGN_OF_INT 4 +#define PR_ALIGN_OF_LONG 8 +#define PR_ALIGN_OF_INT64 8 +#define PR_ALIGN_OF_FLOAT 4 +#define PR_ALIGN_OF_DOUBLE 8 +#define PR_ALIGN_OF_POINTER 8 +#define PR_ALIGN_OF_WORD 8 + +#define PR_BYTES_PER_WORD_LOG2 3 +#define PR_BYTES_PER_DWORD_LOG2 3 + #else #error "Unknown CPU architecture" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
