Stanislav Brabec
894e583cd6
- Remove obsolete patches * adns-ocloexec.patch * adns-1.4-ipv6.patch - Add gpg signature - Cleanup spec-file with spec-cleaner - Remove already disabled %check section, tests require working network setup - Update to 1.5.0 OBS-URL: https://build.opensuse.org/request/show/288563 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adns?expand=0&rev=21
34 lines
787 B
Diff
34 lines
787 B
Diff
Index: configure.in
|
|
===================================================================
|
|
--- configure.in.orig
|
|
+++ configure.in
|
|
@@ -59,7 +59,9 @@ AC_ARG_ENABLE(dynamic,
|
|
AC_MSG_RESULT([yes, by default])
|
|
])
|
|
|
|
-AC_PROG_CC
|
|
+AC_PROG_CC_STDC
|
|
+AC_USE_SYSTEM_EXTENSIONS
|
|
+AC_SYS_LARGEFILE
|
|
AC_PROG_CPP
|
|
AC_PROG_RANLIB
|
|
AC_PROG_INSTALL
|
|
Index: src/internal.h
|
|
===================================================================
|
|
--- src/internal.h.orig
|
|
+++ src/internal.h
|
|
@@ -51,6 +51,7 @@ typedef unsigned char byte;
|
|
# include "hredirect.h"
|
|
#endif
|
|
|
|
+#pragma GCC visibility push(hidden)
|
|
/* Configuration and constants */
|
|
|
|
#define MAXSERVERS 5
|
|
@@ -944,4 +945,5 @@ static inline int errno_resources(int e)
|
|
(tv)|=GETIL_B(cb), \
|
|
(tv) )
|
|
|
|
+#pragma GCC visibility pop
|
|
#endif
|