]> git.pld-linux.org Git - packages/masqmail.git/commitdiff
- remove ancient patch that only breaks build now
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Oct 2018 22:37:52 +0000 (00:37 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Oct 2018 22:37:52 +0000 (00:37 +0200)
masqmail-resolv.patch [deleted file]
masqmail.spec

diff --git a/masqmail-resolv.patch b/masqmail-resolv.patch
deleted file mode 100644 (file)
index b70eeda..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- masqmail-0.3.4/configure.ac~       2012-01-18 09:31:45.000000000 +0100
-+++ masqmail-0.3.4/configure.ac        2018-09-26 13:27:12.085535818 +0200
-@@ -37,11 +37,9 @@ if test "$resolver_enabled" = yes; then
- dnl checks necessary for libc5:
- dnl if there is res_search in libc, it is probably libc5
- dnl if not, it is probably libc6 and we need libresolv
--      AC_CHECK_LIB(c, res_search, need_resolv=no, need_resolv=yes)
-+      AC_CHECK_LIB(c, res_search, need_resolv=no, [AC_CHECK_LIB(c, __res_search, need_resolv=no, need_resolv=yes)])
-       if test "$need_resolv" = yes; then
--              AC_CHECK_LIB(resolv, res_search,
--                      has_resolv=yes; RESOLV_LIBS="-lresolv",
--                      has_resolv=no)
-+              AC_CHECK_LIB(resolv, res_search,has_resolv=yes, [AC_CHECK_LIB(resolv, __res_search, has_resolv=yes; RESOLV_LIBS="-lresolv", [AC_MSG_ERROR("no libresolv")])])
-               if test "$has_resolv" = no; then
-                       saved_LIBS="$LIBS"
-                       LIBS="$LIBS -lresolv"
index 907c5d713ec972193181a75a600064df852d804c..046c5c89f84a14ca592ab6ba3e36be7d8e929582 100644 (file)
@@ -10,7 +10,6 @@ Source0:      http://ftp.debian.org/debian/pool/main/m/masqmail/%{name}_%{version}.or
 Source1:       %{name}.aliases
 Source2:       %{name}.conf
 Source3:       %{name}.default.route
-Patch0:                %{name}-resolv.patch
 URL:           http://packages.debian.org/masqmail
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
@@ -38,13 +37,8 @@ Zastępuje sendmaila oraz inne MTA jak qmail czy exim.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
 %configure \
        --%{!?debug:dis}%{?debug:en}able-debug \
        --with-confdir=%{_sysconfdir} \
This page took 0.059686 seconds and 4 git commands to generate.