Bug 1075180 - Enable ppc64le in autoconf.h in libecap
Summary: Enable ppc64le in autoconf.h in libecap
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libecap
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jaromír Cápík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-03-11 16:23 UTC by Brent Baude
Modified: 2016-02-01 01:59 UTC (History)
4 users (show)

Fixed In Version: libecap-0.2.0-8.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-13 17:11:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Brent Baude 2014-03-11 16:23:53 UTC
Please consider the following change to autoconf.h in the libecap package.

[baude@ppc64le libecap]$ diff -Nau autoconf.h.orig autoconf.h
--- autoconf.h.orig	2013-09-16 05:25:00.000000000 -0500
+++ autoconf.h	2014-03-11 09:59:56.000000000 -0500
@@ -20,7 +20,12 @@
 #elif defined(__ia64__)
 #include "libecap/common/autoconf-ia64.h"
 #elif defined(__powerpc64__)
+#include <endian.h>
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
 #include "libecap/common/autoconf-ppc64.h"
+#else
+#include "libecap/common/autoconf-ppc64le.h"
+#endif
 #elif defined(__powerpc__)
 #include "libecap/common/autoconf-ppc.h"
 #elif defined(__s390x__)


Note You need to log in before you can comment on or make changes to this bug.