summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/cdparanoia/files/dont-use-internal-configs.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-04-07 00:08:56 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-24 11:00:52 +0200
commit47604c0409caedabc47f7bc7fe5be5c112b80c9c (patch)
tree699d0cbb14c061571a48417688b484eb338672c3 /meta-multimedia/recipes-multimedia/cdparanoia/files/dont-use-internal-configs.patch
parent71feffbdfdf691bd1b96b50b1bf465a7467a5c14 (diff)
downloadmeta-openembedded-47604c0409caedabc47f7bc7fe5be5c112b80c9c.tar.gz
cdparanoia: Fix autoconf do it builds on new arches like aarch64
Also build out of tree builds while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/cdparanoia/files/dont-use-internal-configs.patch')
-rw-r--r--meta-multimedia/recipes-multimedia/cdparanoia/files/dont-use-internal-configs.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/cdparanoia/files/dont-use-internal-configs.patch b/meta-multimedia/recipes-multimedia/cdparanoia/files/dont-use-internal-configs.patch
new file mode 100644
index 000000000..9b268b7ed
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/cdparanoia/files/dont-use-internal-configs.patch
@@ -0,0 +1,30 @@
1Index: cdparanoia-III-10.2/configure.in
2===================================================================
3--- cdparanoia-III-10.2.orig/configure.in
4+++ cdparanoia-III-10.2/configure.in
5@@ -1,13 +1,8 @@
6 AC_INIT(interface/interface.c)
7
8-cp $srcdir/configure.guess $srcdir/config.guess
9-cp $srcdir/configure.sub $srcdir/config.sub
10-
11 AC_CANONICAL_HOST
12
13-if test -z "$CC"; then
14- AC_PROG_CC
15-fi
16+AC_PROG_CC
17 AC_PROG_RANLIB
18 AC_CHECK_PROG(AR,ar,ar)
19 AC_CHECK_PROG(INSTALL,install,install)
20@@ -44,8 +39,8 @@ case 4 in
21 $ac_cv_sizeof_long) SIZE32="long";;
22 esac
23
24-AC_CHECK_TYPE(int16_t,SIZE16="int16_t",,)
25-AC_CHECK_TYPE(int32_t,SIZE32="size32_t",,)
26+AC_CHECK_TYPES([int16_t], [SIZE16="int16_t"], [], [[#include <stdint.h>]])
27+AC_CHECK_TYPES([int32_t], [SIZE32="int32_t"], [], [[#include <stdint.h>]])
28
29 if test -z "$SIZE16"; then
30 AC_MSG_ERROR(No 16 bit type found on this platform!)