From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- .../srecord/files/srecord-1.57-libtool.patch | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 dev-embedded/srecord/files/srecord-1.57-libtool.patch (limited to 'dev-embedded/srecord/files') diff --git a/dev-embedded/srecord/files/srecord-1.57-libtool.patch b/dev-embedded/srecord/files/srecord-1.57-libtool.patch new file mode 100644 index 000000000000..d1195726a3d2 --- /dev/null +++ b/dev-embedded/srecord/files/srecord-1.57-libtool.patch @@ -0,0 +1,70 @@ +--- srecord-1.57.orig/etc/configure.ac ++++ srecord-1.57/etc/configure.ac +@@ -29,6 +29,10 @@ + AC_CHECK_FUNCS(snprintf vsnprintf) + AC_CHECK_LIB(gcrypt, gcry_md_open) + ++top_builddir=`pwd` ++AC_SUBST(top_builddir) ++LT_INIT ++ + dnl + dnl Make sure Boost is installed. + dnl +@@ -119,46 +123,6 @@ + operating system has a libgcrypt that supports WHIRLPOOL.]) + AC_MSG_RESULT(yes),AC_MSG_RESULT(no))dnl + +-dnl! +-dnl! Now look for libtool. +-dnl! +-AC_CHECK_PROGS(LIBTOOL, libtool) +-if test -z "$LIBTOOL" +-then +- AC_MSG_RESULT([ +- You must have GNU Libtool installed to build srecord. +- Homepage: http://www.gnu.org/software/libtool/]) +- OK=no +- if apt-get --version > /dev/null 2> /dev/null; then +- AC_MSG_RESULT([ +- The following command may be used to install it: +- sudo apt-get install libtool +- ]) +- OK=yes +- fi +- if yum --version > /dev/null 2> /dev/null; then +- AC_MSG_RESULT([ +- The following command may be used to install it: +- sudo yum install libtool +- ]) +- OK=yes +- fi +- if pkg_info -a > /dev/null 2> /dev/null; then +- AC_MSG_RESULT([ +- The following command may be used to install it: +- sudo pkg_add -r libtool +- ]) +- OK=yes +- fi +- if test "$OK" != "yes"; then +- AC_MSG_RESULT([ +- If you are using a package based install, you will need the +- libtool package. +- ]) +- fi +- exit 1 +-fi +- + dnl + dnl If the soelim program exists, and understands the -I option, + dnl arrange for the Makefile to install the .ps files from the +--- srecord-1.57.orig/Makefile.in ++++ srecord-1.57/Makefile.in +@@ -35,6 +35,7 @@ + # + # directory containing the source + # ++top_builddir = @top_builddir@ + srcdir = @srcdir@ + VPATH = @srcdir@ + -- cgit v1.2.3