fpc.git
2 years agoAdjust startup code for glibc 2.34
Graham Inggs [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years agofix version lists in utests.pp
Pascal Packaging Team [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years 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

2 years agoDisable FPU inlining on m68k
John Paul Adrian Glaubitz [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agoncurses6
Pascal Packaging Team [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years 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

2 years 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

2 years agoPrevent FTBFS by creating directories when required
Paul Gevers [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +0100)]
Prevent FTBFS by creating directories when required

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

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

2 years agothe jsminifier.pp is not dfsg free. Therefore we strip it during
Paul Gevers [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agosome more Lintian detection spelling misstakes
Paul Gevers [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +0100)]
some more Lintian detection spelling misstakes

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

2 years agofix_source_location_for_documentation
Pascal Packaging Team [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +0100)]
fix_source_location_for_documentation

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

Gbp-Pq: Name fix_source_location_for_documentation.patch

2 years agoAdd tags to make armhf binaries come out correctly.
Peter Michael Green [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agoReproducible builds requires that the build time stamp is not
Paul Gevers [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years 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

2 years 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

2 years agoUse ld.bfd explicitly
Peter Michael Green [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agorename-instantfpc-to-ifpc
Pascal Packaging Team [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agorelpath
Pascal Packaging Team [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +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

2 years agoversion
Pascal Packaging Team [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +0100)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

2 years agofpc (3.2.2+dfsg-20) unstable; urgency=medium
Abou Al Montacir [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +0100)]
fpc (3.2.2+dfsg-20) unstable; urgency=medium

  * Fixed compiler internal error 2003042401 on mipsel.
    This error occurs when compiling Lazarus  on mipsel architecture.

[dgit import unpatched fpc 3.2.2+dfsg-20]

2 years agoImport fpc_3.2.2+dfsg-20.debian.tar.xz
Abou Al Montacir [Thu, 30 Mar 2023 19:31:30 +0000 (20:31 +0100)]
Import fpc_3.2.2+dfsg-20.debian.tar.xz

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

4 years agoImport fpc_3.2.2+dfsg.orig.tar.xz
Abou Al Montacir [Sat, 19 Jun 2021 10:43:44 +0000 (11:43 +0100)]
Import fpc_3.2.2+dfsg.orig.tar.xz

[dgit import orig fpc_3.2.2+dfsg.orig.tar.xz]