Here is the patch :)

F.
diff -Nru gridengine-6.2u5/debian/control gridengine-6.2u5/debian/control
--- gridengine-6.2u5/debian/control	2016-02-24 10:44:21.000000000 +0100
+++ gridengine-6.2u5/debian/control	2016-02-24 10:44:22.000000000 +0100
@@ -36,7 +36,7 @@
  This package contains required shared files and the basic configuration.
 
 Package: gridengine-client
-Architecture: i386 amd64 sparc powerpc ia64 hppa s390
+Architecture: i386 amd64 sparc powerpc ppc64el ia64 hppa s390
 Depends: ${shlibs:Depends}, ${misc:Depends}, gridengine-common
 Recommends: openssh-client
 Suggests: gridengine-qmon
@@ -61,7 +61,7 @@
  This package contains the Grid Engine user utilities.
 
 Package: gridengine-qmon
-Architecture: i386 amd64 sparc powerpc ia64 hppa s390
+Architecture: i386 amd64 sparc powerpc ppc64el ia64 hppa s390
 Depends: ${shlibs:Depends}, ${misc:Depends}, gridengine-common, xfonts-75dpi | xfonts-100dpi
 Description: Graphical utilities for Grid Engine queue management
  Grid Engine is software that facilitates "distributed resource
@@ -84,7 +84,7 @@
  This package contains the graphical Grid Engine administration frontend.
 
 Package: gridengine-master
-Architecture: i386 amd64 sparc powerpc ia64 hppa s390
+Architecture: i386 amd64 sparc powerpc ppc64el ia64 hppa s390
 Depends: ${shlibs:Depends}, ${misc:Depends}, gridengine-common
 Description: Distributed resource management - Master Server
  Grid Engine is software that facilitates "distributed resource
@@ -107,7 +107,7 @@
  This package contains the Grid Engine master server.
 
 Package: gridengine-exec
-Architecture: i386 amd64 sparc powerpc ia64 hppa s390
+Architecture: i386 amd64 sparc powerpc ppc64el ia64 hppa s390
 Replaces: gridengine-master (<< 6.2-3)
 Depends: ${shlibs:Depends}, ${misc:Depends}, gridengine-common, tcsh | c-shell
 Recommends: openssh-server
@@ -132,7 +132,7 @@
  This package contains the Grid Engine execution server.
 
 Package: gridengine-drmaa1.0
-Architecture: i386 amd64 sparc powerpc ia64 hppa s390
+Architecture: i386 amd64 sparc powerpc ppc64el ia64 hppa s390
 Section: libs
 Breaks: libdrmaa1.0 (<< 6.2u5-4)
 Replaces: libdrmaa1.0 (<< 6.2u5-4)
@@ -147,7 +147,7 @@
  implementation of the DRMAA specification.
 
 Package: libdrmaa-java
-Architecture: i386 amd64 sparc powerpc ia64 hppa s390
+Architecture: i386 amd64 sparc powerpc ppc64el ia64 hppa s390
 Section: java
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Distributed resource management Application API library - Java bindings
@@ -160,7 +160,7 @@
  the DRMAA specification.
 
 Package: gridengine-drmaa-dev
-Architecture: i386 amd64 sparc powerpc ia64 hppa s390
+Architecture: i386 amd64 sparc powerpc ppc64el ia64 hppa s390
 Section: libdevel
 Breaks: libdrmaa-dev (<< 6.2u5-5)
 Replaces: libdrmaa-dev (<< 6.2u5-5)
diff -Nru gridengine-6.2u5/debian/patches/160-ppc64el-support.diff gridengine-6.2u5/debian/patches/160-ppc64el-support.diff
--- gridengine-6.2u5/debian/patches/160-ppc64el-support.diff	1970-01-01 01:00:00.000000000 +0100
+++ gridengine-6.2u5/debian/patches/160-ppc64el-support.diff	2016-02-24 10:44:22.000000000 +0100
@@ -0,0 +1,39 @@
+--- a/source/dist/util/arch
++++ b/source/dist/util/arch
+@@ -206,6 +206,9 @@
+    ppc64)
+       lxmachine=ppc64
+       ;;
++   ppc64le)
++      lxmachine=ppc64le
++      ;;
+    mips)
+       lxmachine=mips
+       ;;
+--- a/source/scripts/compilearch
++++ b/source/scripts/compilearch
+@@ -209,6 +209,11 @@
+       COMPILE_ARCH=LINUXPPC64_26
+       TARGET_BITS=TARGET_64BIT
+       ;;
++   lx26-ppc64le)
++      BUILDARCH=LINUXPPC64
++      COMPILE_ARCH=LINUXPPC64_26
++      TARGET_BITS=TARGET_64BIT
++      ;;
+    lx26-ia64)               
+       BUILDARCH=LINUXIA64
+       COMPILE_ARCH=LINUXIA64_26
+--- a/source/aimk
++++ b/source/aimk
+@@ -2020,6 +2020,10 @@
+          case lx26-ppc64:
+              set JAVA_LIB_ARCH = ppc64
+              breaksw
++         case lx24-ppc64le:
++         case lx26-ppc64le:
++             set JAVA_LIB_ARCH = ppc64le
++             breaksw
+          case hp11:
+              set JAVA_LIB_ARCH = PA_RISC
+              breaksw
diff -Nru gridengine-6.2u5/debian/patches/series gridengine-6.2u5/debian/patches/series
--- gridengine-6.2u5/debian/patches/series	2016-02-24 10:44:21.000000000 +0100
+++ gridengine-6.2u5/debian/patches/series	2016-02-24 10:44:22.000000000 +0100
@@ -21,3 +21,4 @@
 130-dont-link-against-unused-libraries.diff
 140-fix-ftbfs-gcc-elibc-issue.diff
 150-remove-unused-berkeley-db-return-codes.diff
+160-ppc64el-support.diff

Reply via email to