Accepting request 210809 from mozilla:Factory
- Add ppc64le-support.patch: * add support for powerpc64le-linux (forwarded request 210800 from k0da) OBS-URL: https://build.opensuse.org/request/show/210809 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nspr?expand=0&rev=47
This commit is contained in:
commit
faa970a5ab
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 03:58:23 UTC 2013 - uweigand@de.ibm.com
|
||||
|
||||
- Add ppc64le-support.patch:
|
||||
* add support for powerpc64le-linux
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 21:59:52 UTC 2013 - wr@rosenauer.org
|
||||
|
||||
|
@ -35,6 +35,7 @@ Obsoletes: mozilla-nspr-64bit
|
||||
Source: nspr-%{version}.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
Patch0: config-guess-sub-update.diff
|
||||
Patch1: ppc64le-support.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -64,6 +65,7 @@ memory management (malloc and free), and shared library linking.
|
||||
%prep
|
||||
%setup -n nspr-%{version} -q
|
||||
%patch0 -p0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
# set buildtime to "last-modification-time"
|
||||
|
32
ppc64le-support.patch
Normal file
32
ppc64le-support.patch
Normal file
@ -0,0 +1,32 @@
|
||||
Index: nspr-4.10.2/pr/include/md/_linux.cfg
|
||||
===================================================================
|
||||
--- nspr-4.10.2.orig/pr/include/md/_linux.cfg
|
||||
+++ nspr-4.10.2/pr/include/md/_linux.cfg
|
||||
@@ -29,8 +29,13 @@
|
||||
|
||||
#ifdef __powerpc64__
|
||||
|
||||
+#ifdef __LITTLE_ENDIAN__
|
||||
+#define IS_LITTLE_ENDIAN 1
|
||||
+#undef IS_BIG_ENDIAN
|
||||
+#else
|
||||
#undef IS_LITTLE_ENDIAN
|
||||
#define IS_BIG_ENDIAN 1
|
||||
+#endif
|
||||
#define IS_64
|
||||
|
||||
#define PR_BYTES_PER_BYTE 1
|
||||
@@ -75,8 +80,13 @@
|
||||
|
||||
#elif defined(__powerpc__)
|
||||
|
||||
+#ifdef __LITTLE_ENDIAN__
|
||||
+#define IS_LITTLE_ENDIAN 1
|
||||
+#undef IS_BIG_ENDIAN
|
||||
+#else
|
||||
#undef IS_LITTLE_ENDIAN
|
||||
#define IS_BIG_ENDIAN 1
|
||||
+#endif
|
||||
|
||||
#define PR_BYTES_PER_BYTE 1
|
||||
#define PR_BYTES_PER_SHORT 2
|
Loading…
Reference in New Issue
Block a user