Package: fpc / 3.0.0+dfsg-11+deb9u1

Metadata

Package Version Patches format
fpc 3.0.0+dfsg-11+deb9u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
version.diff | (download)

fpcsrc/compiler/version.pas | 9 4 + 5 - 0 !
1 file changed, 4 insertions(+), 5 deletions(-)

---
fix FPCDIR in fpcmake.diff | (download)

fpcsrc/utils/fpcm/fpcmmain.pp | 44 42 + 2 - 0 !
1 file changed, 42 insertions(+), 2 deletions(-)

---
relpath.patch | (download)

fpcsrc/utils/fpmake.pp | 1 1 + 0 - 0 !
fpcsrc/utils/relpath.pas | 16 16 + 0 - 0 !
install/man/man1/relpath.1 | 32 32 + 0 - 0 !
3 files changed, 49 insertions(+)

---
fix spell errors.patch | (download)

fpcsrc/ide/fp.pas | 2 1 + 1 - 0 !
fpcsrc/ide/fphelp.pas | 4 2 + 2 - 0 !
fpcsrc/ide/wconstse.inc | 2 1 + 1 - 0 !
fpcsrc/packages/cdrom/src/fpcddb.pp | 2 1 + 1 - 0 !
fpcsrc/packages/fcl-db/src/base/dbconst.pas | 2 1 + 1 - 0 !
fpcsrc/packages/fcl-db/src/sqlite/sqliteds.pas | 2 1 + 1 - 0 !
fpcsrc/packages/fcl-net/src/httpsvlt.pp | 2 1 + 1 - 0 !
fpcsrc/packages/fcl-sdo/src/base/sdo_consts.pas | 2 1 + 1 - 0 !
fpcsrc/packages/fcl-sdo/src/base/sdo_xpath_helper.pas | 2 1 + 1 - 0 !
fpcsrc/packages/fcl-xml/src/xmltextreader.pp | 2 1 + 1 - 0 !
fpcsrc/packages/fcl-xml/tests/testgen.pp | 2 1 + 1 - 0 !
fpcsrc/packages/fv/src/editors.pas | 2 1 + 1 - 0 !
fpcsrc/packages/fv/src/strtxt.inc | 2 1 + 1 - 0 !
fpcsrc/rtl/macos/system.pp | 2 1 + 1 - 0 !
fpcsrc/rtl/objpas/sysconst.pp | 2 1 + 1 - 0 !
fpcsrc/utils/delp.pp | 2 1 + 1 - 0 !
fpcsrc/utils/fpdoc/dglobals.pp | 2 1 + 1 - 0 !
fpcsrc/utils/fpdoc/dwriter.pp | 2 1 + 1 - 0 !
fpcsrc/utils/fpdoc/fpclasschart.pp | 2 1 + 1 - 0 !
fpcsrc/utils/fpdoc/makeskel.pp | 2 1 + 1 - 0 !
fpcsrc/utils/fpdoc/unitdiff.pp | 2 1 + 1 - 0 !
install/man/man1/fp.1 | 2 1 + 1 - 0 !
install/man/man1/fpdoc.1 | 4 2 + 2 - 0 !
install/man/man1/grab_vcsa.1 | 2 1 + 1 - 0 !
install/man/man1/h2pas.1 | 2 1 + 1 - 0 !
install/man/man1/pas2jni.1 | 2 1 + 1 - 0 !
install/man/man1/ppdep.1 | 2 1 + 1 - 0 !
27 files changed, 29 insertions(+), 29 deletions(-)

 this patch fixes spelling errors detected by the debian tool lintian.
rename instantfpc to ifpc.patch | (download)

fpcsrc/utils/instantfpc/Makefile.fpc | 2 1 + 1 - 0 !
fpcsrc/utils/instantfpc/fpmake.pp | 4 2 + 2 - 0 !
fpcsrc/utils/instantfpc/ifpc.pas | 1 1 + 0 - 0 !
fpcsrc/utils/instantfpc/instantfpc.pas | 21 12 + 9 - 0 !
install/man/man1/ifpc.1 | 54 54 + 0 - 0 !
5 files changed, 70 insertions(+), 12 deletions(-)

---
use bfd explicitly.diff | (download)

fpcsrc/compiler/systems/t_linux.pas | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 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
add ppc64 support.diff | (download)

install/man/man1/ppcppc64.1 | 33 33 + 0 - 0 !
1 file changed, 33 insertions(+)

---
kfreebsd amd64_bootstrap.patch | (download)

fpcsrc/compiler/systems/t_bsd.pas | 9 2 + 7 - 0 !
fpcsrc/rtl/bsd/sysos.inc | 2 1 + 1 - 0 !
fpcsrc/rtl/unix/initc.pp | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 9 deletions(-)

 kfreebsd bootstrap necessities
 In the case we use freebsd as OS_TARGET the following goes wrong:
 .
 In fastcgi and fcl-web, something goes wrong with linking:
   ELF interpreter /usr/libexec/ld-elf.so.1 not found
 I have no idea where this comes from as all references to libexec are either
 in fpmake itself after compilation or in t_bsd.pas in parts that should not be
 used. However, if we force it in t_bsd.pas, it at least calls the right linker.
 It still doesn't work though, as the symbols it links to are wrong.
find_iconv_in_libc_on_debian.patch | (download)

fpcsrc/rtl/unix/cwstring.pp | 7 4 + 3 - 0 !
1 file changed, 4 insertions(+), 3 deletions(-)

 iconv in kfreebsd is found in libc as on linux
 On FreeBSD, iconv is a seperate library. In Debian, it is found in libc.
dont_build_fastcgi_fcl web_and_fppkg_on_kfreebsd.patch | (download)

fpcsrc/packages/Makefile.fpc.fpcmake | 6 3 + 3 - 0 !
fpcsrc/utils/Makefile.fpc.fpcmake | 4 2 + 2 - 0 !
2 files changed, 5 insertions(+), 5 deletions(-)

 temporary kfreebsd bootstrap issue
 In fastcgi and fcl-web, something goes wrong with linking. Originally it was
   ELF interpreter /usr/libexec/ld-elf.so.1 not found
 which is fixed, but now it crashes when it is used (symbols issue I think) 
 .
 For now, I decide to remove fastcgi and fcl-web from the kfreebsd build.
 .
 Because of removing fastcgi and fcl-web from building, also fppkg fails:
    pkgfphttp.pp(18,12) Fatal: Can't find unit fphttpclient used by pkgfphttp
 This last failure can be prevented by building fcl-web until failure,
 then enough pieces are in place for fppkg to build. But as I haven't figured
 out yet how to do that sensibly, let's not build fppkg for now on kfreebsd.
 .
 .
 This patch was made before the buildsystem was changed. This needs reviewing
 but I keep it as a reminder.
change path of localization files to fit Debian standar.patch | (download)

fpcsrc/utils/fpdoc/dglobals.pp | 4 2 + 2 - 0 !
fpcsrc/utils/fpdoc/fpclasschart.pp | 2 1 + 1 - 0 !
fpcsrc/utils/fpdoc/fpdoc.pp | 2 1 + 1 - 0 !
fpcsrc/utils/fpdoc/intl/Makefile | 12 7 + 5 - 0 !
fpcsrc/utils/fpdoc/makeskel.pp | 2 1 + 1 - 0 !
fpcsrc/utils/fpdoc/unitdiff.pp | 2 1 + 1 - 0 !
6 files changed, 13 insertions(+), 11 deletions(-)

 change path of localization fies to fit debian standard. (closes: bug#73368)
Bug-Debian: http://bugs.debian.org/73368

fix encoding of localization files to be utf8.patch | (download)

fpcsrc/utils/fpdoc/intl/dglobals.de.po | 18 9 + 9 - 0 !
fpcsrc/utils/fpdoc/intl/dwriter.de.po | 22 11 + 11 - 0 !
fpcsrc/utils/fpdoc/intl/fpdoc.de.po | 6 3 + 3 - 0 !
fpcsrc/utils/fpdoc/intl/fpdocmk.de.po | 14 7 + 7 - 0 !
fpcsrc/utils/fpdoc/intl/fpdocstr.de.po | 22 11 + 11 - 0 !
fpcsrc/utils/fpdoc/intl/makeskel.de.po | 4 2 + 2 - 0 !
6 files changed, 43 insertions(+), 43 deletions(-)

 change path of localization fies to fit debian standard. (closes: bug#73368)
Bug-Debian: http://bugs.debian.org/73368

prevent_date_in_fpcMakefiles.patch | (download)

fpcsrc/utils/fpcm/fpcmwr.pp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 timestamps in fpc makefiles are hindering reproducible builds
 Don't add the Date to the header of Makefiles generated by fpcmake
prevent_date_in_fpcdocs.patch | (download)

fpcdocs/Makefile.fpc | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 timestamps in fpc documentation are hindering reproducible builds
 Don't add the date to the footer of docs generated by fpdoc
disable_building_gnome1_and_gtk1.patch | (download)

fpcsrc/packages/fpmake_add.inc | 4 0 + 4 - 0 !
fpcsrc/packages/fpmake_proc.inc | 24 0 + 24 - 0 !
fpcsrc/utils/fpmake_add.inc | 1 0 + 1 - 0 !
fpcsrc/utils/fpmake_proc.inc | 2 0 + 2 - 0 !
4 files changed, 31 deletions(-)

 disable the gnome1, gtk1, fpgtk and imlib packages to build
 as they depend on libraries long go removed from Debian.
fix IDE data file location.patch | (download)

fpcsrc/ide/fpini.pas | 6 3 + 3 - 0 !
fpcsrc/ide/fpmake.pp | 20 10 + 10 - 0 !
fpcsrc/ide/fptemplt.pas | 1 1 + 0 - 0 !
3 files changed, 14 insertions(+), 13 deletions(-)

 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.
fix_source_location_for_documentation.patch | (download)

fpcdocs/fcl-project.xml | 76 38 + 38 - 0 !
fpcdocs/rtl-project.xml | 178 89 + 89 - 0 !
2 files changed, 127 insertions(+), 127 deletions(-)

 two new files in the upstream source are not pointing at
 the proper location in the tar ball for building.
fix_FTBFS_on_linux_not_amd64.patch | (download)

fpcsrc/compiler/systems/t_linux.pas | 16 16 + 0 - 0 !
1 file changed, 16 insertions(+)

 fpc 3.0.0rc1 ftbfs on all archs except armel & amd64 because
 the linker can't find the appropriate symbols
add_arm64_manpage.patch | (download)

install/man/man1/ppca64.1 | 33 33 + 0 - 0 !
1 file changed, 33 insertions(+)

 in order to add support for arm64, we need a man-page
Source: upstream

add arm64 support.patch | (download)

fpcsrc/Makefile.fpc | 3 3 + 0 - 0 !
fpcsrc/compiler/Makefile.fpc | 14 10 + 4 - 0 !
fpcsrc/compiler/aarch64/a64att.inc | 131 94 + 37 - 0 !
fpcsrc/compiler/aarch64/a64atts.inc | 59 58 + 1 - 0 !
fpcsrc/compiler/aarch64/a64ins.dat | 202 158 + 44 - 0 !
fpcsrc/compiler/aarch64/a64op.inc | 131 94 + 37 - 0 !
fpcsrc/compiler/aarch64/a64reg.dat | 329 168 + 161 - 0 !
fpcsrc/compiler/aarch64/a64tab.inc | 2 1 + 1 - 0 !
fpcsrc/compiler/aarch64/aasmcpu.pas | 1587 462 + 1125 - 0 !
fpcsrc/compiler/aarch64/agcpugas.pas | 303 303 + 0 - 0 !
fpcsrc/compiler/aarch64/aoptcpub.pas | 32 25 + 7 - 0 !
fpcsrc/compiler/aarch64/cgcpu.pas | 2275 2275 + 0 - 0 !
fpcsrc/compiler/aarch64/cpubase.pas | 238 200 + 38 - 0 !
fpcsrc/compiler/aarch64/cpuinfo.pas | 4 2 + 2 - 0 !
fpcsrc/compiler/aarch64/cpunode.pas | 40 40 + 0 - 0 !
fpcsrc/compiler/aarch64/cpupara.pas | 979 458 + 521 - 0 !
fpcsrc/compiler/aarch64/cpupi.pas | 68 68 + 0 - 0 !
fpcsrc/compiler/aarch64/cputarg.pas | 70 70 + 0 - 0 !
fpcsrc/compiler/aarch64/hlcgcpu.pas | 156 156 + 0 - 0 !
fpcsrc/compiler/aarch64/ncpuadd.pas | 402 402 + 0 - 0 !
fpcsrc/compiler/aarch64/ncpucnv.pas | 201 201 + 0 - 0 !
fpcsrc/compiler/aarch64/ncpuinl.pas | 184 184 + 0 - 0 !
fpcsrc/compiler/aarch64/ncpumat.pas | 196 196 + 0 - 0 !
fpcsrc/compiler/aarch64/ncpumem.pas | 142 142 + 0 - 0 !
fpcsrc/compiler/aarch64/ncpuset.pas | 175 175 + 0 - 0 !
fpcsrc/compiler/aarch64/ra64con.inc | 5 5 + 0 - 0 !
fpcsrc/compiler/aarch64/ra64dwa.inc | 319 162 + 157 - 0 !
fpcsrc/compiler/aarch64/ra64nor.inc | 2 1 + 1 - 0 !
fpcsrc/compiler/aarch64/ra64num.inc | 7 6 + 1 - 0 !
fpcsrc/compiler/aarch64/ra64rni.inc | 197 101 + 96 - 0 !
fpcsrc/compiler/aarch64/ra64sri.inc | 91 48 + 43 - 0 !
fpcsrc/compiler/aarch64/ra64sta.inc | 319 162 + 157 - 0 !
fpcsrc/compiler/aarch64/ra64std.inc | 7 6 + 1 - 0 !
fpcsrc/compiler/aarch64/ra64sup.inc | 5 5 + 0 - 0 !
fpcsrc/compiler/aarch64/racpu.pas | 88 88 + 0 - 0 !
fpcsrc/compiler/aarch64/racpugas.pas | 1053 1053 + 0 - 0 !
fpcsrc/compiler/aarch64/rgcpu.pas | 171 171 + 0 - 0 !
fpcsrc/compiler/aasmtai.pas | 22 15 + 7 - 0 !
fpcsrc/compiler/aggas.pas | 9 4 + 5 - 0 !
fpcsrc/compiler/aoptobj.pas | 24 19 + 5 - 0 !
fpcsrc/compiler/arm/aasmcpu.pas | 4138 3221 + 917 - 0 !
fpcsrc/compiler/arm/agarmgas.pas | 76 62 + 14 - 0 !
fpcsrc/compiler/arm/aoptcpu.pas | 2 1 + 1 - 0 !
fpcsrc/compiler/arm/armatt.inc | 258 140 + 118 - 0 !
fpcsrc/compiler/arm/armatts.inc | 22 22 + 0 - 0 !
fpcsrc/compiler/arm/armins.dat | 1745 1394 + 351 - 0 !
fpcsrc/compiler/arm/armnop.inc | 2 1 + 1 - 0 !
fpcsrc/compiler/arm/armop.inc | 258 140 + 118 - 0 !
fpcsrc/compiler/arm/armreg.dat | 11 9 + 2 - 0 !
fpcsrc/compiler/arm/armtab.inc | 6789 6359 + 430 - 0 !
fpcsrc/compiler/arm/cgcpu.pas | 109 44 + 65 - 0 !
fpcsrc/compiler/arm/cpubase.pas | 55 43 + 12 - 0 !
fpcsrc/compiler/arm/cpuelf.pas | 36 35 + 1 - 0 !
fpcsrc/compiler/arm/cpuinfo.pas | 8 5 + 3 - 0 !
fpcsrc/compiler/arm/narmadd.pas | 51 23 + 28 - 0 !
fpcsrc/compiler/arm/narmcnv.pas | 11 6 + 5 - 0 !
fpcsrc/compiler/arm/narminl.pas | 26 13 + 13 - 0 !
fpcsrc/compiler/arm/narmmat.pas | 13 8 + 5 - 0 !
fpcsrc/compiler/arm/narmmem.pas | 7 4 + 3 - 0 !
fpcsrc/compiler/arm/raarmgas.pas | 289 217 + 72 - 0 !
fpcsrc/compiler/arm/rarmcon.inc | 7 7 + 0 - 0 !
fpcsrc/compiler/arm/rarmdwa.inc | 7 7 + 0 - 0 !
fpcsrc/compiler/arm/rarmnor.inc | 2 1 + 1 - 0 !
fpcsrc/compiler/arm/rarmnum.inc | 9 8 + 1 - 0 !
fpcsrc/compiler/arm/rarmrni.inc | 9 8 + 1 - 0 !
fpcsrc/compiler/arm/rarmsri.inc | 9 8 + 1 - 0 !
fpcsrc/compiler/arm/rarmsta.inc | 7 7 + 0 - 0 !
fpcsrc/compiler/arm/rarmstd.inc | 11 9 + 2 - 0 !
fpcsrc/compiler/arm/rarmsup.inc | 7 7 + 0 - 0 !
fpcsrc/compiler/assemble.pas | 16 15 + 1 - 0 !
fpcsrc/compiler/cgbase.pas | 13 13 + 0 - 0 !
fpcsrc/compiler/cghlcpu.pas | 4 2 + 2 - 0 !
fpcsrc/compiler/cgobj.pas | 27 19 + 8 - 0 !
fpcsrc/compiler/cgutils.pas | 6 6 + 0 - 0 !
fpcsrc/compiler/fpcdefs.inc | 1 1 + 0 - 0 !
fpcsrc/compiler/globtype.pas | 4 3 + 1 - 0 !
fpcsrc/compiler/hlcg2ll.pas | 6 3 + 3 - 0 !
fpcsrc/compiler/hlcgobj.pas | 28 20 + 8 - 0 !
fpcsrc/compiler/i386/cpuelf.pas | 1 1 + 0 - 0 !
fpcsrc/compiler/i8086/n8086mem.pas | 9 5 + 4 - 0 !
fpcsrc/compiler/jvm/hlcgcpu.pas | 4 2 + 2 - 0 !
fpcsrc/compiler/m68k/n68kmem.pas | 5 3 + 2 - 0 !
fpcsrc/compiler/mips/cpuelf.pas | 1 1 + 0 - 0 !
fpcsrc/compiler/msg/errore.msg | 8 8 + 0 - 0 !
fpcsrc/compiler/msgidx.inc | 2 1 + 1 - 0 !
fpcsrc/compiler/msgtxt.inc | 132 69 + 63 - 0 !
fpcsrc/compiler/ncal.pas | 1315 778 + 537 - 0 !
fpcsrc/compiler/ncgcnv.pas | 5 5 + 0 - 0 !
fpcsrc/compiler/ncginl.pas | 12 4 + 8 - 0 !
fpcsrc/compiler/ncgld.pas | 14 11 + 3 - 0 !
fpcsrc/compiler/ncgmat.pas | 95 48 + 47 - 0 !
fpcsrc/compiler/ncgmem.pas | 72 47 + 25 - 0 !
fpcsrc/compiler/ncgutil.pas | 143 54 + 89 - 0 !
fpcsrc/compiler/ncnv.pas | 8 4 + 4 - 0 !
fpcsrc/compiler/ninl.pas | 4 4 + 0 - 0 !
fpcsrc/compiler/nld.pas | 4 2 + 2 - 0 !
fpcsrc/compiler/nmem.pas | 35 24 + 11 - 0 !
fpcsrc/compiler/objcgutl.pas | 2 1 + 1 - 0 !
fpcsrc/compiler/objcutil.pas | 13 8 + 5 - 0 !
fpcsrc/compiler/ogbase.pas | 17 17 + 0 - 0 !
fpcsrc/compiler/ogcoff.pas | 40 33 + 7 - 0 !
fpcsrc/compiler/ogelf.pas | 12 12 + 0 - 0 !
fpcsrc/compiler/options.pas | 52 37 + 15 - 0 !
fpcsrc/compiler/pparautl.pas | 14 12 + 2 - 0 !
fpcsrc/compiler/ppu.pas | 8 5 + 3 - 0 !
fpcsrc/compiler/psub.pas | 6 6 + 0 - 0 !
fpcsrc/compiler/psystem.pas | 5 4 + 1 - 0 !
fpcsrc/compiler/raatt.pas | 42 36 + 6 - 0 !
fpcsrc/compiler/rautils.pas | 14 10 + 4 - 0 !
fpcsrc/compiler/sparc/cpuelf.pas | 1 1 + 0 - 0 !
fpcsrc/compiler/symdef.pas | 18 12 + 6 - 0 !
fpcsrc/compiler/systems.inc | 11 9 + 2 - 0 !
fpcsrc/compiler/systems.pas | 32 27 + 5 - 0 !
fpcsrc/compiler/systems/i_bsd.pas | 137 135 + 2 - 0 !
fpcsrc/compiler/systems/i_linux.pas | 72 72 + 0 - 0 !
fpcsrc/compiler/systems/i_win.pas | 2 1 + 1 - 0 !
fpcsrc/compiler/systems/t_bsd.pas | 162 115 + 47 - 0 !
fpcsrc/compiler/systems/t_linux.pas | 240 240 + 0 - 0 !
fpcsrc/compiler/tgobj.pas | 2 1 + 1 - 0 !
fpcsrc/compiler/utils/Makefile.fpc | 2 1 + 1 - 0 !
fpcsrc/compiler/utils/fpc.pp | 8 7 + 1 - 0 !
fpcsrc/compiler/utils/mka64ins.pp | 4 2 + 2 - 0 !
fpcsrc/compiler/utils/mkarmins.pp | 10 6 + 4 - 0 !
fpcsrc/compiler/utils/ppuutils/ppudump.pp | 18 12 + 6 - 0 !
fpcsrc/compiler/version.pas | 3 3 + 0 - 0 !
fpcsrc/compiler/x86/agx86att.pas | 4 2 + 2 - 0 !
fpcsrc/compiler/x86/cgx86.pas | 39 28 + 11 - 0 !
fpcsrc/compiler/x86/nx86mem.pas | 5 3 + 2 - 0 !
fpcsrc/compiler/x86_64/cgcpu.pas | 2 1 + 1 - 0 !
fpcsrc/compiler/x86_64/cpuelf.pas | 1 1 + 0 - 0 !
fpcsrc/packages/fcl-res/Makefile.fpc.fpcmake | 2 1 + 1 - 0 !
fpcsrc/packages/fcl-res/src/elfconsts.pp | 4 3 + 1 - 0 !
fpcsrc/packages/fcl-res/src/elfdefaulttarget.inc | 3 3 + 0 - 0 !
fpcsrc/packages/fcl-res/src/elfreader.pp | 1 1 + 0 - 0 !
fpcsrc/packages/fcl-res/src/elfsubwriter.inc | 3 2 + 1 - 0 !
fpcsrc/packages/fcl-res/src/elfwriter.pp | 3 2 + 1 - 0 !
fpcsrc/packages/fcl-res/src/machoconsts.pp | 8 8 + 0 - 0 !
fpcsrc/packages/fcl-res/src/machodefaulttarget.inc | 3 3 + 0 - 0 !
fpcsrc/packages/fcl-res/src/machoreader.pp | 3 2 + 1 - 0 !
fpcsrc/packages/fcl-res/src/machosubwriter.inc | 88 61 + 27 - 0 !
fpcsrc/packages/fcl-res/src/machotypes.pp | 27 15 + 12 - 0 !
fpcsrc/packages/fcl-res/src/machowriter.pp | 73 59 + 14 - 0 !
fpcsrc/packages/fpmkunit/src/fpmkunit.pp | 83 43 + 40 - 0 !
fpcsrc/packages/iosxlocale/Makefile.fpc.fpcmake | 2 1 + 1 - 0 !
fpcsrc/packages/iosxlocale/fpmake.pp | 1 1 + 0 - 0 !
fpcsrc/packages/iosxlocale/src/iosxwstr.pp | 665 665 + 0 - 0 !
fpcsrc/packages/rtl-extra/src/linux/unixsock.inc | 2 1 + 1 - 0 !
fpcsrc/packages/rtl-extra/src/unix/ipc.pp | 2 1 + 1 - 0 !
fpcsrc/rtl/aarch64/aarch64.inc | 322 322 + 0 - 0 !
fpcsrc/rtl/aarch64/int64p.inc | 15 15 + 0 - 0 !
fpcsrc/rtl/aarch64/makefile.cpu | 7 7 + 0 - 0 !
fpcsrc/rtl/aarch64/math.inc | 86 86 + 0 - 0 !
fpcsrc/rtl/aarch64/mathu.inc | 157 157 + 0 - 0 !
fpcsrc/rtl/aarch64/set.inc | 15 15 + 0 - 0 !
fpcsrc/rtl/aarch64/setjump.inc | 59 59 + 0 - 0 !
fpcsrc/rtl/aarch64/setjumph.inc | 45 45 + 0 - 0 !
fpcsrc/rtl/aarch64/strings.inc | 17 17 + 0 - 0 !
fpcsrc/rtl/aarch64/stringss.inc | 18 18 + 0 - 0 !
fpcsrc/rtl/arm/arm.inc | 2 0 + 2 - 0 !
fpcsrc/rtl/arm/thumb2.inc | 2 1 + 1 - 0 !
fpcsrc/rtl/bsd/ostypes.inc | 14 7 + 7 - 0 !
fpcsrc/rtl/darwin/aarch64/sig_cpu.inc | 47 47 + 0 - 0 !
fpcsrc/rtl/darwin/aarch64/sighnd.inc | 61 61 + 0 - 0 !
fpcsrc/rtl/darwin/extres_multiarch.inc | 34 14 + 20 - 0 !
fpcsrc/rtl/darwin/ptypes.inc | 4 2 + 2 - 0 !
fpcsrc/rtl/darwin/signal.inc | 4 4 + 0 - 0 !
fpcsrc/rtl/inc/ctypes.pp | 4 4 + 0 - 0 !
fpcsrc/rtl/inc/objc.pp | 2 1 + 1 - 0 !
fpcsrc/rtl/inc/objcnf.inc | 12 9 + 3 - 0 !
fpcsrc/rtl/inc/system.inc | 7 7 + 0 - 0 !
fpcsrc/rtl/inc/systemh.inc | 36 26 + 10 - 0 !
fpcsrc/rtl/linux/aarch64/bsyscall.inc | 1 1 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/cprt0.as | 81 81 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/dllprt0.as | 72 72 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/gprt0.as | 10 10 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/prt0.as | 77 77 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/sighnd.inc | 44 44 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/sighndh.inc | 47 47 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/stat.inc | 72 72 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/syscall.inc | 127 127 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/syscallh.inc | 35 35 + 0 - 0 !
fpcsrc/rtl/linux/aarch64/sysnr.inc | 1 1 + 0 - 0 !
fpcsrc/rtl/linux/bunxsysc.inc | 81 78 + 3 - 0 !
fpcsrc/rtl/linux/linux.pp | 15 15 + 0 - 0 !
fpcsrc/rtl/linux/oldlinux.pp | 30 30 + 0 - 0 !
fpcsrc/rtl/linux/osdefs.inc | 4 4 + 0 - 0 !
fpcsrc/rtl/linux/osmacro.inc | 7 0 + 7 - 0 !
fpcsrc/rtl/linux/ossysc.inc | 60 55 + 5 - 0 !
fpcsrc/rtl/linux/ostypes.inc | 7 6 + 1 - 0 !
fpcsrc/rtl/linux/pmutext.inc | 58 58 + 0 - 0 !
fpcsrc/rtl/linux/ptypes.inc | 41 18 + 23 - 0 !
fpcsrc/rtl/linux/sysnr-gen.inc | 277 277 + 0 - 0 !
fpcsrc/rtl/linux/sysosh.inc | 16 5 + 11 - 0 !
fpcsrc/rtl/linux/termios.inc | 265 265 + 0 - 0 !
fpcsrc/rtl/unix/cthreads.pp | 4 4 + 0 - 0 !
fpcsrc/rtl/unix/cwstring.pp | 4 2 + 2 - 0 !
fpcsrc/rtl/unix/oscdecl.inc | 17 17 + 0 - 0 !
fpcsrc/rtl/unix/oscdeclh.inc | 10 3 + 7 - 0 !
fpcsrc/utils/fpcm/fpcmmain.pp | 84 42 + 42 - 0 !
fpcsrc/utils/fpcres/fpcres.pas | 8 7 + 1 - 0 !
fpcsrc/utils/fpcres/target.pas | 58 21 + 37 - 0 !
201 files changed, 24883 insertions(+), 5861 deletions(-)

 upstream includes in svn already arm64 support
 This patch was created with a recipe from bug 784569 + minor changes by Elbrus:
 mkdir a b
 wget ftp://ftp.freepascal.org/pub/fpc/beta/3.0.0-rc2/source/fpcbuild-3.0.0rc2.tar.gz
 tar xzf fpcbuild-3.0.0rc2.tar.gz -C a --strip-components=1
 svn export -r 32015 http://svn.freepascal.org/svn/fpc/branches/fixes_3_0_ios b/fpcsrc
 .
 find [ab]/fpcsrc -name Makefile -delete
 find [ab]/fpcsrc -name '*.[ao]' -o -name '*.exe' -delete
 
 ( cd b && ../a/install/updfpmkver 3.0.0rc2 )
 ( cd b && ../a/install/updmkver 3.0.0rc2 true )
 cp -rT [ab]/fpcsrc/installer
 cp -rT [ab]/fpcsrc/packages/chm
 perl -i -pe "s/(patch_nr\s*=\s*)'.*'/\$1'0'/;" b/fpcsrc/compiler/version.pas
 perl -i -pe "s/(minorpatch\s*=\s*)'.*'/\$1'rc2'/;" b/fpcsrc/compiler/version.pas
 .
 # delete directories univint and tests
 .
fix_typo_in_ppc64.patch | (download)

fpcsrc/rtl/linux/powerpc64/cprt0.as | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 ppc64 ftbfs because there is a typo in its assembly code
honor_SOURCE_DATE_EPOCH_in_date.patch | (download)

fpcsrc/compiler/globals.pas | 21 20 + 1 - 0 !
1 file changed, 20 insertions(+), 1 deletion(-)

 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.
let_ppudump_honor_TZ_var.patch | (download)

fpcsrc/rtl/unix/timezone.inc | 41 31 + 10 - 0 !
1 file changed, 31 insertions(+), 10 deletions(-)

 for diffoscope (part of the reproducible builds project) it is
 required that dates shown by ppudump don't depend on the local timezone. In
 order to achieve that ppudump should honor the TZ environment
 variable. Upstream updated the code to achieve that.
Source: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/unix/timezone.inc?r1=32369&r2=32368&view=patch

after_patch_arm64_systems.pas.patch | (download)

fpcsrc/compiler/systems.pas | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 missing part of the arm64 patch (upstream fix after the 3.0.0rc1
release)
Source: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/compiler/systems.pas?r1=32102&r2=32101&view=patch
Bug-Debian: https://bugs.debian.org/807479
fix_ppc64s_prt0.as_as_shown_by_cge.patch | (download)

fpcsrc/rtl/linux/powerpc64/prt0.as | 25 21 + 4 - 0 !
1 file changed, 21 insertions(+), 4 deletions(-)

 the build of castle-game-engine with fpc 3.0.0 on ppc64 ftbfs
Bug: http://bugs.freepascal.org/view.php?id=29587
Source: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/linux/powerpc64/prt0.as?r1=32528&r2=32527&pathrev=32528&view=patch
Source: http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/fixes_3_0/rtl/linux/powerpc64/prt0.as?r1=33046&r2=33045&pathrev=33046&view=patch
Big fix for ARM GOT support to make it work.patch | (download)

fpcsrc/compiler/aggas.pas | 2 2 + 0 - 0 !
fpcsrc/compiler/arm/cgcpu.pas | 18 14 + 4 - 0 !
fpcsrc/compiler/arm/cpupi.pas | 2 1 + 1 - 0 !
3 files changed, 17 insertions(+), 5 deletions(-)

 [patch 1/9] * big fix for arm got support to make it work:   - fixed
 access to symbols with offset.   - Always use register R9 for GOT pointer to
 prevent bugs when free register limit is reached in a function.   - GOT is
 not needed for function calls by name.

git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@31681 3ad0048d-3df7-0310-abae-a5850022a9f2

Fixed instruction re scheduler for ARM in case of PIC.patch | (download)

fpcsrc/compiler/arm/aoptcpu.pas | 11 7 + 4 - 0 !
1 file changed, 7 insertions(+), 4 deletions(-)

 [patch 2/9] * fixed instruction re-scheduler for arm in case of pic.

git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@31706 3ad0048d-3df7-0310-abae-a5850022a9f2

ARM Do not use R9 as a fixed GOT register.patch | (download)

fpcsrc/compiler/arm/cgcpu.pas | 21 16 + 5 - 0 !
fpcsrc/compiler/arm/cpupi.pas | 2 1 + 1 - 0 !
2 files changed, 17 insertions(+), 6 deletions(-)

 [patch 3/9] * arm: do not use r9 as a fixed got register.

git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@31712 3ad0048d-3df7-0310-abae-a5850022a9f2

ARM Fixed GOT init when optimization is off.patch | (download)

fpcsrc/compiler/arm/cgcpu.pas | 21 8 + 13 - 0 !
1 file changed, 8 insertions(+), 13 deletions(-)

 [patch 4/9] * arm: fixed got init when optimization is off.

git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@31728 3ad0048d-3df7-0310-abae-a5850022a9f2

ARM I hope this is a final proper fix for GOT initia.patch | (download)

fpcsrc/compiler/arm/cgcpu.pas | 26 19 + 7 - 0 !
fpcsrc/tests/tbs/tb613.pp | 85 85 + 0 - 0 !
2 files changed, 104 insertions(+), 7 deletions(-)

 [patch 5/9] * arm: i hope this is a final proper fix for got
 initialization. + Test.

git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@31730 3ad0048d-3df7-0310-abae-a5850022a9f2

Removed a leftover of my code. It is not needed anym.patch | (download)

fpcsrc/compiler/arm/cgcpu.pas | 6 0 + 6 - 0 !
1 file changed, 6 deletions(-)

 [patch 6/9] * removed a leftover of my code. it is not needed
 anymore.

git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@31755 3ad0048d-3df7-0310-abae-a5850022a9f2

Keep the GOT offset in a virtual register for i386 n.patch | (download)

fpcsrc/compiler/i386/cgcpu.pas | 82 39 + 43 - 0 !
fpcsrc/compiler/i386/cpupi.pas | 3 1 + 2 - 0 !
fpcsrc/compiler/i386/hlcgcpu.pas | 36 33 + 3 - 0 !
fpcsrc/compiler/x86/aasmcpu.pas | 5 1 + 4 - 0 !
4 files changed, 74 insertions(+), 52 deletions(-)

 [patch 7/9] * keep the got offset in a virtual register for i386
 non-darwin platforms.   It fixes PIC code generation with GOT for i386 with
 enabled optimizations. Bugs #28667, #28668.   Prior the fix I have not been
 able to compile even RTL with -O2 due to not enough free registers, since EBX
 is reserved for GOT.

  It can be further optimized to teach register allocator to not spill the GOT register if possible.

git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@32020 3ad0048d-3df7-0310-abae-a5850022a9f2

Fixed i386 case jump table when PIC with GOT and an .patch | (download)

fpcsrc/compiler/aggas.pas | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 8/9] * fixed i386 case jump table when pic with got and an
 external assembler is used.

git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@32036 3ad0048d-3df7-0310-abae-a5850022a9f2

Fixed calling of external procs for i386 non darwin .patch | (download)

fpcsrc/compiler/i386/hlcgcpu.pas | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 [patch 9/9] * fixed calling of external procs for i386 non-darwin
 targets when PIC is enabled.

git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@32536 3ad0048d-3df7-0310-abae-a5850022a9f2

arm_UMULL_support_fix.patch | (download)

fpcsrc/compiler/arm/cpuinfo.pas | 4 2 + 2 - 0 !
fpcsrc/compiler/arm/rgcpu.pas | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 the arm patch chain to support pic in debian was missing the below
 patch, whihc causes hedgewars to FTBFS (test-suite).
 .
 ARMv7M supports UMULL.
 Fix missing conflicts for multiplication instructions for >=ARMv6.
Source: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=30276
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813452

armhf tags.patch | (download)

fpcsrc/compiler/arm/agarmgas.pas | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 add tags to make armhf binaries come out correctly.
 Add elf tag to mark hardfp binaries as such. (Closes: 695547)
fix_powerpc_ftbfs_with_new_glibc.patch | (download)

fpcsrc/rtl/linux/powerpc/cprt0.as | 8 2 + 6 - 0 !
fpcsrc/rtl/unix/dl.pp | 5 3 + 2 - 0 !
2 files changed, 5 insertions(+), 8 deletions(-)

 fp-compiler is not installable on powerpc since glibc 2.23 and
 segfaults, this patch is a combination of patches.
Source: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/unix/dl.pp?r1=34368&r2=34365&pathrev=34368
Source: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826300#131
further arm64 fixes.patch | (download)

fpcsrc/compiler/aarch64/cgcpu.pas | 31 18 + 13 - 0 !
fpcsrc/compiler/aarch64/hlcgcpu.pas | 3 2 + 1 - 0 !
fpcsrc/compiler/aarch64/ncpucnv.pas | 4 4 + 0 - 0 !
3 files changed, 24 insertions(+), 14 deletions(-)

 Further arm64 changes taken from the fixes_3_0_ios branch after add-arm64-patch
 .
 This seems to fix the startup crash of the textmode ide.
 .
 Generated with
 .
ppdep fix else handling.patch | (download)

fpcsrc/utils/ppdep.pp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 off-by one error
fix spelling errors_more.patch | (download)

install/man/man1/fpc.1 | 2 1 + 1 - 0 !
install/man/man1/h2pas.1 | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 this patch fixes some more spelling errors detected by the debian
 tool lintian.
armhf fix vstr vld offset.patch | (download)

fpcsrc/compiler/arm/rgcpu.pas | 11 6 + 5 - 0 !
1 file changed, 6 insertions(+), 5 deletions(-)

 offset of vstr/vld is limited to +/- 1020
 take care of this during spilling
Correct for different meaning of TZOffset.patch | (download)

fpcsrc/packages/rtl-objpas/src/inc/dateutil.inc | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] * correct for different meaning of tzoffset

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@31356 3ad0048d-3df7-0310-abae-a5850022a9f2