Package: src:libxfce4util
Version: 4.10.1-1
Severity: normal
Tags: patch

Dear Maintainer,

On Ubuntu the attached patch was applied to achieve the following:

 * Patch aclocal.m4 and configure to build on ppc64el.

Thanks for considering the patch.

Erwan Prioul.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

diff -Naur a/debian/patches/ppc64el.patch b/debian/patches/ppc64el.patch
--- a/debian/patches/ppc64el.patch	1970-01-01 01:00:00.000000000 +0100
+++ b/debian/patches/ppc64el.patch	2014-06-26 14:30:45.354375178 +0200
@@ -0,0 +1,54 @@
+diff -Naur a/aclocal.m4 b/aclocal.m4
+--- a/aclocal.m4	2014-06-26 14:08:28.606446225 +0200
++++ b/aclocal.m4	2014-06-26 14:12:48.802432396 +0200
+@@ -2060,7 +2060,10 @@
+ 	  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*)
+@@ -2079,7 +2082,10 @@
+ 	  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 -Naur a/configure b/configure
+--- a/configure	2014-06-26 14:08:28.638446223 +0200
++++ b/configure	2014-06-26 14:16:51.938419473 +0200
+@@ -8281,7 +8281,10 @@
+ 	  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*)
+@@ -8300,7 +8303,10 @@
+ 	  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 -Naur a/debian/patches/series b/debian/patches/series
--- a/debian/patches/series	2014-06-26 14:32:43.130368918 +0200
+++ b/debian/patches/series	2014-06-26 14:36:43.094356164 +0200
@@ -1,2 +1,3 @@
 01_add-desktop-base-in-config-dirs.patch
 02_fix-abicheck.sh
+ppc64el.patch

_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

Reply via email to