Debian Patches

Status for fpc/3.2.2+dfsg-20

Patch Description Author Forwarded Bugs Origin Last update
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 standard for file locations.
This patch fixes this by making the IDE looking for templates in the base
installation directory.
Location of IDE template files in Debian distribution is:
/usr/lib/$(DEB_TARGET_MULTIARCH)/fpc/3.2.2/ide/
as for examples:
/usr/lib/x86_64-linux-gnu/fpc/3.2.2/ide
/usr/lib/arm-linux-gnueabihf/fpc/3.2.2/ide
index 54d0ffd1..39ae6079 100644
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_source_location_for_documentation.patch =================================================================== no
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 Klmpfl <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
fix-samplecfg-tool.patch Fix samplecfg tool to be compatible with multiarch compiler paths. (Closes: Bug#975351)

===================================================================
Abou Al Montacir <abou.almontacir@sfr.fr> no 2020-12-30
0-dba65567f1b2fb3fd283886b262dc72875a6360b.patch [PATCH] * use the sizes of the floatx80 and float128 structs for arrays having their size to avoid problems with padding on different
platforms

(cherry picked from commit 16eb670e67cc8243cf2122e992f1cebf00cf4904)
svenbarth <pascaldragon@googlemail.com> no 2020-10-25
1-3ef2ab1019a395a9392578b653958c14e19f81e0.patch [PATCH] * cleaning up tcgsize: it makes no sense to declare every combination and type the different vector types must be either handled in
the high level cg or by using the shuffle parameter

(cherry picked from commit b7c6e01b03ac1d8fcedf2cfe6d150b83f83cef4a)
florian <florian@freepascal.org> no 2020-01-04
2-28b2b299da00443c49e92d7f5fe4d4a2d0c1a557.patch [PATCH] * ppc64le: fix storing homogeneous 64 bit float parameters in case they are split over just FPU registers and memory (related to
mantis #36934)

(cherry picked from commit 05923af386db5572a68ab13f0b908c8c96e7831a)
Jonas Maebe <jonas@freepascal.org> no 2020-05-01
3-8a31764a7b14c47cbd51abd25672d43aaba8b6b9.patch [PATCH] * support floating point parameters split over multiple locations, including integer registers, for homogeneous records/arrays on
ppc64le (related to mantis #36934)

(cherry picked from commit 722ad1ff7b1f0ba015494a40ed282c606cbc1148)
Jonas Maebe <jonas@freepascal.org> no 2020-05-01
4-1c3fc6e2dfa10f7a2221b97fa0da55a7406a0f07.patch [PATCH] * don't convert the fpu parameters size from tcgsize -> int -> float_tcgsize if not required, to avoid translating OS_C64 into OS_F64
(fix for x86 test failures after r45205)

(cherry picked from commit 3f6ad30b6936bb215d97105bef9824abbaf0412c)
Jonas Maebe <jonas@freepascal.org> no 2020-05-02
glibc2.34.patch Adjust startup code for glibc 2.34 Based on the corresponding changes made in glibc:
https://sourceware.org/git/?p=glibc.git;a=commit;h=035c012e32c11e84d64905efaf55e74f704d3668
Graham Inggs <ginggs@debian.org> yes upstream 2022-08-12
ppc64el-toc-fixes.patch Fix missing TOC loads on ppc64el A backport of upstream commits:
- https://gitlab.com/freepascal.org/fpc/source/-/commit/12f48c230bccd49f368be1e5a2855cb6c3a60c0f
- https://gitlab.com/freepascal.org/fpc/source/-/commit/9314bbbf080418827eef94a8bc392ce0497bf72b
- https://gitlab.com/freepascal.org/fpc/source/-/commit/2de72c854115908271912cd9b260a607c826eadb
- https://gitlab.com/freepascal.org/fpc/source/-/commit/83c18df69a79fe1035a0cf0bc0897c60d1af0293
- https://gitlab.com/freepascal.org/fpc/source/-/commit/68b5ca633ca71a83c29b78cd3669bf15477cd94f
Some modifications were made to make the changes apply cleanly to v3.2.2.
Artur Frenszek-Iwicki <fedora@svgames.pl> yes upstream vendor, https://src.fedoraproject.org/rpms/fpc/c/01634e7f70132cc0bc1cab278edc8449e73ac1f9 2022-02-07
pas2jni-cthreads.patch Make pas2jni use cthreads on Unices The "pas2jni" util program shipped with FPC uses threads,
but is compiled without thread support and fails to
actually do anything useful when run.
Artur Frenszek-Iwicki <fedora@svgames.pl> yes vendor, https://src.fedoraproject.org/rpms/fpc/c/9c5c41eb5df798f8967c0c384a4c28aa52b250a3 2022-03-16
change_fpmake_to_install_missing_package_examples.patch Change fpmake to install missign package examples. Some packages do not install their examples. This patch allows to add code in
their fpmake to install their examples.
.
Abou Al Montacir <abou.almontacir@sfr.fr> no debian vendor 2022-11-19
Fix-missing-crtbeginS.o-on-mipsel.patch Fix missing crtbeginS.o on mipsel Add mipsel to the case statement, so the gcc library folder
is defined in /etc/fpc/cfg

===================================================================
Peter Blackman <peter@pblackman.plus.com> no 2023-03-14
5-85c7368759f5fb53aa23e03c8cc27c2deb424b62.patch [PATCH] * handle also simulated flags in tmipselnotnode.second_boolean, resolves #39877 florian <florian@freepascal.org> no 2022-08-24

All known versions for source package 'fpc'

Links