~ubuntu-branches/ubuntu/trusty/librep/trusty

« back to all changes in this revision

Viewing changes to debian/patches/libtool_ppc64el.dpatch

  • Committer: Package Import Robot
  • Author(s): Logan Rosen
  • Date: 2014-04-16 00:43:24 UTC
  • Revision ID: package-import@ubuntu.com-20140416004324-f9lgs01jjxwii7sn
Tags: 0.90.2-1.4ubuntu2
debian/patches/libtool_ppc64el.dpatch: Manually patch m4/libtool.m4 to add
support for ppc64el.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
 
 
3
@DPATCH@
 
4
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' librep-0.90.2~/m4/libtool.m4 librep-0.90.2/m4/libtool.m4
 
5
--- librep-0.90.2~/m4/libtool.m4        2009-08-25 12:33:54.000000000 -0400
 
6
+++ librep-0.90.2/m4/libtool.m4 2014-04-16 00:43:13.768516517 -0400
 
7
@@ -1281,7 +1281,10 @@
 
8
          x86_64-*linux*)
 
9
            LD="${LD-ld} -m elf_i386"
 
10
            ;;
 
11
-         ppc64-*linux*|powerpc64-*linux*)
 
12
+         powerpc64le-*)
 
13
+           LD="${LD-ld} -m elf32lppclinux"
 
14
+           ;;
 
15
+         powerpc64-*)
 
16
            LD="${LD-ld} -m elf32ppclinux"
 
17
            ;;
 
18
          s390x-*linux*)
 
19
@@ -1300,7 +1303,10 @@
 
20
          x86_64-*linux*)
 
21
            LD="${LD-ld} -m elf_x86_64"
 
22
            ;;
 
23
-         ppc*-*linux*|powerpc*-*linux*)
 
24
+         powerpcle-*)
 
25
+           LD="${LD-ld} -m elf64lppc"
 
26
+           ;;
 
27
+         powerpc-*)
 
28
            LD="${LD-ld} -m elf64ppc"
 
29
            ;;
 
30
          s390*-*linux*|s390*-*tpf*)