gift-openft.patch 972 B

12345678910111213141516171819202122232425262728293031323334
  1. Index: configure
  2. --- configure.orig 2004-05-08 04:24:24 +0200
  3. +++ configure 2004-07-07 12:32:02 +0200
  4. @@ -19705,7 +19705,7 @@
  5. cat confdefs.h >>conftest.$ac_ext
  6. cat >>conftest.$ac_ext <<_ACEOF
  7. /* end confdefs.h. */
  8. -#include <zlib.h>
  9. +#include "zlib.h"
  10. #include <string.h>
  11. void main() {
  12. exit(strcmp(ZLIB_VERSION, "${ZLIB_VER}") < 0);
  13. @@ -20179,7 +20179,7 @@
  14. echo "${ECHO_T}$found_libdb" >&6
  15. CFLAGS="$ac_save_CFLAGS"
  16. LIBS="$ac_save_LIBS"
  17. - if test x$found_libdb == xyes; then break; fi
  18. + if test x$found_libdb = xyes; then break; fi
  19. done
  20. use_libdb=$found_libdb
  21. else
  22. Index: src/ft_openft.h
  23. --- src/ft_openft.h.orig 2004-08-06 04:01:54.000000000 +0200
  24. +++ src/ft_openft.h 2005-02-18 13:35:13.048745268 +0100
  25. @@ -157,4 +157,8 @@
  26. /*****************************************************************************/
  27. +#ifndef INADDR_NONE
  28. +#define INADDR_NONE 0xffffffffUL
  29. +#endif
  30. +
  31. #endif /* __FT_OPENFT_H */