|
|
bc5dde |
diff -up bind-9.9.3rc2/config.h.in.multlib-conflict bind-9.9.3rc2/config.h.in
|
|
|
bc5dde |
--- bind-9.9.3rc2/config.h.in.multlib-conflict 2013-04-30 08:38:46.000000000 +0200
|
|
|
bc5dde |
+++ bind-9.9.3rc2/config.h.in 2013-05-13 12:10:22.514870894 +0200
|
|
|
bc5dde |
@@ -416,7 +416,7 @@ int sigwait(const unsigned int *set, int
|
|
|
bc5dde |
#undef PORT_NONBLOCK
|
|
|
bc5dde |
|
|
|
bc5dde |
/* The size of `void *', as computed by sizeof. */
|
|
|
bc5dde |
-#undef SIZEOF_VOID_P
|
|
|
bc5dde |
+/* #undef SIZEOF_VOID_P */
|
|
|
bc5dde |
|
|
|
bc5dde |
/* Define to 1 if you have the ANSI C header files. */
|
|
|
bc5dde |
#undef STDC_HEADERS
|
|
|
bc5dde |
diff -up bind-9.9.3rc2/configure.in.multlib-conflict bind-9.9.3rc2/configure.in
|
|
|
bc5dde |
--- bind-9.9.3rc2/configure.in.multlib-conflict 2013-05-13 12:10:22.481870901 +0200
|
|
|
bc5dde |
+++ bind-9.9.3rc2/configure.in 2013-05-13 12:10:22.515870894 +0200
|
|
|
bc5dde |
@@ -2251,7 +2251,9 @@ int getnameinfo(const struct sockaddr *,
|
|
|
bc5dde |
size_t, char *, size_t, int);],
|
|
|
bc5dde |
[ return (0);],
|
|
|
bc5dde |
[AC_MSG_RESULT(size_t for buflen; int for flags)
|
|
|
bc5dde |
- AC_DEFINE(IRS_GETNAMEINFO_BUFLEN_T, size_t)
|
|
|
bc5dde |
+ # Changed to solve multilib conflict on Fedora
|
|
|
bc5dde |
+ #AC_DEFINE(IRS_GETNAMEINFO_BUFLEN_T, size_t)
|
|
|
bc5dde |
+ AC_DEFINE(IRS_GETNAMEINFO_BUFLEN_T, socklen_t)
|
|
|
bc5dde |
AC_DEFINE(IRS_GETNAMEINFO_FLAGS_T, int)],
|
|
|
bc5dde |
[AC_MSG_RESULT(not match any subspecies; assume standard definition)
|
|
|
bc5dde |
AC_DEFINE(IRS_GETNAMEINFO_BUFLEN_T, socklen_t)
|
|
|
bc5dde |
diff -up bind-9.9.3rc2/isc-config.sh.in.multlib-conflict bind-9.9.3rc2/isc-config.sh.in
|
|
|
bc5dde |
--- bind-9.9.3rc2/isc-config.sh.in.multlib-conflict 2013-04-30 08:38:46.000000000 +0200
|
|
|
bc5dde |
+++ bind-9.9.3rc2/isc-config.sh.in 2013-05-13 12:26:40.258698745 +0200
|
|
|
bc5dde |
@@ -21,7 +21,18 @@ prefix=@prefix@
|
|
|
bc5dde |
exec_prefix=@exec_prefix@
|
|
|
bc5dde |
exec_prefix_set=
|
|
|
bc5dde |
includedir=@includedir@
|
|
|
bc5dde |
-libdir=@libdir@
|
|
|
bc5dde |
+arch=$(uname -m)
|
|
|
bc5dde |
+
|
|
|
bc5dde |
+case $arch in
|
|
|
bc5dde |
+ x86_64 | amd64 | sparc64 | s390x | ppc64)
|
|
|
bc5dde |
+ libdir=/usr/lib64
|
|
|
bc5dde |
+ sec_libdir=/usr/lib
|
|
|
bc5dde |
+ ;;
|
|
|
bc5dde |
+ * )
|
|
|
bc5dde |
+ libdir=/usr/lib
|
|
|
bc5dde |
+ sec_libdir=/usr/lib64
|
|
|
bc5dde |
+ ;;
|
|
|
bc5dde |
+esac
|
|
|
bc5dde |
|
|
|
bc5dde |
usage()
|
|
|
bc5dde |
{
|
|
|
bc5dde |
@@ -133,6 +144,16 @@ if test x"$echo_libs" = x"true"; then
|
|
|
bc5dde |
if test x"${exec_prefix_set}" = x"true"; then
|
|
|
bc5dde |
includes="-L${exec_prefix}/lib"
|
|
|
bc5dde |
else
|
|
|
bc5dde |
+ if [ ! -x $libdir/libisc.so ] ; then
|
|
|
bc5dde |
+ if [ ! -x $sec_libdir/libisc.so ] ; then
|
|
|
bc5dde |
+ echo "Error: ISC libs not found in $libdir"
|
|
|
bc5dde |
+ if [ -d $sec_libdir ] ; then
|
|
|
bc5dde |
+ echo "Error: ISC libs not found in $sec_libdir"
|
|
|
bc5dde |
+ fi
|
|
|
bc5dde |
+ exit 1
|
|
|
bc5dde |
+ fi
|
|
|
bc5dde |
+ libdir=$sec_libdir
|
|
|
bc5dde |
+ fi
|
|
|
bc5dde |
libs="-L${libdir}"
|
|
|
bc5dde |
fi
|
|
|
bc5dde |
if test x"$liblwres" = x"true" ; then
|