apr.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Index: apr-util-1.2.12/apu-config.in
  2. --- apr-util-1.2.12/apu-config.in.orig 2005-02-04 21:45:35 +0100
  3. +++ apr-util-1.2.12/apu-config.in 2007-06-22 21:17:03 +0200
  4. @@ -27,7 +27,7 @@
  5. libdir="@libdir@"
  6. includedir="@includedir@"
  7. -LIBS="@APRUTIL_EXPORT_LIBS@"
  8. +LIBS="@APRUTIL_EXPORT_LIBS@ @LIBS@"
  9. INCLUDES="@APRUTIL_INCLUDES@"
  10. LDFLAGS="@APRUTIL_LDFLAGS@"
  11. Index: apr-util-1.2.12/crypto/getuuid.c
  12. --- apr-util-1.2.12/crypto/getuuid.c.orig 2006-04-14 20:01:58 +0200
  13. +++ apr-util-1.2.12/crypto/getuuid.c 2007-06-22 21:17:03 +0200
  14. @@ -131,7 +131,7 @@
  15. /* crap. this isn't crypto quality, but it will be Good Enough */
  16. - get_system_time(&time_now);
  17. + time_now = apr_time_now();
  18. srand((unsigned int)(((time_now >> 32) ^ time_now) & 0xffffffff));
  19. return rand() & 0x0FFFF;
  20. Index: apr-util-1.2.12/include/private/apu_select_dbm.h.in
  21. --- apr-util-1.2.12/include/private/apu_select_dbm.h.in.orig 2005-06-14 16:15:16 +0200
  22. +++ apr-util-1.2.12/include/private/apu_select_dbm.h.in 2007-06-22 21:21:19 +0200
  23. @@ -25,4 +25,9 @@
  24. #define APU_USE_GDBM @apu_use_gdbm@
  25. #define APU_USE_DB @apu_use_db@
  26. +#define APU_HAVE_SDBM @apu_have_sdbm@
  27. +#define APU_HAVE_NDBM @apu_have_ndbm@
  28. +#define APU_HAVE_GDBM @apu_have_gdbm@
  29. +#define APU_HAVE_DB @apu_have_db@
  30. +
  31. #endif /* !APU_SELECT_DBM_H */