Browse Source

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
2022Q3
Jose Alonso Cardenas Marquez 2 weeks ago
parent
commit
c77c31909f
  1. 1
      archivers/peazip/Makefile
  2. 2
      cad/zcad/Makefile
  3. 2
      comms/cqrlog/Makefile
  4. 2
      editors/cudatext/Makefile
  5. 2
      editors/lazarus/Makefile
  6. 2
      editors/picpas/Makefile
  7. 2
      games/hedgewars/Makefile
  8. 2
      graphics/fpc-rsvg/Makefile
  9. 2
      graphics/lazpaint/Makefile
  10. 2
      lang/fpc-source/Makefile
  11. 5
      lang/fpc/Makefile
  12. 10
      lang/fpc/distinfo
  13. 2
      lang/fpc/files/patch-rtl_bsd_ossysc.inc
  14. 2
      multimedia/winff/Makefile
  15. 2
      net-p2p/awgg/Makefile
  16. 2
      net-p2p/transmission-remote-gui/Makefile
  17. 2
      net/fpc-ldap/Makefile
  18. 2
      russian/emkatic/Makefile
  19. 2
      science/checkmol/Makefile
  20. 2
      science/mol2ps/Makefile
  21. 2
      textproc/fpc-libxml2/Makefile
  22. 2
      x11-fm/doublecmd/Makefile

1
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}

2
cad/zcad/Makefile

@ -2,7 +2,7 @@
PORTNAME= zcad
PORTVERSION= 0.9.8.5
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= cad
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}

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

2
editors/cudatext/Makefile

@ -1,5 +1,5 @@
PORTNAME= cudatext
PORTVERSION= 1.166.0
PORTVERSION= 1.166.2
CATEGORIES= editors
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}

2
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

2
editors/picpas/Makefile

@ -1,6 +1,6 @@
PORTNAME= picpas
PORTVERSION= 0.9.0
PORTREVISION= 5
PORTREVISION= 6
DISTVERSIONPREFIX= v
CATEGORIES= editors
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}

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

2
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

2
graphics/lazpaint/Makefile

@ -1,6 +1,6 @@
PORTNAME= lazpaint
PORTVERSION= 7.1.6
PORTREVISION= 3
PORTREVISION= 4
DISTVERSIONPREFIX= v
CATEGORIES= graphics
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}

2
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/ \

5
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

10
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

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

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

2
net-p2p/awgg/Makefile

@ -1,6 +1,6 @@
PORTNAME= awgg
PORTVERSION= 0.6.0
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= net-p2p
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}

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

2
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

2
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

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

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

2
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

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

Loading…
Cancel
Save