summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/peazip/Makefile1
-rw-r--r--cad/zcad/Makefile2
-rw-r--r--comms/cqrlog/Makefile1
-rw-r--r--databases/fpc-fpindexer/Makefile2
-rw-r--r--databases/fpc-gdbm/Makefile2
-rw-r--r--databases/fpc-ibase/Makefile2
-rw-r--r--databases/fpc-postgres/Makefile2
-rw-r--r--devel/fpc-fcl-db/Makefile2
-rw-r--r--devel/fpc-fcl-js/Makefile2
-rw-r--r--devel/fpc-fcl-json/Makefile2
-rw-r--r--devel/fpc-fcl-passrc/Makefile2
-rw-r--r--devel/fpc-fcl-pdf/Makefile2
-rw-r--r--devel/fpc-fcl-sdo/Makefile2
-rw-r--r--devel/fpc-fcl-stl/Makefile2
-rw-r--r--devel/fpc-fcl-web/Makefile2
-rw-r--r--devel/fpc-fppkg/Makefile2
-rw-r--r--devel/fpc-sdl/Makefile2
-rw-r--r--editors/cudatext/Makefile1
-rw-r--r--editors/lazarus/Makefile2
-rw-r--r--editors/picpas/Makefile2
-rw-r--r--games/hedgewars/Makefile2
-rw-r--r--graphics/fpc-imagemagick/Makefile2
-rw-r--r--graphics/lazpaint/Makefile1
-rw-r--r--lang/fpc-base/Makefile2
-rw-r--r--lang/fpc-rtl-objpas/Makefile2
-rw-r--r--lang/fpc-source/Makefile2
-rw-r--r--lang/fpc-utils/Makefile2
-rw-r--r--lang/fpc/Makefile6
-rw-r--r--lang/fpc/distinfo10
-rw-r--r--lang/fpc/files/patch-rtl-bsd_bunxsysc.inc15
-rw-r--r--lang/fpc/files/patch-rtl-freebsd_sysnr.inc57
-rw-r--r--lang/fpc/files/patch-rtl-freebsd_unxfunc.inc13
-rw-r--r--lang/fpc/files/patch-rtl-unix_bunxh.inc11
-rw-r--r--lang/fpc/files/patch-rtl_bsd_ossysc.inc44
-rw-r--r--lang/nbc/Makefile2
-rw-r--r--multimedia/fpc-libvlc/Makefile2
-rw-r--r--multimedia/winff/Makefile2
-rw-r--r--net-p2p/awgg/Makefile2
-rw-r--r--net-p2p/transmission-remote-gui/Makefile1
-rw-r--r--russian/emkatic/Makefile1
-rw-r--r--science/checkmol/Makefile2
-rw-r--r--science/mol2ps/Makefile2
-rw-r--r--www/fpc-googleapi/Makefile2
-rw-r--r--x11-fm/doublecmd/Makefile1
-rw-r--r--x11/fpc-x11/Makefile2
45 files changed, 182 insertions, 43 deletions
diff --git a/archivers/peazip/Makefile b/archivers/peazip/Makefile
index d36d318c1169..17ba590b2bbb 100644
--- a/archivers/peazip/Makefile
+++ b/archivers/peazip/Makefile
@@ -2,6 +2,7 @@
PORTNAME= peazip
PORTVERSION= 7.0.1
+PORTREVISION= 1
CATEGORIES= archivers
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
MASTER_SITES= https://github.com/giorgiotani/PeaZip/releases/download/${PORTVERSION}/
diff --git a/cad/zcad/Makefile b/cad/zcad/Makefile
index a30370bf5ff4..bf182b4958bc 100644
--- a/cad/zcad/Makefile
+++ b/cad/zcad/Makefile
@@ -3,7 +3,7 @@
PORTNAME= zcad
PORTVERSION= 0.9.8.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= cad
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
diff --git a/comms/cqrlog/Makefile b/comms/cqrlog/Makefile
index 98c64bcd7993..65ee25072caf 100644
--- a/comms/cqrlog/Makefile
+++ b/comms/cqrlog/Makefile
@@ -3,6 +3,7 @@
PORTNAME= cqrlog
PORTVERSION= 2.4.0
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= comms hamradio
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
diff --git a/databases/fpc-fpindexer/Makefile b/databases/fpc-fpindexer/Makefile
index 184b2354105c..532b2519ea19 100644
--- a/databases/fpc-fpindexer/Makefile
+++ b/databases/fpc-fpindexer/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= databases lang
PKGNAMESUFFIX= -fpindexer
diff --git a/databases/fpc-gdbm/Makefile b/databases/fpc-gdbm/Makefile
index 614ab6b2ec6f..48ee06568ed0 100644
--- a/databases/fpc-gdbm/Makefile
+++ b/databases/fpc-gdbm/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= databases lang
PKGNAMESUFFIX= -gdbm
diff --git a/databases/fpc-ibase/Makefile b/databases/fpc-ibase/Makefile
index 0c8890ac20bb..236af3feed52 100644
--- a/databases/fpc-ibase/Makefile
+++ b/databases/fpc-ibase/Makefile
@@ -1,7 +1,7 @@
# Created by: John Merryweather Cooper
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= databases lang
PKGNAMESUFFIX= -ibase
diff --git a/databases/fpc-postgres/Makefile b/databases/fpc-postgres/Makefile
index 06fde544031d..8748edb11341 100644
--- a/databases/fpc-postgres/Makefile
+++ b/databases/fpc-postgres/Makefile
@@ -1,7 +1,7 @@
# Created by: John Merryweather Cooper et al
# $FreeBSD$
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= databases lang
PKGNAMESUFFIX= -postgres
diff --git a/devel/fpc-fcl-db/Makefile b/devel/fpc-fcl-db/Makefile
index 2c94b51b596f..33e1306cc382 100644
--- a/devel/fpc-fcl-db/Makefile
+++ b/devel/fpc-fcl-db/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-db
diff --git a/devel/fpc-fcl-js/Makefile b/devel/fpc-fcl-js/Makefile
index a94eebbdbbda..ede4a86c9e86 100644
--- a/devel/fpc-fcl-js/Makefile
+++ b/devel/fpc-fcl-js/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-js
diff --git a/devel/fpc-fcl-json/Makefile b/devel/fpc-fcl-json/Makefile
index ba5dea11a4f0..4e8c1b8d9d97 100644
--- a/devel/fpc-fcl-json/Makefile
+++ b/devel/fpc-fcl-json/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-json
diff --git a/devel/fpc-fcl-passrc/Makefile b/devel/fpc-fcl-passrc/Makefile
index 4e4e3fbd5165..64785d5e9192 100644
--- a/devel/fpc-fcl-passrc/Makefile
+++ b/devel/fpc-fcl-passrc/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-passrc
diff --git a/devel/fpc-fcl-pdf/Makefile b/devel/fpc-fcl-pdf/Makefile
index 7c4cdfe769fd..763f1d343544 100644
--- a/devel/fpc-fcl-pdf/Makefile
+++ b/devel/fpc-fcl-pdf/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-pdf
diff --git a/devel/fpc-fcl-sdo/Makefile b/devel/fpc-fcl-sdo/Makefile
index 9045e884d992..eae1c82202e0 100644
--- a/devel/fpc-fcl-sdo/Makefile
+++ b/devel/fpc-fcl-sdo/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-sdo
diff --git a/devel/fpc-fcl-stl/Makefile b/devel/fpc-fcl-stl/Makefile
index 836af00b5fd5..ad08221c50bf 100644
--- a/devel/fpc-fcl-stl/Makefile
+++ b/devel/fpc-fcl-stl/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-stl
diff --git a/devel/fpc-fcl-web/Makefile b/devel/fpc-fcl-web/Makefile
index cb577fbd442e..7a4a7e39ed9e 100644
--- a/devel/fpc-fcl-web/Makefile
+++ b/devel/fpc-fcl-web/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-web
diff --git a/devel/fpc-fppkg/Makefile b/devel/fpc-fppkg/Makefile
index 2160114e00f4..b7de9711c154 100644
--- a/devel/fpc-fppkg/Makefile
+++ b/devel/fpc-fppkg/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= devel lang
PKGNAMESUFFIX= -fppkg
diff --git a/devel/fpc-sdl/Makefile b/devel/fpc-sdl/Makefile
index 1e54b74e4375..8ba82f1ce3af 100644
--- a/devel/fpc-sdl/Makefile
+++ b/devel/fpc-sdl/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel lang
PKGNAMESUFFIX= -sdl
diff --git a/editors/cudatext/Makefile b/editors/cudatext/Makefile
index e5c46279ec53..48f7420683b4 100644
--- a/editors/cudatext/Makefile
+++ b/editors/cudatext/Makefile
@@ -2,6 +2,7 @@
PORTNAME= cudatext
PORTVERSION= 1.92.0
+PORTREVISION= 1
CATEGORIES= editors
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
diff --git a/editors/lazarus/Makefile b/editors/lazarus/Makefile
index 388d3ac33216..877cd3bc7914 100644
--- a/editors/lazarus/Makefile
+++ b/editors/lazarus/Makefile
@@ -3,7 +3,7 @@
PORTNAME= lazarus
PORTVERSION= 2.0.6
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 55947540a9a3..fe336483315c 100644
--- a/editors/picpas/Makefile
+++ b/editors/picpas/Makefile
@@ -3,7 +3,7 @@
PORTNAME= picpas
PORTVERSION= 0.8.8
DISTVERSIONPREFIX= v
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= editors
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile
index 3b01a4f833f8..d95d505fd554 100644
--- a/games/hedgewars/Makefile
+++ b/games/hedgewars/Makefile
@@ -3,7 +3,7 @@
PORTNAME= hedgewars
PORTVERSION= 1.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.hedgewars.org/download/releases/ \
http://mirror.amdmi3.ru/distfiles/
diff --git a/graphics/fpc-imagemagick/Makefile b/graphics/fpc-imagemagick/Makefile
index db18a8dbf146..c8671d7cb316 100644
--- a/graphics/fpc-imagemagick/Makefile
+++ b/graphics/fpc-imagemagick/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics lang
PKGNAMESUFFIX= -imagemagick
diff --git a/graphics/lazpaint/Makefile b/graphics/lazpaint/Makefile
index 7b75aa82567e..a5992772540e 100644
--- a/graphics/lazpaint/Makefile
+++ b/graphics/lazpaint/Makefile
@@ -3,6 +3,7 @@
PORTNAME= lazpaint
PORTVERSION= 7.0.7
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= graphics
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
diff --git a/lang/fpc-base/Makefile b/lang/fpc-base/Makefile
index 950908b45b17..6d03784dde1f 100644
--- a/lang/fpc-base/Makefile
+++ b/lang/fpc-base/Makefile
@@ -3,7 +3,7 @@
PORTNAME= base
PORTVERSION= 3.0.4
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang
PKGNAMEPREFIX= fpc-
diff --git a/lang/fpc-rtl-objpas/Makefile b/lang/fpc-rtl-objpas/Makefile
index d33f06ea2e04..520f046787c5 100644
--- a/lang/fpc-rtl-objpas/Makefile
+++ b/lang/fpc-rtl-objpas/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang
PKGNAMESUFFIX= -rtl-objpas
diff --git a/lang/fpc-source/Makefile b/lang/fpc-source/Makefile
index 8d7f2f818028..626018d06267 100644
--- a/lang/fpc-source/Makefile
+++ b/lang/fpc-source/Makefile
@@ -2,7 +2,7 @@
PORTNAME= fpc
PORTVERSION= 3.0.4
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONSUFFIX=.source
CATEGORIES= lang
MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/ \
diff --git a/lang/fpc-utils/Makefile b/lang/fpc-utils/Makefile
index 7d05c4b2b3a4..1bb7b5b85cf7 100644
--- a/lang/fpc-utils/Makefile
+++ b/lang/fpc-utils/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= lang
PKGNAMESUFFIX= -utils
diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile
index ab1ea01df455..9addab0b69a0 100644
--- a/lang/fpc/Makefile
+++ b/lang/fpc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= fpc
PORTVERSION= 3.0.4
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES?= lang
MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \
ftp://planetmirror.com/pub/fpc/dist/${PORTVERSION}/source/:source \
@@ -107,8 +107,6 @@ post-patch:
.if ${OPSYS} == FreeBSD
@${REINPLACE_CMD} -i "" -e 's|900044|${OSVERSION}|g' \
${WRKSRC}/rtl/freebsd/${FPC_ARCH}/*.as
- @${REINPLACE_CMD} -i "" -e 's|197|477|g' \
- ${WRKSRC}/rtl/freebsd/sysnr.inc
.else
@${REINPLACE_CMD} -i "" -e 's|400000|${DFLYVERSION}|g' \
${WRKSRC}/rtl/dragonfly/${FPC_ARCH}/*.as
@@ -185,7 +183,7 @@ do-install:
"${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}" \
"${STAGEDIR}${PREFIX}/etc"
@${REINPLACE_CMD} -i "" -e 's|${STAGEDIR}||' \
- -e 's|^-Fl/usr/local/lib|-Fl${LOCALBASE}/lib;${LOCALBASE}/lib/qt4;${LOCALBASE}/lib/qt5|g' \
+ -e 's|^#-Fl/lib;/usr/lib|-Fl${LOCALBASE}/lib;${LOCALBASE}/lib/qt5|g' \
${STAGEDIR}${PREFIX}/etc/fpc.cfg.sample
.else
diff --git a/lang/fpc/distinfo b/lang/fpc/distinfo
index 94bb968a9b8a..200587cb4a7a 100644
--- a/lang/fpc/distinfo
+++ b/lang/fpc/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1577757794
+TIMESTAMP = 1582397737
SHA256 (freepascal/fpc-3.0.4.source.tar.gz) = 69b3b7667b72b6759cf27226df5eb54112ce3515ff5efb79d95ac14bac742845
SIZE (freepascal/fpc-3.0.4.source.tar.gz) = 40347617
-SHA256 (freepascal/ppc386-3.0.4-freebsd.tar.gz) = e8ee85613149a40f887fe7f0ad46604fb93b52989d7212dfe7bb909bdab63859
-SIZE (freepascal/ppc386-3.0.4-freebsd.tar.gz) = 1121658
-SHA256 (freepascal/ppcx64-3.0.4-freebsd.tar.gz) = ba021dd49afedf554f9c3dddeb5b81c2728836ca95848625f80dbe5dd3c7b2d8
-SIZE (freepascal/ppcx64-3.0.4-freebsd.tar.gz) = 1198609
+SHA256 (freepascal/ppc386-3.0.4-freebsd.tar.gz) = 3f5fa4b24abde00a1dcfe7e28938e8b7bf908c7d6633182521916e2191ae867d
+SIZE (freepascal/ppc386-3.0.4-freebsd.tar.gz) = 1121653
+SHA256 (freepascal/ppcx64-3.0.4-freebsd.tar.gz) = fb57c418ec374ed99cd7914a4daa5fc6afccfbf41595a886c361e3fef8bbdbb3
+SIZE (freepascal/ppcx64-3.0.4-freebsd.tar.gz) = 1198576
SHA256 (freepascal/fpc-3.0.4.man.tar.gz) = bc5357fc6e56d77eeeb5d820023f7f721f5febcc684837f296a598c6c772b26c
SIZE (freepascal/fpc-3.0.4.man.tar.gz) = 47294
diff --git a/lang/fpc/files/patch-rtl-bsd_bunxsysc.inc b/lang/fpc/files/patch-rtl-bsd_bunxsysc.inc
new file mode 100644
index 000000000000..da74fedc93ad
--- /dev/null
+++ b/lang/fpc/files/patch-rtl-bsd_bunxsysc.inc
@@ -0,0 +1,15 @@
+--- rtl/bsd/bunxsysc.inc 2015-08-04 04:31:09.000000000 -0500
++++ rtl/bsd/bunxsysc.inc 2020-02-21 18:30:23.409088000 -0500
+@@ -379,10 +379,10 @@
+ {$if defined(freebsd) or defined (dragonfly)}
+ {$define PIPE_RESULT_IN_EAX_AND_EDX}
+ {$endif}
+-Function FPpipe(var fildes : tfildes):cint;
++Function FPpipe(var fildes : tfildes; flags:cint):cint;
+ {$ifndef PIPE_RESULT_IN_EAX_AND_EDX}
+ begin
+- fppipe:=do_syscall(syscall_nr_pipe,TSysParam(@fildes));
++ fppipe:=do_syscall(syscall_nr_pipe2,TSysParam(@fildes), TSysParam(flags));
+ end;
+ {$else}
+ var
diff --git a/lang/fpc/files/patch-rtl-freebsd_sysnr.inc b/lang/fpc/files/patch-rtl-freebsd_sysnr.inc
new file mode 100644
index 000000000000..e8a14fb76f48
--- /dev/null
+++ b/lang/fpc/files/patch-rtl-freebsd_sysnr.inc
@@ -0,0 +1,57 @@
+--- rtl/freebsd/sysnr.inc 2020-02-21 13:23:53.181811000 -0500
++++ rtl/freebsd/sysnr.inc 2020-02-21 17:55:07.026920000 -0500
+@@ -16,9 +16,9 @@
+ {More or less checked/in use FreeBSD syscalls}
+ syscall_nr_readv = 120;
+ syscall_nr_writev = 121;
+- syscall_nr_pread = 173;
+- syscall_nr_pwrite = 174;
+- syscall_nr_semsys = 169;
++ syscall_nr_pread = 475;
++ syscall_nr_pwrite = 476;
++ syscall_nr_semsys = 169;
+ syscall_nr_msgsys = 170;
+ syscall_nr_shmsys = 171;
+ syscall_nr_mkfifo = 132;
+@@ -48,15 +48,15 @@
+ syscall_nr_fcntl = 92;
+ syscall_nr_flock = 131;
+ syscall_nr_fork = 2;
+- syscall_nr_fstat = 189;
++ syscall_nr_fstat = 189; // COMPAT11x
+ syscall_nr_statfs4 = 157; // COMPAT4x
+ syscall_nr_fstatfs4 = 158; // COMPAT4x
+- syscall_nr_getfsstat = 395;
++ syscall_nr_getfsstat = 395; // COMPAT11x
+ syscall_nr_statfs = 396;
+ syscall_nr_fstatfs = 397;
+ syscall_nr_fsync = 95;
+- syscall_nr_ftruncate = 201;
+- syscall_nr_getdents = 272;
++ syscall_nr_ftruncate = 480;
++ syscall_nr_getdents = 272;
+ syscall_nr_getegid = 43;
+ syscall_nr_geteuid = 25;
+ syscall_nr_getgid = 47;
+@@ -70,15 +70,16 @@
+ syscall_nr_ioctl = 54;
+ syscall_nr_kill = 37;
+ syscall_nr_link = 9;
+- syscall_nr_listen = 106;
+- syscall_nr_lseek = 199;
+- syscall_nr_lstat = 190;
++ syscall_nr_listen = 106;
++ syscall_nr_lseek = 478;
++ syscall_nr_lstat = 190;
+ syscall_nr_mkdir = 136;
+ syscall_nr_mknod = 14;
+- syscall_nr_mmap = 197;
++ syscall_nr_mmap = 477;
+ syscall_nr_open = 5;
+ syscall_nr_pipe = 42;
+- syscall_nr_poll = 209;
++ syscall_nr_pipe2 = 542;
++ syscall_nr_poll = 209;
+ syscall_nr_read = 3;
+ syscall_nr_readlink = 58;
+ syscall_nr_recvfrom = 29;
diff --git a/lang/fpc/files/patch-rtl-freebsd_unxfunc.inc b/lang/fpc/files/patch-rtl-freebsd_unxfunc.inc
new file mode 100644
index 000000000000..d9856a2342a4
--- /dev/null
+++ b/lang/fpc/files/patch-rtl-freebsd_unxfunc.inc
@@ -0,0 +1,13 @@
+--- rtl/freebsd/unxfunc.inc 2020-02-21 18:39:27.076200000 -0500
++++ rtl/freebsd/unxfunc.inc 2020-02-21 18:39:47.649039000 -0500
+@@ -49,8 +49,9 @@
+ }
+ var
+ pip : tfildes;
++ flags : cint;
+ begin
+- assignPipe:=fppipe(pip);
++ assignPipe:=fppipe(pip, flags);
+ pipe_in:=pip[0];
+ pipe_out:=pip[1];
+ end;
diff --git a/lang/fpc/files/patch-rtl-unix_bunxh.inc b/lang/fpc/files/patch-rtl-unix_bunxh.inc
new file mode 100644
index 000000000000..bc8ae3f5a68a
--- /dev/null
+++ b/lang/fpc/files/patch-rtl-unix_bunxh.inc
@@ -0,0 +1,11 @@
+--- rtl/unix/bunxh.inc 2020-02-21 18:37:42.890255000 -0500
++++ rtl/unix/bunxh.inc 2020-02-21 18:38:00.256721000 -0500
+@@ -34,7 +34,7 @@
+ Function FpChmod (path : pChar; Mode : TMode): cInt;
+ Function FpChown (path : pChar; owner : TUid; group : TGid): cInt;
+ Function FpUtime (path : pChar; times : putimbuf): cInt;
+- Function FpPipe (var fildes : tfildes):cInt;
++ Function FpPipe (var fildes : tfildes; flags : cInt):cInt;
+ Function FpDup (fildes : cInt): cInt; external name 'FPC_SYSC_DUP';
+ Function FpDup2 (fildes, fildes2 : cInt): cInt; external name 'FPC_SYSC_DUP2';
+ Function FpTimes (var buffer : tms): TClock;
diff --git a/lang/fpc/files/patch-rtl_bsd_ossysc.inc b/lang/fpc/files/patch-rtl_bsd_ossysc.inc
index 8523477458a8..b1bfa41edde4 100644
--- a/lang/fpc/files/patch-rtl_bsd_ossysc.inc
+++ b/lang/fpc/files/patch-rtl_bsd_ossysc.inc
@@ -1,6 +1,44 @@
---- rtl/bsd/ossysc.inc.orig 2015-11-13 21:15:29 UTC
-+++ rtl/bsd/ossysc.inc
-@@ -282,7 +282,11 @@ begin
+--- rtl/bsd/ossysc.inc 2014-11-23 16:59:25.000000000 -0500
++++ rtl/bsd/ossysc.inc 2020-02-21 21:01:06.087663000 -0500
+@@ -72,9 +72,9 @@
+
+ begin
+ {$ifdef CPU64}
+- Fplseek:=do_syscall(syscall_nr___syscall,syscall_nr_lseek,TSysParam(fd),0,Offset,whence);
++ Fplseek:=do_syscall(syscall_nr___syscall,syscall_nr_lseek,TSysParam(fd),Offset,whence);
+ {$else}
+- Fplseek:=do_syscall(syscall_nr___syscall,syscall_nr_lseek,0,TSysParam(fd),0,lo(Offset),{0} hi(offset),Whence);
++ Fplseek:=do_syscall(syscall_nr___syscall,syscall_nr_lseek,0,TSysParam(fd),lo(Offset),{0} hi(offset),Whence);
+ {$endif}
+ end;
+
+@@ -82,11 +82,10 @@
+
+ begin
+ {$ifdef CPU64}
+- Fpftruncate:=Do_syscall(syscall_nr___syscall,syscall_nr_ftruncate, fd ,0 ,flength);
++ Fpftruncate:=Do_syscall(syscall_nr___syscall,syscall_nr_ftruncate, fd ,flength);
+ {$else}
+- Fpftruncate:=Do_syscall(syscall_nr___syscall,syscall_nr_ftruncate,0,fd,0,lo(flength),hi(flength));
++ Fpftruncate:=Do_syscall(syscall_nr___syscall,syscall_nr_ftruncate,0,fd,lo(flength),hi(flength));
+ {$endif}
+-
+ end;
+
+
+@@ -94,9 +93,9 @@
+
+ begin
+ {$ifdef CPU64}
+- Fpmmap:=pointer(ptruint(do_syscall(TSysParam(syscall_nr_mmap),TSysParam(Start),TSysParam(Len),TSysParam(Prot),TSysParam(Flags),TSysParam(fd),0,TSysParam(offst))));
++ Fpmmap:=pointer(ptruint(do_syscall(TSysParam(syscall_nr_mmap),TSysParam(Start),TSysParam(Len),TSysParam(Prot),TSysParam(Flags),TSysParam(fd),TSysParam(offst))));
+ {$else}
+- Fpmmap:=pointer(ptruint(do_syscall(syscall_nr_mmap,TSysParam(Start),Len,Prot,Flags,fd,0,
++ Fpmmap:=pointer(ptruint(do_syscall(syscall_nr_mmap,TSysParam(Start),Len,Prot,Flags,fd,
+ {$ifdef FPC_BIG_ENDIAN} hi(offst),lo(offst){$endif}
+ {$ifdef FPC_LITTLE_ENDIAN} lo(offst),hi(offst){$endif}
+ )));
+@@ -282,7 +281,11 @@
repeat
novalid:=false;
CurEntry:=pdirent(dirp^.dd_rewind);
diff --git a/lang/nbc/Makefile b/lang/nbc/Makefile
index 7df86e1897e6..78ec6bf7290d 100644
--- a/lang/nbc/Makefile
+++ b/lang/nbc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nbc
PORTVERSION= 1.2.1.r4
-PORTREVISION= 15
+PORTREVISION= 16
CATEGORIES= lang
MASTER_SITES= SF/bricxcc/NBC_NXC/NBC%20release%20${PORTVERSION:S/.r/%20r/}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
diff --git a/multimedia/fpc-libvlc/Makefile b/multimedia/fpc-libvlc/Makefile
index d16bd34b945a..ae86fffa402c 100644
--- a/multimedia/fpc-libvlc/Makefile
+++ b/multimedia/fpc-libvlc/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= multimedia lang
PKGNAMESUFFIX= -libvlc
diff --git a/multimedia/winff/Makefile b/multimedia/winff/Makefile
index 2d1fac8c65d9..9e56a59938a7 100644
--- a/multimedia/winff/Makefile
+++ b/multimedia/winff/Makefile
@@ -3,7 +3,7 @@
PORTNAME= WinFF
PORTVERSION= 1.5.5
-PORTREVISION= 16
+PORTREVISION= 17
CATEGORIES= multimedia
MASTER_SITES= LOCAL/thierry
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
diff --git a/net-p2p/awgg/Makefile b/net-p2p/awgg/Makefile
index f4e66cd5e49a..56fd28af44e4 100644
--- a/net-p2p/awgg/Makefile
+++ b/net-p2p/awgg/Makefile
@@ -2,7 +2,7 @@
PORTNAME= awgg
PORTVERSION= 0.5.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net-p2p
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
diff --git a/net-p2p/transmission-remote-gui/Makefile b/net-p2p/transmission-remote-gui/Makefile
index 4da6b28db165..846c79a323ca 100644
--- a/net-p2p/transmission-remote-gui/Makefile
+++ b/net-p2p/transmission-remote-gui/Makefile
@@ -2,6 +2,7 @@
PORTNAME= transmission-remote-gui
PORTVERSION= 5.18.0
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= net-p2p
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
diff --git a/russian/emkatic/Makefile b/russian/emkatic/Makefile
index 449e54b0695e..2cb9aaf5d322 100644
--- a/russian/emkatic/Makefile
+++ b/russian/emkatic/Makefile
@@ -3,6 +3,7 @@
PORTNAME= emkatic
PORTVERSION= 0.38
+PORTREVISION= 1
CATEGORIES= russian emulators
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
MASTER_SITES= SF/${PORTNAME}/eMKatic%20Source
diff --git a/science/checkmol/Makefile b/science/checkmol/Makefile
index 976a35f366fc..1391bb52ba65 100644
--- a/science/checkmol/Makefile
+++ b/science/checkmol/Makefile
@@ -3,7 +3,7 @@
PORTNAME= checkmol
PORTVERSION= 0.5
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= science
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/checkmol/
DISTFILES= ${PORTNAME}
diff --git a/science/mol2ps/Makefile b/science/mol2ps/Makefile
index d3fb5897de84..faf8e54fbb35 100644
--- a/science/mol2ps/Makefile
+++ b/science/mol2ps/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mol2ps
PORTVERSION= 0.4b
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= science
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/${PORTNAME}/
DISTNAME= ${PORTNAME}
diff --git a/www/fpc-googleapi/Makefile b/www/fpc-googleapi/Makefile
index 7bb25572aaa1..f42613cdc7f7 100644
--- a/www/fpc-googleapi/Makefile
+++ b/www/fpc-googleapi/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= www lang
PKGNAMESUFFIX= -googleapi
diff --git a/x11-fm/doublecmd/Makefile b/x11-fm/doublecmd/Makefile
index b1b99b993144..5cb73ab58671 100644
--- a/x11-fm/doublecmd/Makefile
+++ b/x11-fm/doublecmd/Makefile
@@ -3,6 +3,7 @@
PORTNAME= doublecmd
PORTVERSION= 0.9.8
+PORTREVISION= 1
CATEGORIES= x11-fm
MASTER_SITES= SF/${PORTNAME}/Double%20Commander%20Source
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
diff --git a/x11/fpc-x11/Makefile b/x11/fpc-x11/Makefile
index b4eca1ad340d..4b04a032d88c 100644
--- a/x11/fpc-x11/Makefile
+++ b/x11/fpc-x11/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11 lang
PKGNAMESUFFIX= -x11