Репозитории ALT
S: | 1.2.11-alt1.git.4915c30 |
5.1: | 1.2.9-alt1 |
4.1: | 1.2.5-alt1 |
4.0: | 1.2.5-alt1 |
3.0: | 1.0.4-alt1 |
Группа :: Система/Библиотеки
Пакет: libspf2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: libspf2-alt-glibc-compat.patch
Скачать
Скачать
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