You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.9 KiB

Index: src/build-data/botan.pc.in
--- src/build-data/botan.pc.in.orig 2010-08-31 18:39:00.000000000 +0200
+++ src/build-data/botan.pc.in 2010-10-30 13:38:56.000000000 +0200
@@ -1,12 +1,12 @@
prefix=%{prefix}
exec_prefix=${prefix}
libdir=${prefix}/%{libdir}
-includedir=${prefix}/include
+includedir=${prefix}/include/botan18
Name: Botan
Description: Multi-platform C++ crypto library
Version: %{version}
-Libs: -L${libdir} -lbotan
+Libs: -L${libdir} -lbotan18
Libs.private: %{link_to}
Cflags: -I${includedir}
Index: src/build-data/cc/gcc.txt
--- src/build-data/cc/gcc.txt.orig 2010-08-31 18:39:00.000000000 +0200
+++ src/build-data/cc/gcc.txt 2010-10-30 13:38:36.000000000 +0200
@@ -11,7 +11,7 @@
add_lib_option "-l"
lang_flags "-D_REENTRANT -Wno-long-long"
-warning_flags "-W -Wall"
+warning_flags ""
#warning_flags "-Wextra -Wall -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wno-unused-parameter"
lib_opt_flags "-O2 -finline-functions"
Index: src/build-data/makefile/unix.in
--- src/build-data/makefile/unix.in.orig 2010-08-31 18:39:00.000000000 +0200
+++ src/build-data/makefile/unix.in 2010-10-30 13:38:36.000000000 +0200
@@ -21,8 +21,8 @@
BINDIR = $(DESTDIR)/bin
LIBDIR = $(DESTDIR)/%{libdir}
-HEADERDIR = $(DESTDIR)/%{includedir}/botan
-DOCDIR = $(DESTDIR)/%{docdir}/Botan-$(VERSION)
+HEADERDIR = $(DESTDIR)/%{includedir}/botan18/botan
+DOCDIR = $(DESTDIR)/%{docdir}
PKGCONF_DIR = $(LIBDIR)/pkgconfig
CONFIG_SCRIPT = %{botan_config}
Index: src/utils/types.h
--- src/utils/types.h.orig 2010-08-31 18:39:01.000000000 +0200
+++ src/utils/types.h 2010-10-30 13:38:36.000000000 +0200
@@ -22,7 +22,7 @@
typedef unsigned __int64 u64bit;
#elif defined(__KCC)
typedef unsigned __long_long u64bit;
-#elif defined(__GNUG__)
+#elif defined(__GNUC__)
__extension__ typedef unsigned long long u64bit;
#else
typedef unsigned long long u64bit;