From nobody Mon Feb 20 17:24:24 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 4PL8RX3yHxz3rNRw; Mon, 20 Feb 2023 17:24:24 +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 4PL8RX3Pkyz4Nxk; Mon, 20 Feb 2023 17:24:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676913864; 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=QFfzGLBqCzHss+Brg14o3prYFUElCFx7Dlh3DvNQmZQ=; b=go6zSbUi48H0VRfvDNClXvhGjHJsYfaCqh+KN9NXuuwq9cJeZ20sp49H+lXBaAivBp+Sf9 oBZxFtR915NbollR/I6ZqygOV6cpwv8me8o3Tmf5kAcloUnLmflRN8BndeUwS2MkU0Qvig jrrdWxwTUBVOYjmiUC3n2YK4v7vFLKd1/7ZmHx+hTKtXyJffTvuZz3jBZRirh4T0fKtFDf hFKkiPr+Y+Az5jaOh4maYHTy8/cP2DmTY5FDwzZICE860X+191gL5MrwrJbvQf/JcqihYS 6Z83ACLzIV1R1tXAi2hLqZpbX9PFgmHalruW6PDfYIQznXm0DRYkYCdqXXtlcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676913864; 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=QFfzGLBqCzHss+Brg14o3prYFUElCFx7Dlh3DvNQmZQ=; b=kR4MJXu7oHwx/Ab+sOUegfvvKB33oEbhz+NrtmT5bzgoKnuy/QkJNlq4qvEvA+i34QxGns ed7BeLiHl6xemf1PKeffj3DBzUp/6dFCNvibHFhR8I9pmt/Ne7Sr/yiRHSbU7Ioac9/yvO 8sl9bPzYYmCT4f0ku+rxsHSodW3DvvPwZuP2mzZhpq6S3wMM9pzZaEwL+ZhpBbAmRFLQcV nCW4Mcr06ehWlrfDPQ5qFDifdTWLv+jBulkBzkXo65i2+Zu3IdyQ5GCOqLXf+LIZnNqxwB 9jCE1s+LKcmf7gMtK6rmzwqURxfHhqgISThne1eKHSTPxt7H4WNHK0DCDSA0SQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676913864; a=rsa-sha256; cv=none; b=IfAHEKGxAenDuJq1FrOIuCam/QmahaTHgeuWKZbdbv64C2X7zdKxuaX4f+WRzQ+7fCg17F 2Ws7fW2AfhUzhlWGYSsUAmYvhSHdQeB2lJJMap/XcR9zRDbVMzvfP8mXLvZpf+BDBZAqX6 qrsCGd7/y/fdPBdZCSZaxyekcuOVqJ8Uh/6fPMxFY/rrRJst32VV/nFrGSSAlR6mkMACUP QWuHK6lhHrI4oUv3Tjd2Ew3/VqjsTpco/1TI/dAWkKMIEJx2SPn37w7WC1R2yCEtlMN1V5 tr23DlwicqWA4PABj3CKIgQL2oAw7lPHgmFdTFt1Egr8ZXGgATHOaqfZEk3buQ== 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 4PL8RX2T2CzqCm; Mon, 20 Feb 2023 17:24:24 +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 31KHOOXQ051257; Mon, 20 Feb 2023 17:24:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31KHOOmR051256; Mon, 20 Feb 2023 17:24:24 GMT (envelope-from git) Date: Mon, 20 Feb 2023 17:24:24 GMT Message-Id: <202302201724.31KHOOmR051256@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 8a88cd08d891 - main - x11/libxshmfence: update to 1.3.2 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8a88cd08d8911c3331a44724229897c4a5d5b7d3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a88cd08d8911c3331a44724229897c4a5d5b7d3 commit 8a88cd08d8911c3331a44724229897c4a5d5b7d3 Author: Jan Beich AuthorDate: 2022-12-08 16:08:26 +0000 Commit: Jan Beich CommitDate: 2023-02-20 17:23:28 +0000 x11/libxshmfence: update to 1.3.2 Changes: https://lists.x.org/archives/xorg-announce/2022-October/003229.html Changes: https://lists.x.org/archives/xorg-announce/2022-December/003287.html PR: 269723 Approved by: manu --- x11/libxshmfence/Makefile | 8 ++--- x11/libxshmfence/distinfo | 6 ++-- x11/libxshmfence/files/patch-config.h.in | 12 ------- x11/libxshmfence/files/patch-configure | 17 ---------- .../files/patch-src__xshmfence_alloc.c | 38 ---------------------- x11/libxshmfence/files/patch-src__xshmfenceint.h | 10 ------ 6 files changed, 7 insertions(+), 84 deletions(-) diff --git a/x11/libxshmfence/Makefile b/x11/libxshmfence/Makefile index 0f4b536167bc..1190bd9ebf83 100644 --- a/x11/libxshmfence/Makefile +++ b/x11/libxshmfence/Makefile @@ -1,15 +1,15 @@ PORTNAME= libxshmfence -PORTVERSION= 1.3 -PORTREVISION= 1 +PORTVERSION= 1.3.2 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org COMMENT= Shared memory 'SyncFence' synchronization primitive -WWW= https://www.freedesktop.org/Software/xlibs +WWW= https://gitlab.freedesktop.org/xorg/lib/libxshmfence LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING -USES= xorg xorg-cat:lib +USES= tar:xz xorg xorg-cat:lib USE_XORG= xorgproto CONFIGURE_ARGS= --with-shared-memory-dir=/tmp diff --git a/x11/libxshmfence/distinfo b/x11/libxshmfence/distinfo index 79efd65eff3e..58edd7f6361b 100644 --- a/x11/libxshmfence/distinfo +++ b/x11/libxshmfence/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1560369445 -SHA256 (xorg/lib/libxshmfence-1.3.tar.bz2) = b884300d26a14961a076fbebc762a39831cb75f92bed5ccf9836345b459220c7 -SIZE (xorg/lib/libxshmfence-1.3.tar.bz2) = 308644 +TIMESTAMP = 1670515706 +SHA256 (xorg/lib/libxshmfence-1.3.2.tar.xz) = 870df257bc40b126d91b5a8f1da6ca8a524555268c50b59c0acd1a27f361606f +SIZE (xorg/lib/libxshmfence-1.3.2.tar.xz) = 259024 diff --git a/x11/libxshmfence/files/patch-config.h.in b/x11/libxshmfence/files/patch-config.h.in deleted file mode 100644 index ea93bae1d58a..000000000000 --- a/x11/libxshmfence/files/patch-config.h.in +++ /dev/null @@ -1,12 +0,0 @@ ---- config.h.in.orig 2015-03-04 15:18:49 UTC -+++ config.h.in -@@ -22,6 +22,9 @@ - /* Define to 1 if you have the header file. */ - #undef HAVE_MEMORY_H - -+/* Use mkostemp(3) */ -+#undef HAVE_MKOSTEMP -+ - /* Use pthread primitives */ - #undef HAVE_PTHREAD - diff --git a/x11/libxshmfence/files/patch-configure b/x11/libxshmfence/files/patch-configure deleted file mode 100644 index 60947610abad..000000000000 --- a/x11/libxshmfence/files/patch-configure +++ /dev/null @@ -1,17 +0,0 @@ ---- configure.orig 2015-03-04 15:22:23 UTC -+++ configure -@@ -18104,6 +18104,14 @@ else - fi - - -+ac_fn_c_check_func "$LINENO" "mkostemp" "ac_cv_func_mkostemp" -+if test "x$ac_cv_func_mkostemp" = xyes; then : -+ -+$as_echo "#define HAVE_MKOSTEMP 1" >>confdefs.h -+ -+fi -+ -+ - - pkg_failed=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5 diff --git a/x11/libxshmfence/files/patch-src__xshmfence_alloc.c b/x11/libxshmfence/files/patch-src__xshmfence_alloc.c deleted file mode 100644 index eb60dfd000dc..000000000000 --- a/x11/libxshmfence/files/patch-src__xshmfence_alloc.c +++ /dev/null @@ -1,38 +0,0 @@ ---- src/xshmfence_alloc.c.orig 2018-02-26 17:26:59 UTC -+++ src/xshmfence_alloc.c -@@ -48,9 +48,13 @@ static int memfd_create(const char *name, - #include - #else - /* flags for memfd_create(2) (unsigned int) */ -+#ifndef MFD_CLOEXEC - #define MFD_CLOEXEC 0x0001U -+#endif -+#ifndef MFD_ALLOW_SEALING - #define MFD_ALLOW_SEALING 0x0002U - #endif -+#endif - - #endif - -@@ -73,13 +77,21 @@ xshmfence_alloc_shm(void) - fd = memfd_create("xshmfence", MFD_CLOEXEC|MFD_ALLOW_SEALING); - if (fd < 0) - #endif -+#ifdef SHM_ANON -+ fd = shm_open(SHM_ANON, O_RDWR|O_CLOEXEC, 0600); -+ if (fd < 0) -+#endif - { - #ifdef O_TMPFILE - fd = open(SHMDIR, O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666); - if (fd < 0) - #endif - { -+#ifdef HAVE_MKOSTEMP -+ fd = mkostemp(template, O_CLOEXEC); -+#else - fd = mkstemp(template); -+#endif - if (fd < 0) - return fd; - unlink(template); diff --git a/x11/libxshmfence/files/patch-src__xshmfenceint.h b/x11/libxshmfence/files/patch-src__xshmfenceint.h deleted file mode 100644 index 9e969d54267f..000000000000 --- a/x11/libxshmfence/files/patch-src__xshmfenceint.h +++ /dev/null @@ -1,10 +0,0 @@ ---- src/xshmfenceint.h.orig 2015-03-04 15:38:56 UTC -+++ src/xshmfenceint.h -@@ -23,6 +23,7 @@ - #ifndef _XSHMFENCEINT_H_ - #define _XSHMFENCEINT_H_ - -+#include - #include - #include - #include