From nobody Mon Dec 19 05:55:18 2022 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 4Nb87V6qv9zZrCS; Mon, 19 Dec 2022 05:55:18 +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 4Nb87V6KkGz4cGQ; Mon, 19 Dec 2022 05:55:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671429318; 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=xw4xt9wwlA4JN+lqVWmgZZ+LgE3TGryaLnjt71qOSHs=; b=WBZOebGNCizIyPi49zqTi1yjAmp8ziOS7nH7t8tHfjifak03oH4FszFf568/TPrAlikDTi DtO+LInXBsFGG7nF+a9KhKOcw1q/ezjHQfweQR8XMxa+PP0wYC6D6lCCZmAoo0+re52NZB pD1YL1dapFNSK6d2I42R9E8pG4AOLDJMq0vKlGkBhEQRD7QvbyH5xuO9f5DxhHnIrI3Nnf p0ErOcotzdbIK+S9TgeT6DVMp1AOVssqMizd/xBIheAhElMB8y8LN3jN/dWrjJeN+4INNk 4gufP4R0nsQA/vyt7wk+B6jPPzf92XyALKNRzJJSLDWnOgX4mw69IpASJjOs1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671429318; 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=xw4xt9wwlA4JN+lqVWmgZZ+LgE3TGryaLnjt71qOSHs=; b=iVyD3LTpAfWbqMwptvSF2qkx1EViH6jhPOFHeJDuLHUrf8q4SK4i8jU1N00/e/qsm03/cp gg/aZiNxZEDuWFP5grRYmqfYSmXDS1mbsmANuBsStGKDBHScGa7dS6JBDr2lvAI3Qf7HoY dX3v08MIZmU+0IxJT4VVCCQGp3PYagI4GvK6EicGrU3CWUd4mfrLAOgjJ7tXGIjWJy8Z54 PU28G9oqxIECqHGhor8+wiH7ZhcZ8MMDFkc9dTX/kiwUkR9NFhRqujf3S0s4PP4t13CdRU lO2Mr1ZQbXKOn9g2oJ/MqPLyIMr3PUzrf/a/ZaTi6yDtEHzAGJP3fAqZXNYQCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671429318; a=rsa-sha256; cv=none; b=u4OJPfyhIHaSbrrO0A4rzl16U9vLHscjZwUvWF9OXM7MAEHNg1B/rih+S9LVfN2pyfFwaY TL4DU/JCKlGYi7Nu77WG9CiB4fExaeJg7nuTCthgW0GaUuKDaLb0ip/BgAdxEsAz/1lZIW Ml5BA6De+eruKuNDuLFbZetda5Hhd0jKlOCjwslnfp15dVeP1M2effmhKtDhNAqJXC8rEY 16rnlNTGUvXPThbHZtc7m+pUJrsyFlqGPTYnBACVdNo2tDdjqNZX1DxznrC1gh7NwIPYfp wiKSVcWxQYid3R7QGHArSY8ztp4OtU+OQYUS5whDaLzx0tyjNVYZehJFhn4UdA== 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 4Nb87V5NtGzkwy; Mon, 19 Dec 2022 05:55:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BJ5tIaa052001; Mon, 19 Dec 2022 05:55:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BJ5tIp1052000; Mon, 19 Dec 2022 05:55:18 GMT (envelope-from git) Date: Mon, 19 Dec 2022 05:55:18 GMT Message-Id: <202212190555.2BJ5tIp1052000@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Romain=20Tarti=C3=A8re?= Subject: git: 192f643ab4df - main - deskutils/subsurface: Fix build on older FreeBSD versions 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: romain X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 192f643ab4df488156748f96244bb0a567de892f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by romain: URL: https://cgit.FreeBSD.org/ports/commit/?id=192f643ab4df488156748f96244bb0a567de892f commit 192f643ab4df488156748f96244bb0a567de892f Author: Romain Tartière AuthorDate: 2022-12-19 05:53:19 +0000 Commit: Romain Tartière CommitDate: 2022-12-19 05:54:45 +0000 deskutils/subsurface: Fix build on older FreeBSD versions On FreeBSD 12.3, build fail with: In file included from /wrkdirs/usr/ports/deskutils/subsurface/work/subsurface-5.0.10/core/exif.cpp:32: /wrkdirs/usr/ports/deskutils/subsurface/work/subsurface-5.0.10/core/exif.h:128:3: error: unknown type name 'time_t' time_t epoch(); ^ 1 error generated. Explicitly add time.h to headers which use time_t to avoid the issue. This should not have an impact where the package could be build so not bumping PORTREVISION. --- deskutils/subsurface/files/patch-core_exif.h | 10 ++++++++++ deskutils/subsurface/files/patch-core_parse-gpx.h | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/deskutils/subsurface/files/patch-core_exif.h b/deskutils/subsurface/files/patch-core_exif.h new file mode 100644 index 000000000000..8647e5344ea5 --- /dev/null +++ b/deskutils/subsurface/files/patch-core_exif.h @@ -0,0 +1,10 @@ +--- core/exif.h.orig 2022-12-19 04:30:05 UTC ++++ core/exif.h +@@ -36,6 +36,7 @@ + #define __EXIF_H + + #include ++#include + + namespace easyexif { + diff --git a/deskutils/subsurface/files/patch-core_parse-gpx.h b/deskutils/subsurface/files/patch-core_parse-gpx.h new file mode 100644 index 000000000000..9707991bca30 --- /dev/null +++ b/deskutils/subsurface/files/patch-core_parse-gpx.h @@ -0,0 +1,10 @@ +--- core/parse-gpx.h.orig 2022-12-19 05:04:53 UTC ++++ core/parse-gpx.h +@@ -3,6 +3,7 @@ + #define PARSE_GPX_H + + #include ++#include + + struct dive_coords { // This structure holds important information after parsing the GPX file: + time_t start_dive; // Start time of the current dive, obtained using current_dive (local time)