Source: commons-daemon
Version: 1.0.15
Severity: normal
Tags: patch
User: debian-de...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

    Following inline patch adds support for new arch ppc64el.
We have also tested building commons-daemon source package on ppc64el build machine.

Thanks for considering the patch.

thanks,
ravindran.

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

Kernel: Linux 3.16-trunk-powerpc64le (SMP w/32 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

--===============6400799371273970755==
Content-Type: text/x-diff; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="patch"

diff -Nru commons-daemon-1.0.15/debian/patches/ppc64el.diff commons-daemon-1.0.15/debian/patches/ppc64el.diff --- commons-daemon-1.0.15/debian/patches/ppc64el.diff 1970-01-01 00:00:00.000000000 +0000 +++ commons-daemon-1.0.15/debian/patches/ppc64el.diff 2014-09-24 15:52:04.000000000 +0000
@@ -0,0 +1,16 @@
+Description: Add ppc64el support
+
+--- commons-daemon-1.0.15.orig/src/native/unix/support/apsupport.m4
++++ commons-daemon-1.0.15/src/native/unix/support/apsupport.m4
+@@ -93,6 +93,11 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
+     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
+     HOST_CPU=$host_cpu
+     ;;
++  powerpc64le)
++    CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\""
++    supported_os="powerpc64le"
++    HOST_CPU=powerpc64le
++    ;;
+   sparc*)
+     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
+     HOST_CPU=$host_cpu
diff -Nru commons-daemon-1.0.15/debian/patches/series commons-daemon-1.0.15/debian/patches/series --- commons-daemon-1.0.15/debian/patches/series 2014-01-26 15:22:15.000000000 +0000 +++ commons-daemon-1.0.15/debian/patches/series 2014-09-24 15:50:36.000000000 +0000
@@ -2,3 +2,4 @@
 kfreebsd_support.diff
 s390x_support.diff
 hurd_support.diff
+ppc64el.diff

--===============6400799371273970755==--


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to