siege.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Index: src/hash.c
  2. --- src/hash.c.orig 2003-07-09 22:22:38.000000000 +0200
  3. +++ src/hash.c 2004-01-17 20:54:33.000000000 +0100
  4. @@ -60,7 +60,7 @@
  5. * hash table.
  6. */
  7. HASH
  8. -new_hash( ssize_t size )
  9. +new_hash( int size )
  10. {
  11. HASH this;
  12. @@ -76,7 +76,7 @@
  13. }
  14. void
  15. -hash_reset(HASH this, ssize_t size )
  16. +hash_reset(HASH this, int size )
  17. {
  18. this->size = 2;
  19. this->entries = 0;
  20. Index: src/hash.h
  21. --- src/hash.h.orig 2004-01-03 16:57:02.000000000 +0100
  22. +++ src/hash.h 2004-01-17 20:55:10.000000000 +0100
  23. @@ -29,7 +29,7 @@
  24. typedef struct HASH_T *HASH;
  25. -HASH new_hash(ssize_t size);
  26. +HASH new_hash(int size);
  27. void hash_add(HASH this, char *key, char *value);
  28. char *hash_get(HASH this, char *key);
  29. char **hash_get_keys(HASH this);
  30. Index: configure
  31. --- configure.orig 2005-10-11 19:31:39 +0200
  32. +++ configure 2006-05-16 09:04:36 +0200
  33. @@ -21075,7 +21075,9 @@
  34. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  35. $EGREP "yes" >/dev/null 2>&1; then
  36. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  37. SSL_LIBS="-ldl $SSL_LIBS"
  38. +fi
  39. echo "$as_me:$LINENO: result: >= 0.9.8 (appropriate flag set)" >&5
  40. echo "${ECHO_T}>= 0.9.8 (appropriate flag set)" >&6
  41. @@ -21124,7 +21126,9 @@
  42. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  43. $EGREP "yes" >/dev/null 2>&1; then
  44. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  45. SSL_LIBS="-ldl $SSL_LIBS"
  46. +fi
  47. echo "$as_me:$LINENO: result: >= 0.9.8 (appropriate flag set)" >&5
  48. echo "${ECHO_T}>= 0.9.8 (appropriate flag set)" >&6