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
=== modified file 'debian/changelog'
--- debian/changelog 2011-03-22 08:57:17 +0000
+++ debian/changelog 2011-03-28 12:25:18 +0000
@@ -1,3 +1,9 @@
1libjna-java (3.2.4-2ubuntu2) natty; urgency=low
2
3 * Fix incorrect generation of PowerPC multi-arch paths (LP: #737603).
4
5 -- James Page <james.page@canonical.com> Mon, 28 Mar 2011 09:27:48 +0100
6
1libjna-java (3.2.4-2ubuntu1) natty; urgency=low7libjna-java (3.2.4-2ubuntu1) natty; urgency=low
28
3 * Fix native library search to be multi-arch compatible (LP: #737603):9 * Fix native library search to be multi-arch compatible (LP: #737603):
410
=== modified file 'debian/patches/07-multiarch-support.patch'
--- debian/patches/07-multiarch-support.patch 2011-03-22 08:57:17 +0000
+++ debian/patches/07-multiarch-support.patch 2011-03-28 12:25:18 +0000
@@ -64,7 +64,7 @@
64+ if (Platform.isIntel()) {64+ if (Platform.isIntel()) {
65+ cpu = (Platform.is64Bit() ? "x86_64" : "i386");65+ cpu = (Platform.is64Bit() ? "x86_64" : "i386");
66+ } else if (Platform.isPPC()) {66+ } else if (Platform.isPPC()) {
67+ cpu = (Platform.is64Bit() ? "ppc64" : "ppc");67+ cpu = (Platform.is64Bit() ? "powerpc64" : "powerpc");
68+ } else if (Platform.isARM()) {68+ } else if (Platform.isARM()) {
69+ cpu = "arm";69+ cpu = "arm";
70+ libc = "gnueabi";70+ libc = "gnueabi";
7171
=== modified file 'src/com/sun/jna/NativeLibrary.java'
--- src/com/sun/jna/NativeLibrary.java 2011-03-22 08:57:17 +0000
+++ src/com/sun/jna/NativeLibrary.java 2011-03-28 12:25:18 +0000
@@ -639,7 +639,7 @@
639 if (Platform.isIntel()) {639 if (Platform.isIntel()) {
640 cpu = (Platform.is64Bit() ? "x86_64" : "i386");640 cpu = (Platform.is64Bit() ? "x86_64" : "i386");
641 } else if (Platform.isPPC()) {641 } else if (Platform.isPPC()) {
642 cpu = (Platform.is64Bit() ? "ppc64" : "ppc");642 cpu = (Platform.is64Bit() ? "powerpc64" : "powerpc");
643 } else if (Platform.isARM()) {643 } else if (Platform.isARM()) {
644 cpu = "arm";644 cpu = "arm";
645 libc = "gnueabi";645 libc = "gnueabi";

Subscribers

People subscribed via source and target branches

to all changes: