summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/firebird/files/firebird-1.5.2-build.patch')
-rw-r--r--dev-db/firebird/files/firebird-1.5.2-build.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-db/firebird/files/firebird-1.5.2-build.patch b/dev-db/firebird/files/firebird-1.5.2-build.patch
new file mode 100644
index 000000000000..5e0ae7305586
--- /dev/null
+++ b/dev-db/firebird/files/firebird-1.5.2-build.patch
@@ -0,0 +1,50 @@
+--- configure.in
++++ configure.in
+@@ -386,7 +386,7 @@
+ AC_CHECK_LIB(c,main)
+ AC_CHECK_LIB(m, main)
+ AC_CHECK_LIB(crypt, main)
+-AC_CHECK_LIB(curses, main)
++AC_CHECK_LIB(ncurses, main)
+ dnl AC_CHECK_LIB(termcap, main)
+ if test "$EDITLINE_FLG" = "Y"; then
+ AC_SUBST(EDITLINE_A, -leditline)
+--- builds/posix/prefix.linux
++++ builds/posix/prefix.linux
+@@ -22,8 +22,8 @@
+
+ # -fno-builtin is used because GCC 3.0-3.2.2 had bug with builtins expansion
+ # you may remove it if engine is getting compiled with any other GCC version
+-PROD_FLAGS=-ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC
+-DEV_FLAGS=-ggdb -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall -Wno-switch
++PROD_FLAGS=-fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -MMD -fPIC
++DEV_FLAGS=-DLINUX -DDEBUG_GDS_ALLOC -MMD -fPIC -Wall -Wno-switch
+
+ OS_ServerFiles=inet_server.cpp
+
+--- builds/posix/prefix.linux_amd64
++++ builds/posix/prefix.linux_amd64
+@@ -20,8 +20,8 @@
+
+ LD=@CXX@
+
+-PROD_FLAGS=-ggdb -O3 -fno-omit-frame-pointer -DNDEBUG -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0
+-DEV_FLAGS=-ggdb -DLINUX -DAMD64 -pipe -MMD -p -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0
++PROD_FLAGS=-fno-omit-frame-pointer -DNDEBUG -DLINUX -DAMD64 -MMD -fPIC -fmessage-length=0
++DEV_FLAGS=-DLINUX -DAMD64 -MMD -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0
+
+ OS_ServerFiles=inet_server.cpp
+
+--- builds/posix/prefix.linux_sparc32
++++ builds/posix/prefix.linux_sparc32
+@@ -22,8 +22,8 @@
+
+ # -fno-builtin is used because GCC 3.0-3.2.2 had bug with builtins expansion
+ # you may remove it if engine is getting compiled with any other GCC version
+-PROD_FLAGS=-m32 -mcpu=ultrasparc -mtune=ultrasparc -O3 -DNDEBUG -DLINUX -pipe -MMD -fPIC -Dsparc
+-DEV_FLAGS=-ggdb -m32 -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall -Wno-switch -Dsparc
++PROD_FLAGS=-DNDEBUG -DLINUX -MMD -fPIC -Dsparc
++DEV_FLAGS=--DLINUX -DDEBUG_GDS_ALLOC -MMD -fPIC -Wall -Wno-switch -Dsparc
+
+ OS_ServerFiles=inet_server.cpp
+