From nobody Thu Jul 06 11:40:05 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QxZMT4sTHz4lq7x; Thu, 6 Jul 2023 11:40:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QxZMT4NQPz40w3; Thu, 6 Jul 2023 11:40:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688643605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AmIaSfE01DPiE/drm1QzAtMz6/Ibv+vyzSLg5ym+FVg=; b=dKEGJjbwCox04quX4dBKjgcctNmU6n9T4rPailQ3Ea/SbZderIK2PR3LDja7kzbN8FrzrF tWLFeyXzmvzAJVFrdwebb5/padnAEauLLLI4IoVfe2lLG9Cxi9GDLTG4V6XAa4T2pDJenK zzJIYehNQsIcZFpWh+G4hw1uezNDlLsGCLrO0AcZRu+bYb2cVNEvawEFXc5zkVs8B3izlR LBjjFLJpMfBq7u0h5qB0T5capMQaYbxU0ZvzHUsRzGrEZCE5NVpf4W9axShvRVdq1b3GiE gcKMMMvdhW5ozMpjXwIiZGSDZiDFgQ2xUc6v39Z3vbikiI0nxLjsi6VRNp5Ccg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688643605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AmIaSfE01DPiE/drm1QzAtMz6/Ibv+vyzSLg5ym+FVg=; b=J+vwhiT/J24fKG3vC5wrKxVzpzOI6aL+KuvgIXjbFIc2TIaFv23MzybQGjoMN4BZa/aBqe gYEbHBJ9P1sMOCfRRuUUBa//bNcnAzc+HAxe0pRrhZQ5QXCV9AUsRCmftBbnuhaEyFWZDE 9nzjgRKGnkaSB31jj087vmecuBjBySCc0xBjcfHaDyu/sJuF+Z7zh7tmGGVqr/VoGs0wzF 6gJZ1k6r/2BZcKmpOoCAK3NVeCVjDUYWbHVYEYb4LJIxttkUz/2WXpD59QoX8K/EClX9BW l3Pd6tGnnvHDWHY7v7b+vTOxoSEa1aDMxnDwCbb3ucGD0KM3PDxzoWxjnBD7hg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688643605; a=rsa-sha256; cv=none; b=xvMw9fjV+gH6QQQ9PIo9INtt9g4GiF5C1mQqK9I72DycZ4O2WnlGkJ8CpQmVkNxmersDG7 TlIzpbuCjVZn1cCS6A2BPYV1aj5EoqG+VZhbNyYg6Jie6kR9BMjF6ZCRQh2AfBZPD3LhCj 0mY6wjaqoOePKjJlLfpFzeh3rMvzVB39DI2Jzkj48WuUJnJLahtygMC/0F8tgUPRweUFwZ kIicQbn0js5MwG7edLeagLRt2b7nfkt7ZGJPbOhqrkZXBp1BB7xyBCN1VPTF8NmlmUq5I0 0z7NY6Cqfyjlhjpzs7mnGAKNPu4Th+bQZrLGEdnqaW2fWYmyII1jncuUu/1YGg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QxZMT3TdNzvGG; Thu, 6 Jul 2023 11:40:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 366Be5YY006978; Thu, 6 Jul 2023 11:40:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 366Be5CM006975; Thu, 6 Jul 2023 11:40:05 GMT (envelope-from git) Date: Thu, 6 Jul 2023 11:40:05 GMT Message-Id: <202307061140.366Be5CM006975@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 24717118f752 - main - lang/smalltalk: try to unbreak the port's build on fresh -CURRENT List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 24717118f75234c37e0e7ebac41b4452c8a3e761 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=24717118f75234c37e0e7ebac41b4452c8a3e761 commit 24717118f75234c37e0e7ebac41b4452c8a3e761 Author: Alexey Dokuchaev AuthorDate: 2023-07-06 11:39:00 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-07-06 11:39:00 +0000 lang/smalltalk: try to unbreak the port's build on fresh -CURRENT While here, define LICENSE (GPLv2+) and hook the test suite to our framework. Currently, out of 130 tests, 8 fail (7, 8, 32, 41, 70, 118, and 122 with 1 expected failure), 1 test was skipped. Reported by: pkg-fallout --- lang/smalltalk/Makefile | 6 ++++++ lang/smalltalk/files/patch-lib-src_getopt.c | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile index e9293bead024..591a27d6302b 100644 --- a/lang/smalltalk/Makefile +++ b/lang/smalltalk/Makefile @@ -8,6 +8,8 @@ MAINTAINER= danfe@FreeBSD.org COMMENT= GNU Smalltalk WWW= https://smalltalk.gnu.org/ +LICENSE= GPLv2+ + BROKEN_aarch64= Fails to link: undefined reference to sbrk BROKEN_powerpc64= Fails to build: gst-package: did not understand #~ BROKEN_riscv64= Fails to link: undefined reference to sbrk @@ -39,6 +41,8 @@ sed_OLD_CMD= /bin/sed sed_CMD= ${SED} SHEBANG_FILES= packages/vfs/deb packages/vfs/mailfs \ examples/pepe.sed examples/xml.sed +TEST_TARGET= check + PLIST_SUB= VERSION="${PORTVERSION}" PORTDATA= * @@ -58,6 +62,8 @@ post-patch: @${REINPLACE_CMD} -e 's/lrintl (truncl/lroundl (truncl/' \ ${WRKSRC}/libgst/prims.def \ ${WRKSRC}/libgst/prims.inl + @${REINPLACE_CMD} -e '/^gst_SkippedEntityHandler/,+1s/)/, int)/' \ + ${WRKSRC}/packages/xml/expat/expat.c @${REINPLACE_CMD} -e '/^ac_include/s/\\$$/#include \\/' \ ${WRKSRC}/snprintfv/configure diff --git a/lang/smalltalk/files/patch-lib-src_getopt.c b/lang/smalltalk/files/patch-lib-src_getopt.c new file mode 100644 index 000000000000..3f5027222e43 --- /dev/null +++ b/lang/smalltalk/files/patch-lib-src_getopt.c @@ -0,0 +1,11 @@ +--- lib-src/getopt.c.orig 2013-03-23 19:56:26 UTC ++++ lib-src/getopt.c +@@ -43,6 +43,8 @@ + #endif + + #include ++#include ++#include + + /* Comment out all this code if we are using the GNU C Library, and are not + actually compiling the library itself. This code is part of the GNU C