diff -Nru upower-0.9.23/debian/changelog upower-0.9.23/debian/changelog --- upower-0.9.23/debian/changelog 2013-10-23 06:31:49.000000000 +0000 +++ upower-0.9.23/debian/changelog 2013-12-21 20:02:13.000000000 +0000 @@ -1,3 +1,9 @@ +upower (0.9.23-2ubuntu1) trusty; urgency=medium + + * ppc64el-support.patch: patch m4/libtool.m4 and regenerate configure. + + -- Adam Conrad Sat, 21 Dec 2013 13:01:42 -0700 + upower (0.9.23-2) unstable; urgency=low * Drop hardcoded binary glib dependency, it's already being generated diff -Nru upower-0.9.23/debian/control upower-0.9.23/debian/control --- upower-0.9.23/debian/control 2013-10-23 06:31:49.000000000 +0000 +++ upower-0.9.23/debian/control 2013-12-21 20:02:46.000000000 +0000 @@ -1,7 +1,8 @@ Source: upower Section: admin Priority: optional -Maintainer: Utopia Maintenance Team +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Utopia Maintenance Team Uploaders: Michael Biebl , Martin Pitt Build-Depends: debhelper (>= 9), autotools-dev, diff -Nru upower-0.9.23/debian/patches/ppc64el-support.patch upower-0.9.23/debian/patches/ppc64el-support.patch --- upower-0.9.23/debian/patches/ppc64el-support.patch 1970-01-01 00:00:00.000000000 +0000 +++ upower-0.9.23/debian/patches/ppc64el-support.patch 2013-12-21 20:02:40.000000000 +0000 @@ -0,0 +1,55 @@ +Description: patch m4/libtool.m4 and regenerate configure. +Author: Adam Conrad + +--- upower-0.9.23.orig/configure ++++ upower-0.9.23/configure +@@ -7360,7 +7360,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; +- ppc64-*linux*|powerpc64-*linux*) ++ powerpc64le-*) ++ LD="${LD-ld} -m elf32lppclinux" ++ ;; ++ powerpc64-*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) +@@ -7379,7 +7382,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; +- ppc*-*linux*|powerpc*-*linux*) ++ powerpcle-*) ++ LD="${LD-ld} -m elf64lppc" ++ ;; ++ powerpc-*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) +--- upower-0.9.23.orig/m4/libtool.m4 ++++ upower-0.9.23/m4/libtool.m4 +@@ -1326,7 +1326,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; +- ppc64-*linux*|powerpc64-*linux*) ++ powerpc64le-*) ++ LD="${LD-ld} -m elf32lppclinux" ++ ;; ++ powerpc64-*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) +@@ -1345,7 +1348,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; +- ppc*-*linux*|powerpc*-*linux*) ++ powerpcle-*) ++ LD="${LD-ld} -m elf64lppc" ++ ;; ++ powerpc-*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) diff -Nru upower-0.9.23/debian/patches/series upower-0.9.23/debian/patches/series --- upower-0.9.23/debian/patches/series 2013-10-23 06:31:49.000000000 +0000 +++ upower-0.9.23/debian/patches/series 2013-12-21 20:02:21.000000000 +0000 @@ -2,3 +2,4 @@ 00git_clamp_percentage.patch no_deprecation_define.patch always_use_pm-utils_backend.patch +ppc64el-support.patch