|
|
@ -1,18 +1,6 @@ |
|
|
|
Index: src/build-data/cc/gcc.txt
|
|
|
|
|
|
|
|
--- src/build-data/cc/gcc.txt.orig 2010-06-28 22:01:59.000000000 +0200
|
|
|
|
|
|
|
|
+++ src/build-data/cc/gcc.txt 2010-06-29 15:39:51.000000000 +0200
|
|
|
|
|
|
|
|
@@ -11,7 +11,7 @@
|
|
|
|
|
|
|
|
add_lib_option -l
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lang_flags "-D_REENTRANT -ansi -Wno-long-long"
|
|
|
|
|
|
|
|
-warning_flags "-W -Wall"
|
|
|
|
|
|
|
|
+warning_flags ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
maintainer_warning_flags "-Werror -Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Index: src/build-data/makefile/unix.in
|
|
|
|
Index: src/build-data/makefile/unix.in
|
|
|
|
--- src/build-data/makefile/unix.in.orig 2010-06-28 22:01:59.000000000 +0200
|
|
|
|
--- src/build-data/makefile/unix.in.orig 2010-12-13 22:47:38.000000000 +0100
|
|
|
|
+++ src/build-data/makefile/unix.in 2010-06-29 15:30:44.000000000 +0200
|
|
|
|
+++ src/build-data/makefile/unix.in 2010-12-14 09:30:48.000000000 +0100
|
|
|
|
@@ -16,7 +16,7 @@
|
|
|
|
@@ -16,7 +16,7 @@
|
|
|
|
BINDIR = $(DESTDIR)/bin
|
|
|
|
BINDIR = $(DESTDIR)/bin
|
|
|
|
LIBDIR = $(DESTDIR)/%{libdir}
|
|
|
|
LIBDIR = $(DESTDIR)/%{libdir}
|
|
|
@ -23,10 +11,19 @@ Index: src/build-data/makefile/unix.in |
|
|
|
|
|
|
|
|
|
|
|
CONFIG_SCRIPT = %{botan_config}
|
|
|
|
CONFIG_SCRIPT = %{botan_config}
|
|
|
|
Index: src/utils/cpuid.cpp
|
|
|
|
Index: src/utils/cpuid.cpp
|
|
|
|
--- src/utils/cpuid.cpp.orig 2010-06-28 22:01:59.000000000 +0200
|
|
|
|
--- src/utils/cpuid.cpp.orig 2010-12-13 22:47:39.000000000 +0100
|
|
|
|
+++ src/utils/cpuid.cpp 2010-06-29 15:30:44.000000000 +0200
|
|
|
|
+++ src/utils/cpuid.cpp 2010-12-14 09:38:08.000000000 +0100
|
|
|
|
|
|
|
|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
|
|
#include <sys/sysctl.h>
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#if defined(BOTAN_TARGET_CPU_IS_X86_FAMILY)
|
|
|
|
|
|
|
|
+#if 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(BOTAN_BUILD_COMPILER_IS_MSVC)
|
|
|
|
|
|
|
|
|
|
|
|
@@ -29,7 +29,7 @@
|
|
|
|
@@ -29,7 +29,7 @@
|
|
|
|
#elif BOTAN_GCC_VERSION >= 430
|
|
|
|
#elif (BOTAN_GCC_VERSION >= 430) || defined(BOTAN_BUILD_COMPILER_IS_CLANG)
|
|
|
|
|
|
|
|
|
|
|
|
// Only available starting in GCC 4.3
|
|
|
|
// Only available starting in GCC 4.3
|
|
|
|
- #include <cpuid.h>
|
|
|
|
- #include <cpuid.h>
|
|
|
@ -35,9 +32,9 @@ Index: src/utils/cpuid.cpp |
|
|
|
do { __get_cpuid(type, out, out+1, out+2, out+3); } while(0);
|
|
|
|
do { __get_cpuid(type, out, out+1, out+2, out+3); } while(0);
|
|
|
|
|
|
|
|
|
|
|
|
Index: src/utils/types.h
|
|
|
|
Index: src/utils/types.h
|
|
|
|
--- src/utils/types.h.orig 2010-06-28 22:01:59.000000000 +0200
|
|
|
|
--- src/utils/types.h.orig 2010-12-13 22:47:39.000000000 +0100
|
|
|
|
+++ src/utils/types.h 2010-06-29 15:30:44.000000000 +0200
|
|
|
|
+++ src/utils/types.h 2010-12-14 09:30:48.000000000 +0100
|
|
|
|
@@ -42,7 +42,7 @@
|
|
|
|
@@ -43,7 +43,7 @@
|
|
|
|
typedef unsigned __int64 u64bit;
|
|
|
|
typedef unsigned __int64 u64bit;
|
|
|
|
#elif defined(__KCC)
|
|
|
|
#elif defined(__KCC)
|
|
|
|
typedef unsigned __long_long u64bit;
|
|
|
|
typedef unsigned __long_long u64bit;
|
|
|
|