summaryrefslogtreecommitdiff
path: root/debian/patches/0701-disable-libtool-silent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0701-disable-libtool-silent.patch')
-rw-r--r--debian/patches/0701-disable-libtool-silent.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/0701-disable-libtool-silent.patch b/debian/patches/0701-disable-libtool-silent.patch
new file mode 100644
index 0000000..804bfcd
--- /dev/null
+++ b/debian/patches/0701-disable-libtool-silent.patch
@@ -0,0 +1,35 @@
+Description: Enable verbose output of libtool and fix warning
+Author: Shengqi Chen <harry-chen@outlook.com>
+Forwarded: not-needed
+Last-Update: 2024-10-27
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,7 +7,7 @@
+ AC_CONFIG_COMMANDS_PRE([export prefix=$prefix])
+ AC_CANONICAL_SYSTEM
+ AM_INIT_AUTOMAKE([foreign])
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS([config.h])
+ AC_PREREQ(2.50)
+ AC_SUBST(ac_configure_args)
+
+@@ -21,7 +21,6 @@
+ AC_CHECK_PROG([WGET], [wget], [wget])
+ AC_CHECK_PROG([CURL], [curl], [curl])
+
+-AC_HEADER_STDC
+ AC_CHECK_HEADERS([stdlib.h string.h sys/ioctl.h sys/stat.h unistd.h paths.h])
+ AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h sys/socket.h])
+ AC_CHECK_HEADERS([sys/byteorder.h byteswap.h])
+@@ -38,8 +37,7 @@
+
+ CFLAGS="$CFLAGS -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral"
+
+-AM_PROG_LIBTOOL
+-LIBTOOL="$LIBTOOL --silent"
++LT_INIT
+
+ AC_SEARCH_LIBS([gethostbyname], [nsl])
+ AC_SEARCH_LIBS([getaddrinfo], [nsl])