Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame libarchive-3.1.2.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
--- libarchive-3.1.2/build/autoconf/config.sub.orig	2013-02-09 18:23:12.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+++ libarchive-3.1.2/build/autoconf/config.sub	2016-03-08 12:37:36.382751400 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
@@ -789,6 +789,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 	microblaze*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 		basic_machine=microblaze-xilinx
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+	midipix)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+		os=-midipix
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 	mingw64)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 		os=-mingw64
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
@@ -1365,7 +1369,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 	      | -chorusos* | -chorusrdb* | -cegcc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
-	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+	      | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
--- libarchive-3.1.2/configure.orig	2013-02-09 18:23:08.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+++ libarchive-3.1.2/configure	2016-03-08 12:40:21.031444000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
@@ -21629,3 +21629,15 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+# a transitional workaround...
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+case $host_os in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+		midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+			cp $ac_confdir/libtool.midipix libtool || exit 2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+			sed -i	-e 's/@cbb_host_os@/'$host'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+				-e 's/@cbb_build_alias@/'$build_alias'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+				-e 's/@cbb_build_os@/'$build_os'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+				-e 's/@cbb_build@/'$build'/g' libtool || exit 2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
+