Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions srcpkgs/fpc-src/template
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Template file for 'fpc-src'
pkgname=fpc-src
version=3.2.0
version=3.2.2
revision=1
short_desc="Source code for FreePascal compiler"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="https://www.freepascal.org"
distfiles="ftp://ftp.freepascal.org/pub/fpc/dist/${version}/source/fpcbuild-${version}.tar.gz"
checksum=f9b914eace989a023fb953da203dc0d973b44487568b4138c7d5b9613d7d6838
distfiles="${SOURCEFORGE_SITE}/freepascal/Source/${version}/fpcbuild-${version}.tar.gz"
checksum=85ef993043bb83f999e2212f1bca766eb71f6f973d362e2290475dbaaf50161f
nostrip=yes

do_install() {
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/fpc/files/musl-__libc_csu.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ to be stored there before/after the call to PASCALMAIN is required.

--- fpcsrc/rtl/linux/x86_64/cprt0.as 2015-12-16 16:28:03.000000000 +0100
+++ fpcsrc/rtl/linux/x86_64/cprt0.as 2018-01-02 14:41:08.598952141 +0100
@@ -63,9 +63,10 @@
@@ -65,9 +65,10 @@
pushq %rsp

/* Pass address of our own entry points to .fini and .init. */
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/fpc/patches/ppc64.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Date: Mon Apr 5 01:50:14 2021 +0200

diff --git fpcsrc/compiler/options.pas fpcsrc/compiler/options.pas
index 2cc36670..c35cc785 100644
--- fpcbuild-3.2.0/fpcsrc/compiler/options.pas
+++ fpcbuild-3.2.0/fpcsrc/compiler/options.pas
@@ -4299,13 +4299,8 @@ begin
--- fpcbuild-3.2.2/fpcsrc/compiler/options.pas
+++ fpcbuild-3.2.2/fpcsrc/compiler/options.pas
@@ -4324,13 +4324,8 @@ begin
likely to fail in spectacular ways" }
if not option.ABISetExplicitly then
begin
Expand Down
17 changes: 8 additions & 9 deletions srcpkgs/fpc/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'fpc'
pkgname=fpc
version=3.2.0
version=3.2.2
revision=1
archs="x86_64* i686* ppc64le ppc64 ppc"
build_wrksrc="${pkgname}build-${version}"
Expand All @@ -9,29 +9,29 @@ makedepends="ncurses-devel zlib-devel expat-devel"
short_desc="Free Pascal Compiler"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://freepascal.org/"
homepage="https://www.freepascal.org/"
distfiles="${SOURCEFORGE_SITE}/freepascal/Source/${version}/${pkgname}build-${version}.tar.gz"
checksum=f9b914eace989a023fb953da203dc0d973b44487568b4138c7d5b9613d7d6838
checksum=85ef993043bb83f999e2212f1bca766eb71f6f973d362e2290475dbaaf50161f
case "$XBPS_TARGET_MACHINE" in
x86_64*)
distfiles+=" ${SOURCEFORGE_SITE}/freepascal/Linux/${version}/${pkgname}-${version}-1.x86_64.rpm"
checksum+=" 1f74e1ad3ced2dd67688fdb92edd42e73cdc31ef96056f8739449d70a9306f2c"
checksum+=" c99548926f98537debd9f63af0fa3b1b357adfb21059bef358650ecffa988328"
;;
i686*)
distfiles+=" ${SOURCEFORGE_SITE}/freepascal/Linux/${version}/${pkgname}-${version}-1.i686.rpm"
checksum+=" 05c5600c9461362a08df100cf50ca125cb2b4d5bfe4da48cf8c144f2bf4617a2"
checksum+=" f83e1e94b87de850d94d1902eed909bd363db1301a806ae22c75c436107bb6ff"
;;
ppc64le*)
distfiles+=" ${SOURCEFORGE_SITE}/freepascal/Linux/${version}/${pkgname}-${version}.powerpc64le-linux.tar"
checksum+=" 9bf59ae3d336f0de4624c63e4e892ea95de4be2ca66182d185defc50b69b65f3"
checksum+=" 83c57d7caecfaa69fe817f6d26750aa3a08c5436f7c64bf87dead81d62a5e38a"
;;
ppc64*)
distfiles+=" ${SOURCEFORGE_SITE}/freepascal/Linux/${version}/${pkgname}-${version}.powerpc64-linux.tar"
checksum+=" b7700e126ae37f32ee03c6113c4d07c8b97e451022419387a1da7744dfaa7e25"
checksum+=" 0aa0310163a48c7e3d63a314ab26669142efe47543bbac32ca6164ef4829c775"
;;
ppc*)
distfiles+=" ${SOURCEFORGE_SITE}/freepascal/Linux/${version}/${pkgname}-${version}.powerpc-linux.tar"
checksum+=" cd35d8f520ddcd3020862658b9a5273724dbaab1e265d5e227cefb59173de81d"
checksum+=" 8ac0227f0e7ec74c0118991dd4b814683715a5e2dd9267c029faaf94eaf50dfe"
;;
esac
# TODO: figure out cross-build and how to unwrap the ARM .tar.
Expand Down Expand Up @@ -89,5 +89,4 @@ do_install() {
$DESTDIR/usr/lib/fpc/${version}/samplecfg \
$DESTDIR/usr/lib/fpc/${version} $DESTDIR/etc
sed -i "s,${DESTDIR},,g" $DESTDIR/etc/*.cfg $DESTDIR/etc/fppkg/default $DESTDIR/usr/lib/fpc/${version}/ide/text/*
vlicense fpcsrc/rtl/COPYING.FPC
}
Loading