Merge lp:~james-page/ubuntu/natty/libjna-java/multiarch-fix-2 into lp:ubuntu/natty/libjna-java

Proposed by James Page
Status: Merged
Merged at revision: 10
Proposed branch: lp:~james-page/ubuntu/natty/libjna-java/multiarch-fix-2
Merge into: lp:ubuntu/natty/libjna-java
Diff against target: 39 lines (+8/-2)
3 files modified
debian/changelog (+6/-0)
debian/patches/07-multiarch-support.patch (+1/-1)
src/com/sun/jna/NativeLibrary.java (+1/-1)
To merge this branch: bzr merge lp:~james-page/ubuntu/natty/libjna-java/multiarch-fix-2
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+55136@code.launchpad.net

Description of the change

Minor update to ensure that multiarch paths for powerpc are generated correctly.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-03-22 08:57:17 +0000
3+++ debian/changelog 2011-03-28 12:25:18 +0000
4@@ -1,3 +1,9 @@
5+libjna-java (3.2.4-2ubuntu2) natty; urgency=low
6+
7+ * Fix incorrect generation of PowerPC multi-arch paths (LP: #737603).
8+
9+ -- James Page <james.page@canonical.com> Mon, 28 Mar 2011 09:27:48 +0100
10+
11 libjna-java (3.2.4-2ubuntu1) natty; urgency=low
12
13 * Fix native library search to be multi-arch compatible (LP: #737603):
14
15=== modified file 'debian/patches/07-multiarch-support.patch'
16--- debian/patches/07-multiarch-support.patch 2011-03-22 08:57:17 +0000
17+++ debian/patches/07-multiarch-support.patch 2011-03-28 12:25:18 +0000
18@@ -64,7 +64,7 @@
19 + if (Platform.isIntel()) {
20 + cpu = (Platform.is64Bit() ? "x86_64" : "i386");
21 + } else if (Platform.isPPC()) {
22-+ cpu = (Platform.is64Bit() ? "ppc64" : "ppc");
23++ cpu = (Platform.is64Bit() ? "powerpc64" : "powerpc");
24 + } else if (Platform.isARM()) {
25 + cpu = "arm";
26 + libc = "gnueabi";
27
28=== modified file 'src/com/sun/jna/NativeLibrary.java'
29--- src/com/sun/jna/NativeLibrary.java 2011-03-22 08:57:17 +0000
30+++ src/com/sun/jna/NativeLibrary.java 2011-03-28 12:25:18 +0000
31@@ -639,7 +639,7 @@
32 if (Platform.isIntel()) {
33 cpu = (Platform.is64Bit() ? "x86_64" : "i386");
34 } else if (Platform.isPPC()) {
35- cpu = (Platform.is64Bit() ? "ppc64" : "ppc");
36+ cpu = (Platform.is64Bit() ? "powerpc64" : "powerpc");
37 } else if (Platform.isARM()) {
38 cpu = "arm";
39 libc = "gnueabi";

Subscribers

People subscribed via source and target branches

to all changes: