From 388c01d5fe0355315074612d52e760bd4d56704f Mon Sep 17 00:00:00 2001 From: Vit Kabele Date: Fri, 14 Jul 2023 16:52:26 +0200 Subject: [PATCH] WIP: Firebird compilation fails in gpre #5795 Because gpre tries to compile with -march=i586, which does not support 64bit instructions. --- cross/firebird/Makefile | 5 ++++- spk/firebird/Makefile | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cross/firebird/Makefile b/cross/firebird/Makefile index d7d7732cc3e9..9faed97edf1f 100644 --- a/cross/firebird/Makefile +++ b/cross/firebird/Makefile @@ -5,6 +5,7 @@ PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT) PKG_DIST_SITE = https://github.com/FirebirdSQL/firebird/archive/refs/tags/ PKG_DIR = $(PKG_NAME)-$(PKG_VERS) +# Currently v4.0.2 works only with 7.1 DEPENDS = cross/zlib cross/libicu # archs with too old c++ compiler (c++ 11 is required) @@ -23,12 +24,14 @@ LICENSE = MPL GNU_CONFIGURE = 1 PRE_CONFIGURE_TARGET = firebird_pre_configure -CONFIGURE_ARGS = --with-builtin-tommath --with-builtin-tomcrypt --without-termlib --disable-binreloc +CONFIGURE_ARGS = --with-builtin-tommath --with-builtin-tomcrypt --without-termlib --disable-binreloc --without-editline CONFIGURE_ARGS += ac_cv_func_setpgrp_void=yes CONFIGURE_ARGS += ac_cv_sys_file_offset_bits=yes ac_cv_func_sem_init=no ac_cv_file_proc_self_exe=yes include ../../mk/spksrc.cross-cc.mk +# TODO: libtool-bin must be installed !! + .PHONY: firebird_pre_configure firebird_pre_configure: $(RUN) NOCONFIGURE=true ./autogen.sh diff --git a/spk/firebird/Makefile b/spk/firebird/Makefile index e03be11642cc..9655d60afe56 100644 --- a/spk/firebird/Makefile +++ b/spk/firebird/Makefile @@ -33,8 +33,8 @@ SERVICE_WIZARD_SHARE = wizard_download_dir SERVICE_SETUP = # Service configuration -SERVICE_PORT = 6800 -SERVICE_PORT_TITLE = Aria2 RPC +SERVICE_PORT = 3050 +SERVICE_PORT_TITLE = Firebird SQL # Admin link ADMIN_PORT = $(SERVICE_PORT)