summaryrefslogtreecommitdiffhomepage
path: root/libarchive-3.1.2.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-03-08 12:56:32 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-03-08 12:56:32 +0100
commit5bc42821ece450f4f49ea8f1748fa470b2f9474b (patch)
tree13d7c9ea6ae00356ea9b5075dbacb03d85bff1e5 /libarchive-3.1.2.local.patch
parent34ddfb3bb8591e23f2174aa95e768eb4b48b8157 (diff)
downloadmidipix_build-5bc42821ece450f4f49ea8f1748fa470b2f9474b.tar.bz2
midipix_build-5bc42821ece450f4f49ea8f1748fa470b2f9474b.tar.xz
Adds libarchive and pacman.
Diffstat (limited to 'libarchive-3.1.2.local.patch')
-rw-r--r--libarchive-3.1.2.local.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/libarchive-3.1.2.local.patch b/libarchive-3.1.2.local.patch
new file mode 100644
index 00000000..1de46e28
--- /dev/null
+++ b/libarchive-3.1.2.local.patch
@@ -0,0 +1,40 @@
+--- libarchive-3.1.2/build/autoconf/config.sub.orig 2013-02-09 18:23:12.000000000 +0100
++++ libarchive-3.1.2/build/autoconf/config.sub 2016-03-08 12:37:36.382751400 +0100
+@@ -789,6 +789,10 @@
+ microblaze*)
+ basic_machine=microblaze-xilinx
+ ;;
++ midipix)
++ basic_machine=x86_64-pc
++ os=-midipix
++ ;;
+ mingw64)
+ basic_machine=x86_64-pc
+ os=-mingw64
+@@ -1365,7 +1369,7 @@
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
++ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
+ | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+--- libarchive-3.1.2/configure.orig 2013-02-09 18:23:08.000000000 +0100
++++ libarchive-3.1.2/configure 2016-03-08 12:40:21.031444000 +0100
+@@ -21629,3 +21629,15 @@
+ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+ fi
+
++# a transitional workaround...
++case $host_os in
++ midipix*)
++ cp $ac_confdir/libtool.midipix libtool || exit 2
++
++ sed -i -e 's/@cbb_host_os@/'$host'/g' \
++ -e 's/@cbb_build_alias@/'$build_alias'/g' \
++ -e 's/@cbb_build_os@/'$build_os'/g' \
++ -e 's/@cbb_build@/'$build'/g' libtool || exit 2
++ ;;
++esac
++