Bug#758654: nqp: add mips64el support
YunQiang Su
wzssyqa at gmail.com
Tue Aug 19 17:07:29 UTC 2014
Package: nqp
Version: 2014.04-3
With this patch, nqp can build on mips64el. Please consider it.
--
YunQiang Su
-------------- next part --------------
diff -Nru nqp-2014.04/debian/control nqp-2014.04/debian/control
--- nqp-2014.04/debian/control 2014-07-14 18:14:13.000000000 +0800
+++ nqp-2014.04/debian/control 2033-12-13 15:57:32.000000000 +0800
@@ -15,7 +15,7 @@
Homepage: https://github.com/perl6/nqp
Package: nqp
-Architecture: i386 amd64 armel armhf mips mipsel powerpc ppc64el kfreebsd-amd64 kfreebsd-i386
+Architecture: i386 amd64 armel armhf mips mipsel mips64el powerpc ppc64el kfreebsd-amd64 kfreebsd-i386
Depends: ${shlibs:Depends},
${misc:Depends},
${parrot:Depends}
diff -Nru nqp-2014.04/debian/patches/add_mips64el_arch nqp-2014.04/debian/patches/add_mips64el_arch
--- nqp-2014.04/debian/patches/add_mips64el_arch 1970-01-01 08:00:00.000000000 +0800
+++ nqp-2014.04/debian/patches/add_mips64el_arch 2033-12-13 16:04:11.000000000 +0800
@@ -0,0 +1,13 @@
+Index: nqp-2014.04/3rdparty/dyncall/configure
+===================================================================
+--- nqp-2014.04.orig/3rdparty/dyncall/configure 2033-12-13 15:56:00.000000000 +0800
++++ nqp-2014.04/3rdparty/dyncall/configure 2033-12-13 16:04:06.715022106 +0800
+@@ -198,7 +198,7 @@
+ CONFIG_ARCH="mips32"
+ elif [ "$ARCH" = "mipsel" ] || [ "$ARCH" = "pmax" ]; then
+ CONFIG_ARCH="mips32el"
+- elif [ "$ARCH" = "loongson" ]; then
++ elif [ "$ARCH" = "loongson" ] || [ "$ARCH" = "mips64el" ]; then
+ CONFIG_ARCH="mips64el"
+ elif [ "$ARCH" = "sparc" ] || [ "$ARCH" = "sparc64" ]; then
+ CONFIG_ARCH="sparc"
diff -Nru nqp-2014.04/debian/patches/series nqp-2014.04/debian/patches/series
--- nqp-2014.04/debian/patches/series 2014-07-14 18:14:13.000000000 +0800
+++ nqp-2014.04/debian/patches/series 2033-12-13 16:01:08.000000000 +0800
@@ -5,3 +5,4 @@
07_disable-serialization-tests.patch
fix-missing-prototype
add_ppc64el_arch
+add_mips64el_arch
More information about the Pkg-rakudo-devel
mailing list