Source: android-platform-frameworks-native Severity: normal Tags: patch User: [email protected]
Dear Maintainer, This package can be built without erros on ppc64el. Could you please enable it? The patch attached adds it to debian/control file and makes it use the corresponding android/arch directory. I tested it on ppc64el and x86 vms. Thanks and regards. Fernando -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le)
diff -Nru android-platform-frameworks-native-21/debian/changelog android-platform-frameworks-native-21/debian/changelog --- android-platform-frameworks-native-21/debian/changelog 2014-11-26 13:57:20.000000000 +0000 +++ android-platform-frameworks-native-21/debian/changelog 2015-06-22 15:48:59.000000000 +0000 @@ -1,3 +1,9 @@ +android-platform-frameworks-native (21-3ppc64el2) UNRELEASED; urgency=medium + + * Enable ppc64el + + -- Fernando Seiti Furusato <[email protected]> Mon, 22 Jun 2015 15:48:58 +0000 + android-platform-frameworks-native (21-3) unstable; urgency=low * add Breaks: and Replaces: for proper upgrading (Closes: #771062) diff -Nru android-platform-frameworks-native-21/debian/control android-platform-frameworks-native-21/debian/control --- android-platform-frameworks-native-21/debian/control 2014-11-25 11:55:42.000000000 +0000 +++ android-platform-frameworks-native-21/debian/control 2015-06-22 15:48:34.000000000 +0000 @@ -17,7 +17,7 @@ Package: android-libutils Section: libs -Architecture: amd64 i386 +Architecture: amd64 i386 ppc64el Depends: ${misc:Depends}, ${shlibs:Depends} Description: Android utility library Library providing utility functions to Android related tools. This is needed @@ -25,7 +25,7 @@ Package: android-libutils-dev Section: libdevel -Architecture: amd64 i386 +Architecture: amd64 i386 ppc64el Depends: android-libutils (= ${binary:Version}), ${misc:Depends}, android-libcutils-dev diff -Nru android-platform-frameworks-native-21/debian/patches/ppc64el_makefile.patch android-platform-frameworks-native-21/debian/patches/ppc64el_makefile.patch --- android-platform-frameworks-native-21/debian/patches/ppc64el_makefile.patch 1970-01-01 00:00:00.000000000 +0000 +++ android-platform-frameworks-native-21/debian/patches/ppc64el_makefile.patch 2015-06-22 15:48:34.000000000 +0000 @@ -0,0 +1,20 @@ +Index: android-platform-frameworks-native-21/libs/utils/Makefile +=================================================================== +--- android-platform-frameworks-native-21.orig/libs/utils/Makefile ++++ android-platform-frameworks-native-21/libs/utils/Makefile +@@ -37,8 +37,14 @@ OBJECTS = $(SOURCES:.cpp=.o) + # Debian has gettid, but this build doesn't find it + # -DHAVE_GETTID \ + ++ifeq ($(findstring ppc,$(shell uname -m)),ppc) ++ ARCHDIR=linux-ppc ++else ++ ARCHDIR=linux-x86 ++endif ++ + ALL_CXXFLAGS = -O2 -fPIC -I../../include -I/usr/include/android \ +- -include /usr/include/android/arch/linux-x86/AndroidConfig.h ++ -include /usr/include/android/arch/$(ARCHDIR)/AndroidConfig.h + ALL_LDFLAGS = -fPIC -shared -rdynamic -Wl,-rpath=/usr/lib/android + ALL_LIBS = -lrt -ldl -lz -lpthread -L/usr/lib/android -lcutils -llog + diff -Nru android-platform-frameworks-native-21/debian/patches/series android-platform-frameworks-native-21/debian/patches/series --- android-platform-frameworks-native-21/debian/patches/series 2014-05-26 03:13:03.000000000 +0000 +++ android-platform-frameworks-native-21/debian/patches/series 2015-06-22 15:48:34.000000000 +0000 @@ -1,2 +1,3 @@ libutils_makefile.patch main_makefile.patch +ppc64el_makefile.patch

