---- whois-4.7.26/config.h.orig 2008-04-06 17:26:42.000000000 +0200
-+++ whois-4.7.26/config.h 2008-05-28 19:43:05.926705891 +0200
-@@ -11,47 +11,20 @@
+--- whois-5.2.15/config.h.orig 2017-03-03 19:45:44.903795045 +0100
++++ whois-5.2.15/config.h 2017-03-03 19:46:00.393795044 +0100
+@@ -7,9 +7,9 @@
#define DEFAULTSERVER "whois.arin.net"
/* Configuration file */
-/*
++
#define CONFIG_FILE "/etc/whois.conf"
-*/
++
- /* autoconf in cpp macros */
--#ifdef linux
- # define ENABLE_NLS
--#endif
-
--#ifdef __FreeBSD__
--/* which versions? */
- # define HAVE_GETOPT_LONG
- # define HAVE_GETADDRINFO
--# define ENABLE_NLS
--# define LOCALEDIR "/usr/local/share/locale"
--#endif
--
--/* needs unistd.h */
--#ifdef _ISO_CPP_14882_1998
--/* Solaris 8 and better. What else? */
--# define HAVE_GETADDRINFO
--#endif
-+# define LOCALEDIR "/usr/share/locale"
--#if defined __GLIBC__
--# define HAVE_GETOPT_LONG
--# if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
--# define HAVE_GETADDRINFO
--# endif
--# if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 7
- # define HAVE_SHA_CRYPT
--# endif
--#endif
-
--/* Linux, Solaris 5, FreeBSD 5.x. What else? */
--#if defined _POSIX_VERSION && _POSIX_VERSION >= 200112L
- # define HAVE_WORDEXP
--#endif
+ /* autoconf in cpp macros */
+@@ -17,9 +17,7 @@
+ # include <sys/param.h>
+ #endif
--#if defined _POSIX2_VERSION
- # define HAVE_REGEXEC
+-#ifdef __GLIBC__
+ # define ENABLE_NLS
-#endif
-
- /* system features */
+ #ifdef __FreeBSD__
+ /* which versions? */