git: c77c31909fb0 - main - lang/fpc: Fix build issues building some fpc based apps
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 01:17:34 UTC
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=c77c31909fb042682ba8aed7ca69419de9332804 commit c77c31909fb042682ba8aed7ca69419de9332804 Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2022-06-21 01:07:05 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2022-06-21 01:17:20 +0000 lang/fpc: Fix build issues building some fpc based apps - Add missing parameter to getdirentries syscall function - Re-build i386 and amd64 bootstrap - Revert fpc-i386 (FPC_USE_LIBC) build to syscall build - Bump PORTREVISION in all ports dependant of freepascal compiler --- archivers/peazip/Makefile | 1 + cad/zcad/Makefile | 2 +- comms/cqrlog/Makefile | 2 +- editors/cudatext/Makefile | 2 +- editors/lazarus/Makefile | 2 +- editors/picpas/Makefile | 2 +- games/hedgewars/Makefile | 2 +- graphics/fpc-rsvg/Makefile | 2 +- graphics/lazpaint/Makefile | 2 +- lang/fpc-source/Makefile | 2 +- lang/fpc/Makefile | 5 +++-- lang/fpc/distinfo | 10 +++++----- lang/fpc/files/patch-rtl_bsd_ossysc.inc | 2 +- multimedia/winff/Makefile | 2 +- net-p2p/awgg/Makefile | 2 +- net-p2p/transmission-remote-gui/Makefile | 2 +- net/fpc-ldap/Makefile | 2 +- russian/emkatic/Makefile | 2 +- science/checkmol/Makefile | 2 +- science/mol2ps/Makefile | 2 +- textproc/fpc-libxml2/Makefile | 2 +- x11-fm/doublecmd/Makefile | 2 +- 22 files changed, 28 insertions(+), 26 deletions(-) diff --git a/archivers/peazip/Makefile b/archivers/peazip/Makefile index 35aca8573624..18d1eaab6b00 100644 --- a/archivers/peazip/Makefile +++ b/archivers/peazip/Makefile @@ -1,5 +1,6 @@ PORTNAME= peazip PORTVERSION= 8.6.0 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= https://github.com/giorgiotani/PeaZip/releases/download/${PORTVERSION}/ PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} diff --git a/cad/zcad/Makefile b/cad/zcad/Makefile index 7e920cabbe0b..ab52c506c789 100644 --- a/cad/zcad/Makefile +++ b/cad/zcad/Makefile @@ -2,7 +2,7 @@ PORTNAME= zcad PORTVERSION= 0.9.8.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= cad PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} diff --git a/comms/cqrlog/Makefile b/comms/cqrlog/Makefile index 581ce9882bfb..4548d86756be 100644 --- a/comms/cqrlog/Makefile +++ b/comms/cqrlog/Makefile @@ -3,7 +3,7 @@ PORTNAME= cqrlog PORTVERSION= 2.5.0 DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= comms hamradio PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} diff --git a/editors/cudatext/Makefile b/editors/cudatext/Makefile index 20e1e4cb74ea..b21ca4a51bc6 100644 --- a/editors/cudatext/Makefile +++ b/editors/cudatext/Makefile @@ -1,5 +1,5 @@ PORTNAME= cudatext -PORTVERSION= 1.166.0 +PORTVERSION= 1.166.2 CATEGORIES= editors PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} diff --git a/editors/lazarus/Makefile b/editors/lazarus/Makefile index c9445b20daa5..56f19844a9fa 100644 --- a/editors/lazarus/Makefile +++ b/editors/lazarus/Makefile @@ -2,7 +2,7 @@ PORTNAME= lazarus PORTVERSION= 2.2.2 DISTVERSIONSUFFIX= -0 PKGNAMESUFFIX?= -gtk2 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= editors devel MASTER_SITES= SF/${PORTNAME}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PORTVERSION} \ LOCAL/acm/freepascal diff --git a/editors/picpas/Makefile b/editors/picpas/Makefile index 937b9e2ab8df..db89ac291e29 100644 --- a/editors/picpas/Makefile +++ b/editors/picpas/Makefile @@ -1,6 +1,6 @@ PORTNAME= picpas PORTVERSION= 0.9.0 -PORTREVISION= 5 +PORTREVISION= 6 DISTVERSIONPREFIX= v CATEGORIES= editors PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile index 7006b2475147..ff4945ea03c4 100644 --- a/games/hedgewars/Makefile +++ b/games/hedgewars/Makefile @@ -1,6 +1,6 @@ PORTNAME= hedgewars PORTVERSION= 1.0.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= http://www.hedgewars.org/download/releases/ \ http://mirror.amdmi3.ru/distfiles/ diff --git a/graphics/fpc-rsvg/Makefile b/graphics/fpc-rsvg/Makefile index 4a06d935a981..c2debddef3f0 100644 --- a/graphics/fpc-rsvg/Makefile +++ b/graphics/fpc-rsvg/Makefile @@ -1,6 +1,6 @@ # Created by: Christopher Key <cjk32@cam.ac.uk> -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics lang PKGNAMESUFFIX= -rsvg diff --git a/graphics/lazpaint/Makefile b/graphics/lazpaint/Makefile index 0e90e7b502ca..2e14a2f6097c 100644 --- a/graphics/lazpaint/Makefile +++ b/graphics/lazpaint/Makefile @@ -1,6 +1,6 @@ PORTNAME= lazpaint PORTVERSION= 7.1.6 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONPREFIX= v CATEGORIES= graphics PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} diff --git a/lang/fpc-source/Makefile b/lang/fpc-source/Makefile index 3eab6d0a4af1..4c88d5fc3ea5 100644 --- a/lang/fpc-source/Makefile +++ b/lang/fpc-source/Makefile @@ -1,6 +1,6 @@ PORTNAME= fpc PORTVERSION= 3.2.2 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONSUFFIX=.source CATEGORIES= lang MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/ \ diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile index 2e89ee58da7a..10c27dd83437 100644 --- a/lang/fpc/Makefile +++ b/lang/fpc/Makefile @@ -2,7 +2,7 @@ PORTNAME= fpc PORTVERSION= 3.2.2 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES?= lang MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://planetmirror.com/pub/fpc/dist/${PORTVERSION}/source/:source \ @@ -38,12 +38,13 @@ FPCSRCDIR= ${PORTNAME}-${PORTVERSION} .if ${ARCH} == "i386" PPNAME= ppc386 FPC_ARCH= i386 -OPT= "-dFPC_USE_LIBC" +#OPT= "-dFPC_USE_LIBC" PLIST_SUB+= FPC_I386="" \ FPC_AMD64="@comment " .elif ${ARCH} == "amd64" PPNAME= ppcx64 FPC_ARCH= x86_64 +#OPT= "-dFPC_USE_LIBC" PLIST_SUB+= FPC_I386="@comment " \ FPC_AMD64="" .endif diff --git a/lang/fpc/distinfo b/lang/fpc/distinfo index a457da702aa3..e95c432f9872 100644 --- a/lang/fpc/distinfo +++ b/lang/fpc/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1655522950 +TIMESTAMP = 1655772890 SHA256 (freepascal/fpc-3.2.2.source.tar.gz) = d542e349de246843d4f164829953d1f5b864126c5b62fd17c9b45b33e23d2f44 SIZE (freepascal/fpc-3.2.2.source.tar.gz) = 52240052 -SHA256 (freepascal/ppc386-3.2.2-freebsd.tar.gz) = 146ed6ce89d3e566a89608021efe79774ca2ce6d996abf9f00bb5ac070cd060e -SIZE (freepascal/ppc386-3.2.2-freebsd.tar.gz) = 1361735 -SHA256 (freepascal/ppcx64-3.2.2-freebsd.tar.gz) = ea29622ec89148d6d24360ca093e33b4d067fd1596c654c5371d7e870fb03342 -SIZE (freepascal/ppcx64-3.2.2-freebsd.tar.gz) = 2052926 +SHA256 (freepascal/ppc386-3.2.2-freebsd.tar.gz) = 2e175954442e28799edfe08c01635d209298b992f1062d03872571d58aa9f43a +SIZE (freepascal/ppc386-3.2.2-freebsd.tar.gz) = 1364288 +SHA256 (freepascal/ppcx64-3.2.2-freebsd.tar.gz) = 8cf6258688c3457f27bcec18e6993443ed2fcfe7d7c8697d54a13f32965e8fb0 +SIZE (freepascal/ppcx64-3.2.2-freebsd.tar.gz) = 2052903 SHA256 (freepascal/fpc-3.2.2.man.tar.gz) = 4b7d7d50922531fa01e00d0bc913abb40426ba3001579240bf3db3f4ad640584 SIZE (freepascal/fpc-3.2.2.man.tar.gz) = 47334 diff --git a/lang/fpc/files/patch-rtl_bsd_ossysc.inc b/lang/fpc/files/patch-rtl_bsd_ossysc.inc index f51a375198cc..096bcaecd656 100644 --- a/lang/fpc/files/patch-rtl_bsd_ossysc.inc +++ b/lang/fpc/files/patch-rtl_bsd_ossysc.inc @@ -65,7 +65,7 @@ +{$ifdef freebsd} +function FpGetdirentries(fd : cint; buf : pchar; nbytes : clong) : cint; +begin -+ FpGetdirentries:=do_syscall(syscall_nr_getdirentries,fd,TSysParam(buf), nbytes); ++ FpGetdirentries:=do_syscall(syscall_nr_getdirentries,fd,TSysParam(buf), nbytes, TSysParam(0)); +end; +{$endif} diff --git a/multimedia/winff/Makefile b/multimedia/winff/Makefile index 773cadc305cd..bbfeba1185f1 100644 --- a/multimedia/winff/Makefile +++ b/multimedia/winff/Makefile @@ -2,7 +2,7 @@ PORTNAME= WinFF PORTVERSION= 1.5.5 -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= multimedia MASTER_SITES= LOCAL/thierry PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} diff --git a/net-p2p/awgg/Makefile b/net-p2p/awgg/Makefile index 3a0731b6cbb9..545e89cb02dd 100644 --- a/net-p2p/awgg/Makefile +++ b/net-p2p/awgg/Makefile @@ -1,6 +1,6 @@ PORTNAME= awgg PORTVERSION= 0.6.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= net-p2p PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} diff --git a/net-p2p/transmission-remote-gui/Makefile b/net-p2p/transmission-remote-gui/Makefile index 01ca4b3832e5..74bcfb74d8b6 100644 --- a/net-p2p/transmission-remote-gui/Makefile +++ b/net-p2p/transmission-remote-gui/Makefile @@ -1,6 +1,6 @@ PORTNAME= transmission-remote-gui PORTVERSION= 5.18.0 -PORTREVISION= 9 +PORTREVISION= 10 DISTVERSIONPREFIX= v CATEGORIES= net-p2p PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} diff --git a/net/fpc-ldap/Makefile b/net/fpc-ldap/Makefile index f96508a6613c..c3a44bf08ed9 100644 --- a/net/fpc-ldap/Makefile +++ b/net/fpc-ldap/Makefile @@ -1,6 +1,6 @@ # Created by: Christopher Key <cjk32@cam.ac.uk> -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net lang PKGNAMESUFFIX= -ldap diff --git a/russian/emkatic/Makefile b/russian/emkatic/Makefile index eac7ffbb2420..bb87950a9626 100644 --- a/russian/emkatic/Makefile +++ b/russian/emkatic/Makefile @@ -2,7 +2,7 @@ PORTNAME= emkatic PORTVERSION= 0.41 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= russian emulators PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MASTER_SITES= SF/${PORTNAME}/eMKatic%20Source diff --git a/science/checkmol/Makefile b/science/checkmol/Makefile index 95ad7cfc9f39..663967d6a6b1 100644 --- a/science/checkmol/Makefile +++ b/science/checkmol/Makefile @@ -2,7 +2,7 @@ PORTNAME= checkmol PORTVERSION= 0.5 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= science MASTER_SITES= https://homepage.univie.ac.at/norbert.haider/download/chemistry/checkmol/ DISTFILES= ${PORTNAME} diff --git a/science/mol2ps/Makefile b/science/mol2ps/Makefile index faafb12945e5..900ba3fff3c1 100644 --- a/science/mol2ps/Makefile +++ b/science/mol2ps/Makefile @@ -2,7 +2,7 @@ PORTNAME= mol2ps PORTVERSION= 0.4b -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= science MASTER_SITES= https://homepage.univie.ac.at/norbert.haider/download/chemistry/mol2ps/ DISTNAME= ${PORTNAME} diff --git a/textproc/fpc-libxml2/Makefile b/textproc/fpc-libxml2/Makefile index 969104bccff3..af96ae82fc79 100644 --- a/textproc/fpc-libxml2/Makefile +++ b/textproc/fpc-libxml2/Makefile @@ -1,6 +1,6 @@ # Created by: Christoper Key <cjk32@cam.ac.uk> -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc lang PKGNAMESUFFIX= -libxml2 diff --git a/x11-fm/doublecmd/Makefile b/x11-fm/doublecmd/Makefile index 5036b7293c77..298633f938f1 100644 --- a/x11-fm/doublecmd/Makefile +++ b/x11-fm/doublecmd/Makefile @@ -2,7 +2,7 @@ PORTNAME= doublecmd PORTVERSION= 1.0.4 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= x11-fm PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}