Debian Patches

Status for fpc/3.2.0+dfsg-12

Patch Description Author Forwarded Bugs Origin Last update
fix_source_location_for_documentation.patch =================================================================== no
version.diff This patch adds Debian build version to compiler full version.

===================================================================
no
fix-FPCDIR-in-fpcmake.diff This patch fixes evaluation of default value for FPCDIR. (Closes: bug#662814)

===================================================================
no
relpath.patch This patch adds an utility for computing relative path according to a given
base directory. This is useful for libraries that are to install .lpk in
order to be used with lazarus. As these libraries may be compiled without
need to build depend on Lazarus, we add it in fp-utils package which is likely
to be used by any big project which build depends on fp-compiler.

===================================================================
no
rename-instantfpc-to-ifpc.patch This patch renames instantfpc to ifpc (Instant Free Pascal Compiler) and adds
man files for it.

===================================================================
no
use-bfd-explicitly.diff Use ld.bfd explicitly Freepascal is broken with ld.gold, previously we conflicted with binutils-gold
but that makes us uninstallable with the new binutils.

So instead we take the approach of patching fpc to use ld.bfd directly

===================================================================
Peter Michael Green <plugwash@debian.org> no debian
change-path-of-localization-files-to-fit-Debian-standar.patch Change path of localization fies to fit Debian standard. (Closes: Bug#73368)
===================================================================
Abou Al Montacir <abou.almontacir@sfr.fr> no debian 2014-01-15
fix-encoding-of-localization-files-to-be-utf8.patch Change path of localization fies to fit Debian standard. (Closes: Bug#73368)
===================================================================
Abou Al Montacir <abou.almontacir@sfr.fr> no debian 2014-01-15
prevent_date_in_fpcdocs.patch Timestamps in fpc documentation are hindering reproducible builds Don't add the date to the footer of docs generated by fpdoc
===================================================================
Paul Gevers <elbrus@debian.org> no
disable_building_gnome1_and_gtk1.patch Disable the gnome1, gtk1, fpgtk and imlib packages to build as they depend on libraries long go removed from Debian.

===================================================================
Paul Gevers <elbrus@debian.org> no
fix-IDE-data-file-location.patch Align fp IDE template file paths with Debian standards The fp IDE looks for template files in /usr/bin where itself is installed.
However this is not conform with Debian stadard for file locations.
This patch fixes this by making the IDE looking for templates in the base
installation directory.
===================================================================
Abou Al Montacir <abou.almontacir@sfr.fr> no
honor_SOURCE_DATE_EPOCH_in_date.patch Reproducible builds requires that the build time stamp is not recorded in binaries. In FPC they are fuild in via the $INCLUDE %DATE%
directive which calls getdatestr in globals.pas. To allow reproducible builds
we should honor the SOURCE_DATE_EPOCH environment variable. To not depend on
the dateutil unit, we include the required code from that package here.

===================================================================
Abou Al Montacir <abou.almontacir@sfr.fr> no
armhf-tags.patch Add tags to make armhf binaries come out correctly. Add elf tag to mark hardfp binaries as such. (Closes: 695547)

===================================================================
Peter Michael Green <plugwash@debian.org> no debian
fix-spelling-errors-3.patch some more Lintian detection spelling misstakes
===================================================================
Paul Gevers <elbrus@debian.org> no
remove-depreciated-ncursus-variables-declaration.patch Removed declaration of legacy ncursus variables. These variables are now internal and no more exported by new ncursus libraries.

diff --git a/fpcsrc/packages/ncurses/src/form.pp b/fpcsrc/packages/ncurses/src/form.pp
index a930b75a..136a8d2f 100644
Abou Al Montacir <abou.almontacir@sfr.fr> no debian
drop-jsminifier-from-build-as-we-strip-it.patch the jsminifier.pp is not dfsg free. Therefore we strip it during repack but we must prevent during build as well.
===================================================================
Paul Gevers <elbrus@debian.org> yes upstream
create-directory-before-copy-in-Makefile.fpc.patch Prevent FTBFS by creating directories when required=================================================================== Paul Gevers <elbrus@debian.org> no
fix-units-path-to-be-multi-arch-safe.patch Change path of unit files to make it support MA co-installation. (Closes: Bug#73368)

===================================================================
Abou Al Montacir <abou.almontacir@sfr.fr> no debian 2017-11-12
fix_make_files_generation.patch Fix sub directories in Makefile.fpc to allor recursive generation.
===================================================================
Abou Al Montacir <abou.almontacir@sfr.fr> no 2017-12-04
clean_man_pages.patch Clean man pages to be lintian warnings and erros free. Lintian enforces strict policy on man pages. We try here to fix upstream files
to ensure a lintian rules compatible files..

diff --git a/install/man/man1/fpcjres.1 b/install/man/man1/fpcjres.1
index ef033a80..6c48d678 100644
Abou Al Montacir <abou.almontacir@sfr.fr> no
ncurses6.patch Patch to update ncurses.pp for ncurses 6 by Sven Joachim
Taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894049#39
===================================================================
no
m68k-disable-FPU-inlining.patch Disable FPU inlining on m68k There is a bug in the FPU code on m68k which causes the
bootstrap to fail (upstream bug #37250). Until the bug
has been fixed, disable FPU inlining to work around the
issue and fix the bootstrap on m68k.
.
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> yes 2021-01-22
Fix-liking-with-libc-when-PIC-is-enabled.patch @PLT is needed for calls to link it properly with pic code Florian Klämpfl <florian@freepascal.org> no 2020-08-03
fix-utest-version-lists.patch fix version lists in utests.pp utests.pp has three version lists, the first defining an enumerated type
and then the second two defining textual versions and svn branches
for each enumeration entry.

Unfortunately the first list was not consistent with each other resulting
in a compile error. This patch expands the first list to match the
others.
Peter Michael Green <plugwash@debian.org> no

All known versions for source package 'fpc'

Links