summaryrefslogtreecommitdiffstats
path: root/debian/patches/38_hppa.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:30:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:30:18 +0000
commit87530b9290c2eacfcdc08c86e41f900016e71fc0 (patch)
treece3e8b732e46912f3e17a20f4a9ec3f43804fb22 /debian/patches/38_hppa.patch
parentAdding upstream version 2:3.87.1. (diff)
downloadnss-debian.tar.xz
nss-debian.zip
Adding debian version 2:3.87.1-1.debian/2%3.87.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/38_hppa.patch')
-rw-r--r--debian/patches/38_hppa.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/38_hppa.patch b/debian/patches/38_hppa.patch
new file mode 100644
index 0000000..99c9970
--- /dev/null
+++ b/debian/patches/38_hppa.patch
@@ -0,0 +1,17 @@
+Description: fix double definition of BYTE_ORDER on hppa
+Author: Helge Deller <deller@gmx.de>
+Bug-Debian: https://bugs.debian.org/808990
+
+Index: nss/nss/lib/dbm/include/mcom_db.h
+===================================================================
+--- nss.orig/nss/lib/dbm/include/mcom_db.h
++++ nss/nss/lib/dbm/include/mcom_db.h
+@@ -110,7 +110,7 @@ typedef PRUint32 uint32;
+ #endif /* !BYTE_ORDER */
+ #endif /* __sun */
+
+-#if defined(__hpux) || defined(__hppa)
++#if defined(__hpux)
+ #define BYTE_ORDER BIG_ENDIAN
+ #define BIG_ENDIAN 4321
+ #define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */