From nobody Wed Aug 16 18:30:46 2023 X-Original-To: dev-commits-ports-main@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 4RQxXS4nGxz4qxdS; Wed, 16 Aug 2023 18:30:48 +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 4RQxXQ3Phqz4QBn; Wed, 16 Aug 2023 18:30:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210646; 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=LhwW0tRgPL4OtLnjhRfuRyhgFrR1KCfCfLfJ2+z3NDk=; b=VXKAvdpg7vby86BJr1UY/C8r1j5qtDj9EzwTkE4RW4ktbcfw8ba4nyS98ByTYYmiY4s8JU pmSMrd6657//D4FW4OIt4NkbZO413YKdubfElt0Y4kZFNNm39LylauhSZ4xzh8O4AvE2tl kCGQ64BOvQVhVFF/gu4aPRhZBmKvehaOSPvUhYa/JH8fzYqq+g6q7VMucNB7r1lziyF4OY 5LVzTzcKSOtMhk4atMaM08B1SiS1ijnBpBMjZVmOMn1ZNdonycIUNaJIgEfAckkipfBTqN mQh0Mf/v/1DTi2O+zt+We4sF6d1pP1L8u/HRPxFzRW4rNmfcqCQMTj6+bf+snw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210646; 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=LhwW0tRgPL4OtLnjhRfuRyhgFrR1KCfCfLfJ2+z3NDk=; b=Rl+6xZ8sRK2SBDOrEfhHTN127q7yhQKXPWZJGmvs94fvpV08rzq33ebVqIjY/yRYrQgHzN 5SRsRS8f5AN7p9hDYSmkwmFQYqMpF0lZGJsCka4UwL033rrlWueSvAET7LDEGAD41LH4kS 9pG6sDU0ZfDjqIhqajBgY/fl6l5GD/6Xxg3WC/Mz2/2p3cOb19AViyZZ/8TNYLVKby7bTo I9D4rADd5AO3X2cvVrXx51ToYkn5peYVRi3kjbPQx9CDIXZ/j4E4xfNsggxet3dwQ9g0BK vSiLTkYQXgv11RlJM+o6AnCDa7yoDDbBrW6wy+WPMIyvY1tHIsb00z49+Aytgg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692210646; a=rsa-sha256; cv=none; b=N1CKe9eENe92u2Lbc7qOwaPfYGDvuKQqwFrIj1Hv+MaKQeU/DpATicK3Hy4foJi8dbKCey wkQS4rNmdz5akD8c5Ryw21H2/DkBEsS7TjWhpSBkAbK5KEwess6nRD9iMBs8ZgXkXl2xlR AVZNMEwImuxQOh/c9uk6IsmflNFo4nyD98vrgBId2WJ2/mdkIO6VL6nWlxlynj9ovTDcV/ LMX9GPFC9EfefC5dhSU5iBuiwnlYl+J8zNc109TYS1c2OkH9ZBQUIy9hVp3xMJK1kZniVM H361sgy8LtU0kGSac0D/GjNy39tsExThIRMtuxvdrp41Q8rejTqjoLVqn08Bgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RQxXQ2WZ1z12P6; Wed, 16 Aug 2023 18:30:46 +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 37GIUkLb024960; Wed, 16 Aug 2023 18:30:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37GIUkUf024957; Wed, 16 Aug 2023 18:30:46 GMT (envelope-from git) Date: Wed, 16 Aug 2023 18:30:46 GMT Message-Id: <202308161830.37GIUkUf024957@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: b0b6c960682c - main - net/libmaxminddb: Remove incorrect _POSIX_C_SOURCE List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b0b6c960682cd256cfe227b648971b66ef1f2038 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b0b6c960682cd256cfe227b648971b66ef1f2038 commit b0b6c960682cd256cfe227b648971b66ef1f2038 Author: Po-Chuan Hsieh AuthorDate: 2023-08-16 18:10:27 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-16 18:25:10 +0000 net/libmaxminddb: Remove incorrect _POSIX_C_SOURCE - Bump PORTREVISION for package change PR: 272349 Reported by: Mina Galic Reference: https://github.com/maxmind/libmaxminddb/issues/318 --- net/libmaxminddb/Makefile | 1 + net/libmaxminddb/files/patch-include_maxminddb.h | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/net/libmaxminddb/Makefile b/net/libmaxminddb/Makefile index 453959944c15..a14debe94ab4 100644 --- a/net/libmaxminddb/Makefile +++ b/net/libmaxminddb/Makefile @@ -1,5 +1,6 @@ PORTNAME= libmaxminddb PORTVERSION= 1.7.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://github.com/maxmind/libmaxminddb/releases/download/${PORTVERSION}/ diff --git a/net/libmaxminddb/files/patch-include_maxminddb.h b/net/libmaxminddb/files/patch-include_maxminddb.h new file mode 100644 index 000000000000..ebe8e17d8ae9 --- /dev/null +++ b/net/libmaxminddb/files/patch-include_maxminddb.h @@ -0,0 +1,21 @@ +--- include/maxminddb.h.orig 2022-09-30 21:50:22 UTC ++++ include/maxminddb.h +@@ -5,18 +5,6 @@ extern "C" { + #ifndef MAXMINDDB_H + #define MAXMINDDB_H + +-/* Request POSIX.1-2008. However, we want to remain compatible with +- * POSIX.1-2001 (since we have been historically and see no reason to drop +- * compatibility). By requesting POSIX.1-2008, we can conditionally use +- * features provided by that standard if the implementation provides it. We can +- * check for what the implementation provides by checking the _POSIX_VERSION +- * macro after including unistd.h. If a feature is in POSIX.1-2008 but not +- * POSIX.1-2001, check that macro before using the feature (or check for the +- * feature directly if possible). */ +-#ifndef _POSIX_C_SOURCE +-#define _POSIX_C_SOURCE 200809L +-#endif +- + #include "maxminddb_config.h" + #include + #include