botan.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Index: src/build-data/cc/gcc
  2. --- src/build-data/cc/gcc.orig 2008-09-30 18:59:48 +0200
  3. +++ src/build-data/cc/gcc 2008-10-01 19:45:12 +0200
  4. @@ -8,8 +8,8 @@
  5. add_lib_dir_option "-L"
  6. add_lib_option "-l"
  7. -lang_flags "-D_REENTRANT -ansi -Wno-long-long"
  8. -warning_flags "-W -Wall"
  9. +lang_flags "-D_REENTRANT -Wno-long-long"
  10. +warning_flags ""
  11. #warning_flags "-Werror -Wextra -Wall -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations"
  12. lib_opt_flags "-O2 -finline-functions"
  13. Index: src/build-data/makefile/unix.in
  14. --- src/build-data/makefile/unix.in.orig 2008-09-30 18:59:48 +0200
  15. +++ src/build-data/makefile/unix.in 2008-10-01 19:45:12 +0200
  16. @@ -26,7 +26,7 @@
  17. BINDIR = $(INSTALLROOT)/bin
  18. LIBDIR = $(INSTALLROOT)/@{var:libdir}
  19. HEADERDIR = $(INSTALLROOT)/@{var:includedir}/botan
  20. -DOCDIR = $(INSTALLROOT)/@{var:docdir}/Botan-$(VERSION)
  21. +DOCDIR = $(INSTALLROOT)/@{var:docdir}
  22. CONFIG_SCRIPT = @{var:botan-config}
  23. Index: src/utils/types.h
  24. --- src/utils/types.h.orig 2008-09-30 18:59:48 +0200
  25. +++ src/utils/types.h 2008-10-01 19:45:12 +0200
  26. @@ -20,7 +20,7 @@
  27. typedef unsigned __int64 u64bit;
  28. #elif defined(__KCC)
  29. typedef unsigned __long_long u64bit;
  30. -#elif defined(__GNUG__)
  31. +#elif defined(__GNUC__)
  32. __extension__ typedef unsigned long long u64bit;
  33. #else
  34. typedef unsigned long long u64bit;