fpc.git
11 months agoMerge version 3.2.2+dfsg-34+rpi1 and 3.2.2+dfsg-35 to produce 3.2.2+dfsg-35+rpi1 archive/raspbian/3.2.2+dfsg-35+rpi1 raspbian/3.2.2+dfsg-35+rpi1
Raspbian automatic forward porter [Thu, 16 Jan 2025 10:02:05 +0000 (10:02 +0000)]
Merge version 3.2.2+dfsg-34+rpi1 and 3.2.2+dfsg-35 to produce 3.2.2+dfsg-35+rpi1

11 months agoMerge fpc (3.2.2+dfsg-35) import into refs/heads/workingbranch
Abou Al Montacir [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Merge fpc (3.2.2+dfsg-35) import into refs/heads/workingbranch

11 months agoFix msgfmt related build fail
Peter Blackman [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Fix msgfmt related build fail

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074706
Forwarded: https://gitlab.com/freepascal.org/fpc/source/-/issues/40853

===================================================================

Gbp-Pq: Name added-content-type-to-prevent-msgfmt-crash.patch

11 months agoImplement support for SPARC 64-bit in fpcres
Sven/Sarah Barth [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Implement support for SPARC 64-bit in fpcres

Last-Update: Tue, 2 Jan 2024 22:59:51 +0100

Lazarus build fails on sparc64 due to missing support of this
architecture in fpcres tool. This patch backports the support to
version 3.2.2.

Gbp-Pq: Name 7-060f24600bb559f62b6350899864f3ac4155c207.patch

11 months ago[PATCH] Fix for sparc64 specific code generation bug report #40252
Pierre Muller [Fri, 26 May 2023 15:09:47 +0000 (17:09 +0200)]
[PATCH] Fix for sparc64 specific code generation bug report #40252

Gbp-Pq: Name 6-3bb2586269c876856a834fb0d72a09928ff9d16b.patch

11 months ago[PATCH] * handle also simulated flags in tmipselnotnode.second_boolean, resolves...
florian [Wed, 24 Aug 2022 19:15:18 +0000 (21:15 +0200)]
[PATCH]   * handle also simulated flags in tmipselnotnode.second_boolean, resolves #39877

Gbp-Pq: Name 5-85c7368759f5fb53aa23e03c8cc27c2deb424b62.patch

11 months agoFix missing crtbeginS.o on mipsel
Peter Blackman [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Fix missing crtbeginS.o on mipsel

Forwarded: No
Last-Update: 2023-03-14

Add mipsel to the case statement, so the gcc library folder
is defined in /etc/fpc/cfg

Gbp-Pq: Name Fix-missing-crtbeginS.o-on-mipsel.patch

11 months agoChange fpmake to install missign package examples.
Abou Al Montacir [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Change fpmake to install missign package examples.

Bug-Debian: https://bugs.debian.org/1016914
Origin: vendor
Forwarded: no
Reviewed-By: None
Last-Update: 2022-11-19

Some packages do not install their examples. This patch allows to add code in
their fpmake to install their examples.

Gbp-Pq: Name change_fpmake_to_install_missing_package_examples.patch

11 months agoMake pas2jni use cthreads on Unices
Artur Frenszek-Iwicki [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Make pas2jni use cthreads on Unices

Forwarded: https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/185
Origin: vendor, https://src.fedoraproject.org/rpms/fpc/c/9c5c41eb5df798f8967c0c384a4c28aa52b250a3
Last-Update: 2022-03-16

The "pas2jni" util program shipped with FPC uses threads,
but is compiled without thread support and fails to
actually do anything useful when run.

Gbp-Pq: Name pas2jni-cthreads.patch

11 months agoFix missing TOC loads on ppc64el
Artur Frenszek-Iwicki [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Fix missing TOC loads on ppc64el

Bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/39542
Origin: vendor, https://src.fedoraproject.org/rpms/fpc/c/01634e7f70132cc0bc1cab278edc8449e73ac1f9
Last-Update: 2022-02-07

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.

Gbp-Pq: Name ppc64el-toc-fixes.patch

11 months agoAdjust startup code for glibc 2.34
Graham Inggs [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Adjust startup code for glibc 2.34

Bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
Last-Update: 2022-08-12

Based on the corresponding changes made in glibc:
https://sourceware.org/git/?p=glibc.git;a=commit;h=035c012e32c11e84d64905efaf55e74f704d3668

Gbp-Pq: Name glibc2.34.patch

11 months ago[PATCH] * don't convert the fpu parameters size from tcgsize -> int -> float_tcgsiz...
Jonas Maebe [Sat, 2 May 2020 13:17:21 +0000 (13:17 +0000)]
[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)

git-svn-id: trunk@45221 -
(cherry picked from commit 3f6ad30b6936bb215d97105bef9824abbaf0412c)

Gbp-Pq: Name 4-1c3fc6e2dfa10f7a2221b97fa0da55a7406a0f07.patch

11 months ago[PATCH] * support floating point parameters split over multiple locations, includin...
Jonas Maebe [Fri, 1 May 2020 13:02:48 +0000 (13:02 +0000)]
[PATCH]   * support floating point parameters split over multiple locations, including     integer registers, for homogeneous records/arrays on ppc64le (related to     mantis #36934)

git-svn-id: trunk@45205 -
(cherry picked from commit 722ad1ff7b1f0ba015494a40ed282c606cbc1148)

Gbp-Pq: Name 3-8a31764a7b14c47cbd51abd25672d43aaba8b6b9.patch

11 months ago[PATCH] * ppc64le: fix storing homogeneous 64 bit float parameters in case they...
Jonas Maebe [Fri, 1 May 2020 13:02:45 +0000 (13:02 +0000)]
[PATCH]   * ppc64le: fix storing homogeneous 64 bit float parameters in case they are     split over just FPU registers and memory (related to mantis #36934)

git-svn-id: trunk@45204 -
(cherry picked from commit 05923af386db5572a68ab13f0b908c8c96e7831a)

Gbp-Pq: Name 2-28b2b299da00443c49e92d7f5fe4d4a2d0c1a557.patch

11 months ago[PATCH] * cleaning up tcgsize: it makes no sense to declare every combination and...
florian [Sat, 4 Jan 2020 21:54:53 +0000 (21:54 +0000)]
[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

git-svn-id: trunk@43860 -
(cherry picked from commit b7c6e01b03ac1d8fcedf2cfe6d150b83f83cef4a)

Gbp-Pq: Name 1-3ef2ab1019a395a9392578b653958c14e19f81e0.patch

11 months ago[PATCH] * use the sizes of the floatx80 and float128 structs for arrays having their...
svenbarth [Sun, 25 Oct 2020 15:36:31 +0000 (15:36 +0000)]
[PATCH] * use the sizes of the floatx80 and float128 structs for arrays having their size to avoid problems with padding on different platforms

git-svn-id: trunk@47198 -
(cherry picked from commit 16eb670e67cc8243cf2122e992f1cebf00cf4904)

Gbp-Pq: Name 0-dba65567f1b2fb3fd283886b262dc72875a6360b.patch

11 months agoFix samplecfg tool to be compatible with multiarch compiler paths.
Abou Al Montacir [Wed, 30 Dec 2020 21:21:46 +0000 (22:21 +0100)]
Fix samplecfg tool to be compatible with multiarch compiler paths.

(Closes: Bug#975351)

Gbp-Pq: Name fix-samplecfg-tool.patch

11 months agofix version lists in utests.pp
Pascal Packaging Team [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
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.
Author: Peter Michael Green <plugwash@debian.org>

Gbp-Pq: Name fix-utest-version-lists.patch

11 months ago@PLT is needed for calls to link it properly with pic code
Florian Klämpfl [Mon, 3 Aug 2020 19:42:14 +0000 (19:42 +0000)]
@PLT is needed for calls to link it properly with pic code

Gbp-Pq: Name Fix-liking-with-libc-when-PIC-is-enabled.patch

11 months agoDisable FPU inlining on m68k
John Paul Adrian Glaubitz [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Disable FPU inlining on m68k

Forwarded: https://bugs.freepascal.org/view.php?id=37250
Last-Update: 2021-01-22

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.

Gbp-Pq: Name m68k-disable-FPU-inlining.patch

11 months agoncurses6
Pascal Packaging Team [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
ncurses6

Patch to update ncurses.pp for ncurses 6 by Sven Joachim
Taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894049#39

Gbp-Pq: Name ncurses6.patch

11 months agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
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..

Gbp-Pq: Name clean_man_pages.patch

11 months agoFix sub directories in Makefile.fpc to allor recursive generation.
Abou Al Montacir [Mon, 4 Dec 2017 22:55:22 +0000 (23:55 +0100)]
Fix sub directories in Makefile.fpc to allor recursive generation.

Gbp-Pq: Name fix_make_files_generation.patch

11 months agoChange path of unit files to make it support MA co-installation.
Abou Al Montacir [Sun, 12 Nov 2017 21:24:15 +0000 (22:24 +0100)]
Change path of unit files to make it support MA co-installation.

Bug-Debian: http://bugs.debian.org/73368

(Closes: Bug#73368)

Gbp-Pq: Name fix-units-path-to-be-multi-arch-safe.patch

11 months agoPrevent FTBFS by creating directories when required
Paul Gevers [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Prevent FTBFS by creating directories when required

===================================================================

Gbp-Pq: Name create-directory-before-copy-in-Makefile.fpc.patch

11 months agothe jsminifier.pp is not dfsg free. Therefore we strip it during
Paul Gevers [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
the jsminifier.pp is not dfsg free. Therefore we strip it during

Bug: https://bugs.freepascal.org/view.php?id=32288

repack but we must prevent during build as well.
===================================================================

Gbp-Pq: Name drop-jsminifier-from-build-as-we-strip-it.patch

11 months agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Removed declaration of legacy ncursus variables.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789091

These variables are now internal and no more exported by new ncursus libraries.

Gbp-Pq: Name remove-depreciated-ncursus-variables-declaration.patch

11 months agosome more Lintian detection spelling misstakes
Paul Gevers [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
some more Lintian detection spelling misstakes

Gbp-Pq: Name fix-spelling-errors-3.patch

11 months agofix_source_location_for_documentation
Pascal Packaging Team [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
fix_source_location_for_documentation

===================================================================

Gbp-Pq: Name fix_source_location_for_documentation.patch

11 months agoAdd tags to make armhf binaries come out correctly.
Peter Michael Green [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Add tags to make armhf binaries come out correctly.

Bug-Debian: https://bugs.debian.org/695547

Add elf tag to mark hardfp binaries as such. (Closes: 695547)

Gbp-Pq: Name armhf-tags.patch

11 months agoReproducible builds requires that the build time stamp is not
Paul Gevers [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
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.

Gbp-Pq: Name honor_SOURCE_DATE_EPOCH_in_date.patch

11 months agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
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

Gbp-Pq: Name fix-IDE-data-file-location.patch

11 months agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Disable the gnome1, gtk1, fpgtk and imlib packages to build

as they depend on libraries long go removed from Debian.

Gbp-Pq: Name disable_building_gnome1_and_gtk1.patch

11 months agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Timestamps in fpc documentation are hindering reproducible builds

Forwarded: no

Don't add the date to the footer of docs generated by fpdoc
===================================================================

Gbp-Pq: Name prevent_date_in_fpcdocs.patch

11 months agoChange path of localization fies to fit Debian standard. (Closes: Bug#73368)
Abou Al Montacir [Wed, 15 Jan 2014 20:49:04 +0000 (21:49 +0100)]
Change path of localization fies to fit Debian standard. (Closes: Bug#73368)

Bug-Debian: http://bugs.debian.org/73368

Gbp-Pq: Name fix-encoding-of-localization-files-to-be-utf8.patch

11 months agoChange path of localization fies to fit Debian standard. (Closes: Bug#73368)
Abou Al Montacir [Wed, 15 Jan 2014 20:49:04 +0000 (21:49 +0100)]
Change path of localization fies to fit Debian standard. (Closes: Bug#73368)

Bug-Debian: http://bugs.debian.org/73368

Gbp-Pq: Name change-path-of-localization-files-to-fit-Debian-standar.patch

11 months agoUse ld.bfd explicitly
Peter Michael Green [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Use ld.bfd explicitly

Bug-Debian: http://bugs.debian.org/620815
Bug-Debian: http://bugs.debian.org/624525
Bug-Debian: http://bugs.debian.org/717651

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

Gbp-Pq: Name use-bfd-explicitly.diff

11 months agorename-instantfpc-to-ifpc
Pascal Packaging Team [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
rename-instantfpc-to-ifpc

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

Gbp-Pq: Name rename-instantfpc-to-ifpc.patch

11 months agorelpath
Pascal Packaging Team [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
relpath

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.

Gbp-Pq: Name relpath.patch

11 months agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
fix-FPCDIR-in-fpcmake

This patch fixes evaluation of default value for FPCDIR. (Closes: bug#662814)

This patch fixes evaluation of default value for FPCDIR. (Closes: bug#662814)

Gbp-Pq: Name fix-FPCDIR-in-fpcmake.diff

11 months agoversion
Pascal Packaging Team [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

11 months agofpc (3.2.2+dfsg-35) unstable; urgency=medium
Abou Al Montacir [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
fpc (3.2.2+dfsg-35) unstable; urgency=medium

  * Fixed location of third party fp-units packages configuration file.
    Generally, the configuration file is identical for all architectures.
    It does not make sense to have a different file per architecture
    especially that the configuration file supports conditional sections.

[dgit import unpatched fpc 3.2.2+dfsg-35]

11 months agoImport fpc_3.2.2+dfsg-35.debian.tar.xz
Abou Al Montacir [Sun, 5 Jan 2025 18:25:14 +0000 (19:25 +0100)]
Import fpc_3.2.2+dfsg-35.debian.tar.xz

[dgit import tarball fpc 3.2.2+dfsg-35 fpc_3.2.2+dfsg-35.debian.tar.xz]

16 months agoMerge version 3.2.2+dfsg-33+rpi1 and 3.2.2+dfsg-34 to produce 3.2.2+dfsg-34+rpi1 archive/raspbian/3.2.2+dfsg-34+rpi1 raspbian/3.2.2+dfsg-34+rpi1
Raspbian automatic forward porter [Wed, 24 Jul 2024 16:38:16 +0000 (17:38 +0100)]
Merge version 3.2.2+dfsg-33+rpi1 and 3.2.2+dfsg-34 to produce 3.2.2+dfsg-34+rpi1

17 months agoMerge fpc (3.2.2+dfsg-34) import into refs/heads/workingbranch
Abou Al Montacir [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Merge fpc (3.2.2+dfsg-34) import into refs/heads/workingbranch

17 months agoFix msgfmt related build fail
Peter Blackman [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Fix msgfmt related build fail

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074706
Forwarded: https://gitlab.com/freepascal.org/fpc/source/-/issues/40853

===================================================================

Gbp-Pq: Name added-content-type-to-prevent-msgfmt-crash.patch

17 months agoImplement support for SPARC 64-bit in fpcres
Sven/Sarah Barth [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Implement support for SPARC 64-bit in fpcres

Last-Update: Tue, 2 Jan 2024 22:59:51 +0100

Lazarus build fails on sparc64 due to missing support of this
architecture in fpcres tool. This patch backports the support to
version 3.2.2.

Gbp-Pq: Name 7-060f24600bb559f62b6350899864f3ac4155c207.patch

17 months ago[PATCH] Fix for sparc64 specific code generation bug report #40252
Pierre Muller [Fri, 26 May 2023 15:09:47 +0000 (17:09 +0200)]
[PATCH] Fix for sparc64 specific code generation bug report #40252

Gbp-Pq: Name 6-3bb2586269c876856a834fb0d72a09928ff9d16b.patch

17 months ago[PATCH] * handle also simulated flags in tmipselnotnode.second_boolean, resolves...
florian [Wed, 24 Aug 2022 19:15:18 +0000 (21:15 +0200)]
[PATCH]   * handle also simulated flags in tmipselnotnode.second_boolean, resolves #39877

Gbp-Pq: Name 5-85c7368759f5fb53aa23e03c8cc27c2deb424b62.patch

17 months agoFix missing crtbeginS.o on mipsel
Peter Blackman [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Fix missing crtbeginS.o on mipsel

Forwarded: No
Last-Update: 2023-03-14

Add mipsel to the case statement, so the gcc library folder
is defined in /etc/fpc/cfg

Gbp-Pq: Name Fix-missing-crtbeginS.o-on-mipsel.patch

17 months agoChange fpmake to install missign package examples.
Abou Al Montacir [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Change fpmake to install missign package examples.

Bug-Debian: https://bugs.debian.org/1016914
Origin: vendor
Forwarded: no
Reviewed-By: None
Last-Update: 2022-11-19

Some packages do not install their examples. This patch allows to add code in
their fpmake to install their examples.

Gbp-Pq: Name change_fpmake_to_install_missing_package_examples.patch

17 months agoMake pas2jni use cthreads on Unices
Artur Frenszek-Iwicki [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Make pas2jni use cthreads on Unices

Forwarded: https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/185
Origin: vendor, https://src.fedoraproject.org/rpms/fpc/c/9c5c41eb5df798f8967c0c384a4c28aa52b250a3
Last-Update: 2022-03-16

The "pas2jni" util program shipped with FPC uses threads,
but is compiled without thread support and fails to
actually do anything useful when run.

Gbp-Pq: Name pas2jni-cthreads.patch

17 months agoFix missing TOC loads on ppc64el
Artur Frenszek-Iwicki [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Fix missing TOC loads on ppc64el

Bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/39542
Origin: vendor, https://src.fedoraproject.org/rpms/fpc/c/01634e7f70132cc0bc1cab278edc8449e73ac1f9
Last-Update: 2022-02-07

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.

Gbp-Pq: Name ppc64el-toc-fixes.patch

17 months agoAdjust startup code for glibc 2.34
Graham Inggs [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Adjust startup code for glibc 2.34

Bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
Last-Update: 2022-08-12

Based on the corresponding changes made in glibc:
https://sourceware.org/git/?p=glibc.git;a=commit;h=035c012e32c11e84d64905efaf55e74f704d3668

Gbp-Pq: Name glibc2.34.patch

17 months ago[PATCH] * don't convert the fpu parameters size from tcgsize -> int -> float_tcgsiz...
Jonas Maebe [Sat, 2 May 2020 13:17:21 +0000 (13:17 +0000)]
[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)

git-svn-id: trunk@45221 -
(cherry picked from commit 3f6ad30b6936bb215d97105bef9824abbaf0412c)

Gbp-Pq: Name 4-1c3fc6e2dfa10f7a2221b97fa0da55a7406a0f07.patch

17 months ago[PATCH] * support floating point parameters split over multiple locations, includin...
Jonas Maebe [Fri, 1 May 2020 13:02:48 +0000 (13:02 +0000)]
[PATCH]   * support floating point parameters split over multiple locations, including     integer registers, for homogeneous records/arrays on ppc64le (related to     mantis #36934)

git-svn-id: trunk@45205 -
(cherry picked from commit 722ad1ff7b1f0ba015494a40ed282c606cbc1148)

Gbp-Pq: Name 3-8a31764a7b14c47cbd51abd25672d43aaba8b6b9.patch

17 months ago[PATCH] * ppc64le: fix storing homogeneous 64 bit float parameters in case they...
Jonas Maebe [Fri, 1 May 2020 13:02:45 +0000 (13:02 +0000)]
[PATCH]   * ppc64le: fix storing homogeneous 64 bit float parameters in case they are     split over just FPU registers and memory (related to mantis #36934)

git-svn-id: trunk@45204 -
(cherry picked from commit 05923af386db5572a68ab13f0b908c8c96e7831a)

Gbp-Pq: Name 2-28b2b299da00443c49e92d7f5fe4d4a2d0c1a557.patch

17 months ago[PATCH] * cleaning up tcgsize: it makes no sense to declare every combination and...
florian [Sat, 4 Jan 2020 21:54:53 +0000 (21:54 +0000)]
[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

git-svn-id: trunk@43860 -
(cherry picked from commit b7c6e01b03ac1d8fcedf2cfe6d150b83f83cef4a)

Gbp-Pq: Name 1-3ef2ab1019a395a9392578b653958c14e19f81e0.patch

17 months ago[PATCH] * use the sizes of the floatx80 and float128 structs for arrays having their...
svenbarth [Sun, 25 Oct 2020 15:36:31 +0000 (15:36 +0000)]
[PATCH] * use the sizes of the floatx80 and float128 structs for arrays having their size to avoid problems with padding on different platforms

git-svn-id: trunk@47198 -
(cherry picked from commit 16eb670e67cc8243cf2122e992f1cebf00cf4904)

Gbp-Pq: Name 0-dba65567f1b2fb3fd283886b262dc72875a6360b.patch

17 months agoFix samplecfg tool to be compatible with multiarch compiler paths.
Abou Al Montacir [Wed, 30 Dec 2020 21:21:46 +0000 (22:21 +0100)]
Fix samplecfg tool to be compatible with multiarch compiler paths.

(Closes: Bug#975351)

Gbp-Pq: Name fix-samplecfg-tool.patch

17 months agofix version lists in utests.pp
Pascal Packaging Team [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
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.
Author: Peter Michael Green <plugwash@debian.org>

Gbp-Pq: Name fix-utest-version-lists.patch

17 months ago@PLT is needed for calls to link it properly with pic code
Florian Klämpfl [Mon, 3 Aug 2020 19:42:14 +0000 (19:42 +0000)]
@PLT is needed for calls to link it properly with pic code

Gbp-Pq: Name Fix-liking-with-libc-when-PIC-is-enabled.patch

17 months agoDisable FPU inlining on m68k
John Paul Adrian Glaubitz [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Disable FPU inlining on m68k

Forwarded: https://bugs.freepascal.org/view.php?id=37250
Last-Update: 2021-01-22

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.

Gbp-Pq: Name m68k-disable-FPU-inlining.patch

17 months agoncurses6
Pascal Packaging Team [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
ncurses6

Patch to update ncurses.pp for ncurses 6 by Sven Joachim
Taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894049#39

Gbp-Pq: Name ncurses6.patch

17 months agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
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..

Gbp-Pq: Name clean_man_pages.patch

17 months agoFix sub directories in Makefile.fpc to allor recursive generation.
Abou Al Montacir [Mon, 4 Dec 2017 22:55:22 +0000 (23:55 +0100)]
Fix sub directories in Makefile.fpc to allor recursive generation.

Gbp-Pq: Name fix_make_files_generation.patch

17 months agoChange path of unit files to make it support MA co-installation.
Abou Al Montacir [Sun, 12 Nov 2017 21:24:15 +0000 (22:24 +0100)]
Change path of unit files to make it support MA co-installation.

Bug-Debian: http://bugs.debian.org/73368

(Closes: Bug#73368)

Gbp-Pq: Name fix-units-path-to-be-multi-arch-safe.patch

17 months agoPrevent FTBFS by creating directories when required
Paul Gevers [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Prevent FTBFS by creating directories when required

===================================================================

Gbp-Pq: Name create-directory-before-copy-in-Makefile.fpc.patch

17 months agothe jsminifier.pp is not dfsg free. Therefore we strip it during
Paul Gevers [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
the jsminifier.pp is not dfsg free. Therefore we strip it during

Bug: https://bugs.freepascal.org/view.php?id=32288

repack but we must prevent during build as well.
===================================================================

Gbp-Pq: Name drop-jsminifier-from-build-as-we-strip-it.patch

17 months agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Removed declaration of legacy ncursus variables.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789091

These variables are now internal and no more exported by new ncursus libraries.

Gbp-Pq: Name remove-depreciated-ncursus-variables-declaration.patch

17 months agosome more Lintian detection spelling misstakes
Paul Gevers [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
some more Lintian detection spelling misstakes

Gbp-Pq: Name fix-spelling-errors-3.patch

17 months agofix_source_location_for_documentation
Pascal Packaging Team [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
fix_source_location_for_documentation

===================================================================

Gbp-Pq: Name fix_source_location_for_documentation.patch

17 months agoAdd tags to make armhf binaries come out correctly.
Peter Michael Green [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Add tags to make armhf binaries come out correctly.

Bug-Debian: https://bugs.debian.org/695547

Add elf tag to mark hardfp binaries as such. (Closes: 695547)

Gbp-Pq: Name armhf-tags.patch

17 months agoReproducible builds requires that the build time stamp is not
Paul Gevers [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
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.

Gbp-Pq: Name honor_SOURCE_DATE_EPOCH_in_date.patch

17 months agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
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

Gbp-Pq: Name fix-IDE-data-file-location.patch

17 months agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Disable the gnome1, gtk1, fpgtk and imlib packages to build

as they depend on libraries long go removed from Debian.

Gbp-Pq: Name disable_building_gnome1_and_gtk1.patch

17 months agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Timestamps in fpc documentation are hindering reproducible builds

Forwarded: no

Don't add the date to the footer of docs generated by fpdoc
===================================================================

Gbp-Pq: Name prevent_date_in_fpcdocs.patch

17 months agoChange path of localization fies to fit Debian standard. (Closes: Bug#73368)
Abou Al Montacir [Wed, 15 Jan 2014 20:49:04 +0000 (21:49 +0100)]
Change path of localization fies to fit Debian standard. (Closes: Bug#73368)

Bug-Debian: http://bugs.debian.org/73368

Gbp-Pq: Name fix-encoding-of-localization-files-to-be-utf8.patch

17 months agoChange path of localization fies to fit Debian standard. (Closes: Bug#73368)
Abou Al Montacir [Wed, 15 Jan 2014 20:49:04 +0000 (21:49 +0100)]
Change path of localization fies to fit Debian standard. (Closes: Bug#73368)

Bug-Debian: http://bugs.debian.org/73368

Gbp-Pq: Name change-path-of-localization-files-to-fit-Debian-standar.patch

17 months agoUse ld.bfd explicitly
Peter Michael Green [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Use ld.bfd explicitly

Bug-Debian: http://bugs.debian.org/620815
Bug-Debian: http://bugs.debian.org/624525
Bug-Debian: http://bugs.debian.org/717651

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

Gbp-Pq: Name use-bfd-explicitly.diff

17 months agorename-instantfpc-to-ifpc
Pascal Packaging Team [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
rename-instantfpc-to-ifpc

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

Gbp-Pq: Name rename-instantfpc-to-ifpc.patch

17 months agorelpath
Pascal Packaging Team [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
relpath

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.

Gbp-Pq: Name relpath.patch

17 months agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
fix-FPCDIR-in-fpcmake

This patch fixes evaluation of default value for FPCDIR. (Closes: bug#662814)

This patch fixes evaluation of default value for FPCDIR. (Closes: bug#662814)

Gbp-Pq: Name fix-FPCDIR-in-fpcmake.diff

17 months agoversion
Pascal Packaging Team [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

17 months agofpc (3.2.2+dfsg-34) unstable; urgency=medium
Abou Al Montacir [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
fpc (3.2.2+dfsg-34) unstable; urgency=medium

  * Added Content-Type to prevent msgfmt crash.
    Thanks to Peter Blackman <peter@pblackman.plus.com> (Closes: Bug#1074706)

[dgit import unpatched fpc 3.2.2+dfsg-34]

17 months agoImport fpc_3.2.2+dfsg-34.debian.tar.xz
Abou Al Montacir [Sat, 13 Jul 2024 15:35:36 +0000 (17:35 +0200)]
Import fpc_3.2.2+dfsg-34.debian.tar.xz

[dgit import tarball fpc 3.2.2+dfsg-34 fpc_3.2.2+dfsg-34.debian.tar.xz]

18 months agoMerge version 3.2.2+dfsg-32+rpi1 and 3.2.2+dfsg-33 to produce 3.2.2+dfsg-33+rpi1 archive/raspbian/3.2.2+dfsg-33+rpi1 raspbian/3.2.2+dfsg-33+rpi1
Raspbian automatic forward porter [Mon, 10 Jun 2024 11:11:55 +0000 (12:11 +0100)]
Merge version 3.2.2+dfsg-32+rpi1 and 3.2.2+dfsg-33 to produce 3.2.2+dfsg-33+rpi1

18 months agoMerge fpc (3.2.2+dfsg-33) import into refs/heads/workingbranch
Abou Al Montacir [Fri, 7 Jun 2024 22:47:33 +0000 (00:47 +0200)]
Merge fpc (3.2.2+dfsg-33) import into refs/heads/workingbranch

18 months agoImplement support for SPARC 64-bit in fpcres
Sven/Sarah Barth [Fri, 7 Jun 2024 22:47:33 +0000 (00:47 +0200)]
Implement support for SPARC 64-bit in fpcres

Last-Update: Tue, 2 Jan 2024 22:59:51 +0100

Lazarus build fails on sparc64 due to missing support of this
architecture in fpcres tool. This patch backports the support to
version 3.2.2.

Gbp-Pq: Name 7-060f24600bb559f62b6350899864f3ac4155c207.patch

18 months ago[PATCH] Fix for sparc64 specific code generation bug report #40252
Pierre Muller [Fri, 26 May 2023 15:09:47 +0000 (17:09 +0200)]
[PATCH] Fix for sparc64 specific code generation bug report #40252

Gbp-Pq: Name 6-3bb2586269c876856a834fb0d72a09928ff9d16b.patch

18 months ago[PATCH] * handle also simulated flags in tmipselnotnode.second_boolean, resolves...
florian [Wed, 24 Aug 2022 19:15:18 +0000 (21:15 +0200)]
[PATCH]   * handle also simulated flags in tmipselnotnode.second_boolean, resolves #39877

Gbp-Pq: Name 5-85c7368759f5fb53aa23e03c8cc27c2deb424b62.patch

18 months agoFix missing crtbeginS.o on mipsel
Peter Blackman [Fri, 7 Jun 2024 22:47:33 +0000 (00:47 +0200)]
Fix missing crtbeginS.o on mipsel

Forwarded: No
Last-Update: 2023-03-14

Add mipsel to the case statement, so the gcc library folder
is defined in /etc/fpc/cfg

Gbp-Pq: Name Fix-missing-crtbeginS.o-on-mipsel.patch

18 months agoChange fpmake to install missign package examples.
Abou Al Montacir [Fri, 7 Jun 2024 22:47:33 +0000 (00:47 +0200)]
Change fpmake to install missign package examples.

Bug-Debian: https://bugs.debian.org/1016914
Origin: vendor
Forwarded: no
Reviewed-By: None
Last-Update: 2022-11-19

Some packages do not install their examples. This patch allows to add code in
their fpmake to install their examples.

Gbp-Pq: Name change_fpmake_to_install_missing_package_examples.patch

18 months agoMake pas2jni use cthreads on Unices
Artur Frenszek-Iwicki [Fri, 7 Jun 2024 22:47:33 +0000 (00:47 +0200)]
Make pas2jni use cthreads on Unices

Forwarded: https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/185
Origin: vendor, https://src.fedoraproject.org/rpms/fpc/c/9c5c41eb5df798f8967c0c384a4c28aa52b250a3
Last-Update: 2022-03-16

The "pas2jni" util program shipped with FPC uses threads,
but is compiled without thread support and fails to
actually do anything useful when run.

Gbp-Pq: Name pas2jni-cthreads.patch

18 months agoFix missing TOC loads on ppc64el
Artur Frenszek-Iwicki [Fri, 7 Jun 2024 22:47:33 +0000 (00:47 +0200)]
Fix missing TOC loads on ppc64el

Bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/39542
Origin: vendor, https://src.fedoraproject.org/rpms/fpc/c/01634e7f70132cc0bc1cab278edc8449e73ac1f9
Last-Update: 2022-02-07

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.

Gbp-Pq: Name ppc64el-toc-fixes.patch

18 months agoAdjust startup code for glibc 2.34
Graham Inggs [Fri, 7 Jun 2024 22:47:33 +0000 (00:47 +0200)]
Adjust startup code for glibc 2.34

Bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
Last-Update: 2022-08-12

Based on the corresponding changes made in glibc:
https://sourceware.org/git/?p=glibc.git;a=commit;h=035c012e32c11e84d64905efaf55e74f704d3668

Gbp-Pq: Name glibc2.34.patch

18 months ago[PATCH] * don't convert the fpu parameters size from tcgsize -> int -> float_tcgsiz...
Jonas Maebe [Sat, 2 May 2020 13:17:21 +0000 (13:17 +0000)]
[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)

git-svn-id: trunk@45221 -
(cherry picked from commit 3f6ad30b6936bb215d97105bef9824abbaf0412c)

Gbp-Pq: Name 4-1c3fc6e2dfa10f7a2221b97fa0da55a7406a0f07.patch

18 months ago[PATCH] * support floating point parameters split over multiple locations, includin...
Jonas Maebe [Fri, 1 May 2020 13:02:48 +0000 (13:02 +0000)]
[PATCH]   * support floating point parameters split over multiple locations, including     integer registers, for homogeneous records/arrays on ppc64le (related to     mantis #36934)

git-svn-id: trunk@45205 -
(cherry picked from commit 722ad1ff7b1f0ba015494a40ed282c606cbc1148)

Gbp-Pq: Name 3-8a31764a7b14c47cbd51abd25672d43aaba8b6b9.patch

18 months ago[PATCH] * ppc64le: fix storing homogeneous 64 bit float parameters in case they...
Jonas Maebe [Fri, 1 May 2020 13:02:45 +0000 (13:02 +0000)]
[PATCH]   * ppc64le: fix storing homogeneous 64 bit float parameters in case they are     split over just FPU registers and memory (related to mantis #36934)

git-svn-id: trunk@45204 -
(cherry picked from commit 05923af386db5572a68ab13f0b908c8c96e7831a)

Gbp-Pq: Name 2-28b2b299da00443c49e92d7f5fe4d4a2d0c1a557.patch

18 months ago[PATCH] * cleaning up tcgsize: it makes no sense to declare every combination and...
florian [Sat, 4 Jan 2020 21:54:53 +0000 (21:54 +0000)]
[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

git-svn-id: trunk@43860 -
(cherry picked from commit b7c6e01b03ac1d8fcedf2cfe6d150b83f83cef4a)

Gbp-Pq: Name 1-3ef2ab1019a395a9392578b653958c14e19f81e0.patch