[PATCH] GNU calls little-endian powerpc64 powerpc64le, not powerpc64el

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Sep 29 17:37:55 CEST 2014


* src/Makefile.am (lock_obj_pub): fix powerpc64el to powerpc64le
* src/sysconfig/lock-obj-pub.powerpc64el-unknown-linux-gnu.h : move to
  src/sysconfig/lock-obj-pub.powerpc64le-unknown-linux-gnu.h

--

33e5504fbb5e5e2ff44023c0a22dfb668ff8b10f created lock-obj-pub for
little-endian powerpc64, but misnamed the patch file as powerpc64el
instead of powerpc64le.  Sorry for the earlier mistake, this should
correct it.

See commentary from Helmut Grohne at https://bugs.debian.org/762322#34

Debian-bug-id: 762322
---
 src/Makefile.am                                    |  2 +-
 .../lock-obj-pub.powerpc64el-unknown-linux-gnu.h   | 25 ----------------------
 .../lock-obj-pub.powerpc64le-unknown-linux-gnu.h   | 25 ++++++++++++++++++++++
 3 files changed, 26 insertions(+), 26 deletions(-)
 delete mode 100644 src/syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h
 create mode 100644 src/syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h

diff --git a/src/Makefile.am b/src/Makefile.am
index 62579dc..65f8513 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -57,7 +57,7 @@ lock_obj_pub = \
         syscfg/lock-obj-pub.mipsel-unknown-linux-gnu.h      \
         syscfg/lock-obj-pub.powerpc-unknown-linux-gnu.h     \
         syscfg/lock-obj-pub.powerpc64-unknown-linux-gnu.h   \
-	syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h \
+	syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h \
         syscfg/lock-obj-pub.s390x-ibm-linux-gnu.h           \
         syscfg/lock-obj-pub.sh4-unknown-linux-gnu.h         \
         syscfg/lock-obj-pub.sparc-unknown-linux-gnu.h       \
diff --git a/src/syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h
deleted file mode 100644
index 79073d4..0000000
--- a/src/syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h
+++ /dev/null
@@ -1,25 +0,0 @@
-## lock-obj-pub.powerpc64le-unknown-linux-gnu.h
-## File created by gen-posix-lock-obj - DO NOT EDIT
-## To be included by mkheader into gpg-error.h
-
-typedef struct
-{
-  long _vers;
-  union {
-    volatile char _priv[40];
-    long _x_align;
-    long *_xp_align;
-  } u;
-} gpgrt_lock_t;
-
-#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
-                                    0,0,0,0,0,0,0,0, \
-                                    0,0,0,0,0,0,0,0, \
-                                    0,0,0,0,0,0,0,0, \
-                                    0,0,0,0,0,0,0,0}}}
-##
-## Local Variables:
-## mode: c
-## buffer-read-only: t
-## End:
-##
diff --git a/src/syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h
new file mode 100644
index 0000000..79073d4
--- /dev/null
+++ b/src/syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h
@@ -0,0 +1,25 @@
+## lock-obj-pub.powerpc64le-unknown-linux-gnu.h
+## File created by gen-posix-lock-obj - DO NOT EDIT
+## To be included by mkheader into gpg-error.h
+
+typedef struct
+{
+  long _vers;
+  union {
+    volatile char _priv[40];
+    long _x_align;
+    long *_xp_align;
+  } u;
+} gpgrt_lock_t;
+
+#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
+                                    0,0,0,0,0,0,0,0, \
+                                    0,0,0,0,0,0,0,0, \
+                                    0,0,0,0,0,0,0,0, \
+                                    0,0,0,0,0,0,0,0}}}
+##
+## Local Variables:
+## mode: c
+## buffer-read-only: t
+## End:
+##
-- 
2.1.0




More information about the Gnupg-devel mailing list