]> git.pld-linux.org Git - packages/whois.git/blobdiff - whois-config.patch
- updated to 5.0.23
[packages/whois.git] / whois-config.patch
index 0296d9cbae485daa5776e69c631bbbeb77cade46..6bd4defdf6cfc400acc4d34c63a271b1dddb73aa 100644 (file)
@@ -1,7 +1,6 @@
-diff -urN whois-4.7.21.org/config.h whois-4.7.21/config.h
---- whois-4.7.21.org/config.h  2007-04-02 04:26:39.000000000 +0200
-+++ whois-4.7.21/config.h      2007-07-16 22:16:20.172152166 +0200
-@@ -11,44 +11,19 @@
+--- whois-4.7.27/config.h.orig 2008-07-17 00:47:45.000000000 +0200
++++ whois-4.7.27/config.h      2008-08-21 20:06:55.866578803 +0200
+@@ -10,15 +10,11 @@
  #define DEFAULTSERVER   "whois.arin.net"
  
  /* Configuration file */
@@ -9,41 +8,11 @@ diff -urN whois-4.7.21.org/config.h whois-4.7.21/config.h
  #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
--#endif
--
--/* Linux, Solaris 5, FreeBSD 5.x. What else? */
--#if defined _POSIX_VERSION && _POSIX_VERSION >= 200112L
- # define HAVE_WORDEXP
--#endif
--#if defined _POSIX2_VERSION
- # define HAVE_REGEXEC
--#endif
- /* system features */
+ #ifdef __FreeBSD__
+ /* which versions? */
This page took 0.234878 seconds and 4 git commands to generate.