summaryrefslogtreecommitdiff
path: root/databases/firebird30-server/files/patch-builds_posix_prefix.freebsd
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-01-01 01:43:51 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-01-01 01:43:51 +0100
commit54ce503f0ae9a084b169e9ee24347b250db1fc06 (patch)
tree47e0d87829b4efba26bb6e6096806b9ba1d16f52 /databases/firebird30-server/files/patch-builds_posix_prefix.freebsd
parentmath/wxmaxima: Update to Version-22.12.0 (diff)
databases/firebird30-*: Fix consumers build
After firebird25-* was removed from the tree firebird30-* bacem the new default. And some consumers of firebird started failing to build with the error "/usr/local/include/ibase.h:6:10: fatal error: '../jrd/ibase.h' file not found". In previous the src headers files were installed which were not sanitized and required other header files from the source tree. This patch properly installs the sanitized header files and fixes the consumer builds. While I am here fix the patches to be makepatch compatible. Approved by: portmgr(just-fix-it)
Diffstat (limited to 'databases/firebird30-server/files/patch-builds_posix_prefix.freebsd')
-rw-r--r--databases/firebird30-server/files/patch-builds_posix_prefix.freebsd19
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/firebird30-server/files/patch-builds_posix_prefix.freebsd b/databases/firebird30-server/files/patch-builds_posix_prefix.freebsd
new file mode 100644
index 000000000000..9734f4083aa3
--- /dev/null
+++ b/databases/firebird30-server/files/patch-builds_posix_prefix.freebsd
@@ -0,0 +1,19 @@
+--- builds/posix/prefix.freebsd.orig 2022-06-07 08:18:52 UTC
++++ builds/posix/prefix.freebsd
+@@ -20,5 +20,14 @@
+
+ EXE_LINK_OPTIONS+=-Wl,-rpath,../gen/firebird/lib
+
+-PROD_FLAGS=-O -fno-builtin -DFREEBSD -pipe -MMD -fPIC
+-DEV_FLAGS=-ggdb -DFREEBSD -pipe -MMD -p -fPIC -Wall -Wno-non-virtual-dtor
++COMMON_FLAGS=-DFREEBSD -pipe -MMD -fPIC
++PROD_FLAGS=$(COMMON_FLAGS) -O0 -g -fno-builtin -Wno-deprecated
++DEV_FLAGS=$(COMMON_FLAGS) -ggdb -p -Wall -Wno-non-virtual-dtor
++
++# This file must be compiled with SSE4.2 support
++%/CRC32C.o: COMMON_FLAGS += -msse4
++
++# These files are generated incorrectly (e.g. array.epp => array.cpp)
++%/array.o %/blob.o %/alice_meta.o %/restore.o %/backup.o: COMMON_FLAGS += -Wno-narrowing
++%/OdsDetection.o %/dba.o: COMMON_FLAGS += -Wno-narrowing
++