Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37834231
en ru br
ALT Linux repos
S:1.2.11-alt1.git.4915c30
5.0: 1.2.9-alt1
4.1: 1.2.5-alt1
4.0: 1.2.5-alt1
3.0: 1.0.4-alt1

Group :: System/Libraries
RPM: libspf2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libspf2-alt-glibc-compat.patch
Download


diff --git a/configure.ac b/configure.ac
index a7e07a9..b774f07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -275,9 +275,6 @@ AC_CHECK_FUNCS([strcasecmp strncasecmp strspn strtoul])
 AC_CHECK_FUNCS([gethostbyname inet_ntoa select strrchr strstr strtol])
 
 AC_REPLACE_FUNCS([getopt_long_only strncasecmp])
-AC_REPLACE_FUNCS([__ns_initparse __ns_name_uncompress __ns_msg_getflag])
-dnl Magnus Holmgren says this avoids linking a private function
-AC_LIBOBJ([__ns_get16])
 
 AC_CONFIG_FILES([Makefile
                  Doxyfile
diff --git a/src/libreplace/Makefile.am b/src/libreplace/Makefile.am
index a5212bf..7eb0535 100644
--- a/src/libreplace/Makefile.am
+++ b/src/libreplace/Makefile.am
@@ -2,7 +2,6 @@
 MAINTAINERCLEANFILES    = Makefile.in
 
 EXTRA_DIST		= getopt.h \
-	arpa_nameser.h __ns_msg_getflag.c \
 	win32_config.h
 
 noinst_LTLIBRARIES      = libreplace.la
diff --git a/src/libreplace/arpa_nameser.h b/src/libreplace/arpa_nameser.h
index e59ca3d..6cab234 100644
--- a/src/libreplace/arpa_nameser.h
+++ b/src/libreplace/arpa_nameser.h
@@ -55,6 +55,8 @@
 #ifndef REPLACE_ARPA_NAMESER_H_
 #define REPLACE_ARPA_NAMESER_H_
 
+#error do not include
+
 #ifndef __P
 #  define __P(x) x
 #endif
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin