[SCM] xbmc/master: Let configure fail on unknown architectures

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Thu Oct 23 11:08:50 UTC 2014


The following commit has been merged in the master branch:
commit e2e4c93440d5ce869adede5ac2a3ecbcb788f9e2
Author: Balint Reczey <balint at balitreczey.hu>
Date:   Sun Oct 19 22:04:23 2014 +0100

    Let configure fail on unknown architectures

diff --git a/debian/patches/10-configure-all-arches.patch b/debian/patches/10-configure-all-arches.patch
deleted file mode 100644
index 913f07f..0000000
--- a/debian/patches/10-configure-all-arches.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Description: Modify XBMC to compile on all architectures
- Upstream's configure.in prevents building XBMC on unknown architectures,
- but build may succeed on some of them. This patch lets configure
- continue everywhere.
- .
-Author: Balint Reczey <balint at balintreczey.hu>
-Forwarded: not-needed
-
---- a/configure.in
-+++ b/configure.in
-@@ -685,7 +685,7 @@
-   powerpc-*-linux-gnu*|powerpc-*-linux-uclibc*)
-      ARCH="powerpc-linux"
-      ;;
--  powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
-+  powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*|ppc64-linux-gnu)
-      ARCH="powerpc64-linux"
-      ;;
-   arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
-@@ -725,8 +725,13 @@
-      use_x11=no
-      use_wayland=no
-      ;;
-+  mipsel-linux-gnu)
-+     ARCH="mipsel"
-+     AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_MIPSEL)
-+     ;;
-   *)
--     AC_MSG_ERROR(unsupported host ($host))
-+     ARCH=$(dpkg-architecture -t$host -qDEB_HOST_ARCH)
-+     AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX)
- esac
- AC_SUBST([ARCH])
- 
diff --git a/debian/patches/series b/debian/patches/series
index 178c602..c2686c2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -17,5 +17,4 @@
 07-use-system-groovy.patch
 08-armel.patch
 09-use-correct-ftgl.h
-10-configure-all-arches.patch
 

-- 
xbmc packaging



More information about the pkg-multimedia-commits mailing list