Debian Patches

Status for firebird3.0/3.0.12.ds7-8

Patch Description Author Forwarded Bugs Origin Last update
upstream/riscv64-support.patch 1e8e7858db84750a77006d307bf28e9686f9414e Patch for CORE-5779: support for riscv64, also some code fixes related with prior ports
Minor corrections compared to the commit above due to whitespace/spelling
differences with 3.0 version
yes debian upstream
upstream/systemd-service-documentation.patch add Documentation key to the systemd service Adapted from upstream commit 70bbc0e7a54c796d60164e85664c4d26f547dfb4 Damyan Ivanov <dmn@debian.org> invalid
upstream/freebsd_ppc64el.patch commit 96931200340c8e0abcd3529b8e443d5ab62adfa5

Add support for FreeBSD/powerpc64le
Piotr Kubaj <pkubaj@FreeBSD.org> no 2022-07-28
upstream/mips64el.patch commit 22846322070ddd9a6f4801a3605f690d9f70049c

Add linux/mips64el support

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Jiaxun Yang <jiaxun.yang@flygoat.com> no 2022-08-03
out/mipsel-detection.patch on mips64el, both MIPSEL and MIPS64EL are defined Damyan Ivanov <dmn@debian.org> no
upstream/freebsd_ppc64.patch commit 4cd5c17b29210d3da3eebc72a997d0d3b4bf163e

Add support for FreeBSD/powerpc64
Piotr Kubaj <pkubaj@FreeBSD.org> no 2022-12-13
upstream/freebsd_ppc.patch commit a6ab775f97d7ae5b2a25b6dac93b79e5d24de633

Add support for FreeBSD/powerpc
Piotr Kubaj <pkubaj@FreeBSD.org> no 2022-12-21
upstream/loongarch.patch commit fcc471e420525dbd4a1dda59ed51487d5ead5921

Add LoongArch support
loongson <loongson@loongson-pc> no 2023-03-31
out/riscv64-prefix.patch add builds/posix/prefix.linux_riscv64, missing upstream It appears the commit adding RiscV64 support
(1e8e7858db84750a77006d307bf28e9686f9414e) misses the build prefix file
Here's one submitted by Manuel A. Fernandez Montecelo
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> yes debian upstream
out/obsolete-syslogd.target.patch remove reference to obsolete syslog.target Syslog is socket-activated, so no need to declare a dependency on it Damyan Ivanov <dmn@debian.org> no
upstream/systemd-service-stderr.patch drop StandardError=syslog setting Taken from upstream commit cdf8410db5b8bd264f6621867d0f319053b489a0 Damyan Ivanov <dmn@debian.org> invalid
upstream/autoconf-main-explicit-result.patch commit 8dee88fe931e44f3b3708c488aaeecfaabafdcd5

configure.ac: Add missing int return types to main (#7407)

Implicit ints are a language feature that was removed in C99 and
future compilers may require declaration of all return types.
Florian Weimer <fweimer@redhat.com> no 2022-12-02
upstream/thread-initialization-semaphore.patch commit 49e38630499cdab70bc15c255c89fc38048a57a9

Fix race in shutdown thread start (#8380)

Previously we assign value to shutdownSemaphore after shutdownThread is started, where it is already needed. So we can have situation where shutdownThread instantly leaving due to shutdownSemaphore == nullptr, and we are left with a server that can only be stopped with kill -9.

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
TreeHunter <60896014+TreeHunter9@users.noreply.github.com> no 2025-01-10
upstream/thread-init.patch commit ab586205067c3169f7e393529fa5fbfc1ceeb64b

This should fix #8215: Rare sporadic segfaults in test for core-6142 on windows.

diff --git a/src/common/ThreadStart.h b/src/common/ThreadStart.h
index fe80a4fb85..bfefcc81b3 100644
AlexPeshkoff <alexander.peshkoff@gmail.com> no 2024-08-16
upstream/icu_76.patch commit 37c1bcadbaf37425bee70a8fd1552eb069628991

Fixed build - ICU is using now c++17 features in c++API

(cherry picked from commit a81d4e4fb0b170ff4b7d142fa54eebeb7d94016a)

diff --git a/builds/posix/make.defaults b/builds/posix/make.defaults
index 5e4f598c03..94d903ddca 100755
AlexPeshkoff <alexander.peshkoff@gmail.com> yes debian upstream 2025-01-15
out/honour-buildflags.patch improved support for build flags The first change makes linking makeHeader use the same CPP/CXX/LD flags as the
rest of the sources.
The second change stops btyacc/Makefile from ignoring CFLAGS from the
environment.
The third change stops overriding CXXFLAGS
The result is using hardening flags from the environment when compiling and
linking.
Damyan Ivanov <dmn@debian.org> no
out/c++-std.patch add -std=gnu++03 and -fno-delete-null-pointer-checks to all build prefix files Firebird 3.0.3 adds these to several prefix files, but not all
The Debian package stopped adding these flags "by hand", leading to several
architectures failing to build Firebird 3.0.3:
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=arm64&ver=3.0.3.32900.ds4-1&stamp=1517766258&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=armel&ver=3.0.3.32900.ds4-1&stamp=1517767263&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=armhf&ver=3.0.3.32900.ds4-1&stamp=1517767152&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=mips&ver=3.0.3.32900.ds4-1&stamp=1517767223&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=mipsel&ver=3.0.3.32900.ds4-1&stamp=1517768560&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=ppc64el&ver=3.0.3.32900.ds4-1&stamp=1517765884&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=s390x&ver=3.0.3.32900.ds4-1&stamp=1517765834&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=hppa&ver=3.0.3.32900.ds4-1&stamp=1517770256&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=ia64&ver=3.0.3.32900.ds4-1&stamp=1517766796&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=powerpc&ver=3.0.3.32900.ds4-1&stamp=1517765959&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=ppc64&ver=3.0.3.32900.ds4-1&stamp=1517766499&raw=0
https://buildd.debian.org/status/fetch.php?pkg=firebird3.0&arch=sparc64&ver=3.0.3.32900.ds4-1&stamp=1517766590&raw=0
Damyan Ivanov <dmn@debian.org> no
out/kfreebsd-sse4.patch make prefix.freebsd* similar to prefix.linux The -msse4 flag is of particular interest, but also the -std=gnu++03 no
out/no-copy-from-icu.patch Link isql with ICU instead of embedding part of it in the source Damyan Ivanov <dmn@debian.org> no
out/cloop-honour-build-flags.patch make cloop build honor compiler/linker flags from the environment Damyan Ivanov <dmn@debian.org> no
out/spelling.patch spelling error (perfrom -> perform) Damyan Ivanov <dmn@debian.org> yes
out/fbserver-startup.patch fix fbguard to exit to the OS only after fbserver is ready Exiting right after forking causes a race condition making it possible that
the service says it is startew, but the fbserver process isn't ready yet to
serve requests, because it hasn't called listen() yet.
.
The patch makes fbserver send SIGUSR1 to the fbguard parent process, which
waits for SIGUSR1 before it returns the control to the OS.
Damyan Ivanov <dmn@debian.org> yes debian
out/cross-configure.patch improve cross buildability
* Rather than checking $build (the architecture we are building on), we should
be checking $host. Unfortunately, $host tends to lack the vendor part, so we
need a tricky sed expression for inserting it. For native builds, $host and
$build are equal.
* The check for whether sem_init works only aborts the build in case of
failure. Since the check cannot be performed during cross building, the only
sane way is to just assume sem_init to work.
* Replace a pile of AC_RUN_IFELSE with AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
The latter macros have a slower fallback path for cross compilation that use
compiler bisection to determine the values.
Helmut Grohne <helmut@subdivi.de> no
no-binary-gbaks.patch # Author: Damyan Ivanov <dmn@debian.org>
# Description: Remove usage of binary .gbak files
# These can't be in Debian-shipped sources
#
# help.fbk is removed from Debian sources so we remove mentions of it,
# together with qli, which needs it
# Forwarded: no
no
deb/march-i486.patch # Description: lower CPU optimization level to i486, which is the lowest
# Debian supports
# Author: Damyan Ivanov <dmn@debian.org>
# Forwarded: not-needed
no
packaged-boost.patch use system-wide boost headers Damyan Ivanov <dmn@debian.org> no
deb/no-suse.init.patch remove reference to firebird.init.d.suse.in That file isnot present in the repackaged source, since it cannot
be distributed by Debian -- has copyright statement without license.
Damyan Ivanov <dmn@debian.org> no
deb/gen-ids.patch re-generate ids.h unconditionally We want to create all files from their source Damyan Ivanov <dmn@debian.org> no
deb/cve-2017-11509.patch disable UDFs in firebird.conf UDFs can be used for remote code execution. see
https://www.tenable.com/security/research/tra-2017-36 (CVE-2017-11509)
http://tracker.firebirdsql.org/browse/CORE-5518
Damyan Ivanov <dmn@debian.org> invalid
out/hppa-mod_loader.patch fix mod_loader on HPPA The problem is dlsym returns a function pointer on hppa when passed the name
of a function symbol. It points at a function descriptor for the function
when the plabel bit is set in the pointer. The descriptor has an entry which
points at the function after it has been bound. Otherwise, it points at
trampoline code to fix up the descriptor.
.
In any case, dladdr doesn't do the expected thing when passed a function
pointer. It needs the actual address of the function.
.
The attached patch fixes the build on hppa-linux. Another option would be to
adjust the configure check.
John David Anglin <dave.anglin@bell.net> no debian
out/hurd-maxpathlen.patch move fallback definition of MAXPATHLEN outside the WinNT block helps the hurd build move a bit further
.
Additionally, include common.h in gpre.h to get the MAXPATHLEN define
.
The effor to build firebird on hurd is tracked at
<https://bugs.debian.org/626931>
Damyan Ivanov no

All known versions for source package 'firebird3.0'

Links