From nobody Tue May 02 06:37:06 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 4Q9Vjt71vrz48ZSs; Tue, 2 May 2023 06:37:06 +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 4Q9Vjt6W04z4TGK; Tue, 2 May 2023 06:37:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683009426; 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=0AhdB7AKSrHIbmyKyG4WYIrK49YBwNnGW9Gu4F+N9qU=; b=bE+7WECDP5VR/H30JoV1gwCzTKW12FKfmK7HMVzZGff73AaasSMC656U5F5ySzqole959s ffs6Dqw2RgFuaHVGXf/bKK/LA1k7RkS1SRAwNtyaFZcTjalYDn2TYFdqQy474qAE6FwRCx uXk5ET/Z1NDHuVSJoHAUPCYE37g0irZSqGXXascNlUQ4qDPcQvkPJvHrZOF+yxGJh9gg9D Ng9kWH4orKtpvt7HWCdqMPIMBvuqR+zM1M1fv29lSNw78BibCFIG7igG2BB3Rj5bNzb7sN DEZKQZ4vaEoH7rB8M8CeWWKXzQIzppbvIUzsbvWN9UQOps3Ac1xyQz2Oukt42g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683009426; 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=0AhdB7AKSrHIbmyKyG4WYIrK49YBwNnGW9Gu4F+N9qU=; b=qLeWa0S5NY3zwIsTbqs8FDpa78DJ+5n+NX4FRpP3phzGpcp3l69gEbBm9+eZd2lhDqu+gn UiFvSRPgeDq5Cn2FlKPvMTJQOAJ7QxHqOFtg3II17kibQJMn8zY99XgNeHpNzNyCALYYQg WRYrPQ7b4XuKah0Ttom+3JHpXkAY/q5h3n8hU427d9E36d0GXO3ZwYt4/1CbG3ghNn+Fp2 822kOGEBzGBBLtIIG4PIYgv6ya3cQyFwVLCtO3zO3mRxEGLEi5vFr9txGSG5hD8OKjbfLA OmdQTjTig2koLGRX6LVWea4FPWmDVEXV+PsfWPqcRvm4W0XHecY8VqHH6n8N5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683009426; a=rsa-sha256; cv=none; b=XS+pWNI9j6V9Gn1eRqpFryR3sO83G3iz/VLU/1XUM+GUMVMvoe2YffCvgBjJszFTZ6l2tM sZ9kEW2UWpUMUbea5vrE/FCI0O8rRfOtCzFxOne3bYMPwLVgmVR8BYfPb8hk5KPqsy03hG fYuhh4GDqG/B1C/AJ0/kTqPMEtkzpo3fWXh0NKBIOeN9Zt3kd/e9OSlrqMgr5/7mX8Z/Oo RR/dCojTlM4I2LyaxBps7weokMemRpOm0dm0lA3FYMHQiGObFdTJgvANVOVFiUyBU5urFf YbINKSIO4KFZAemhTMrCmk0ptNKPP634N9yU2qsHWNAPv/pr/NddmCJhecdmbg== 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 4Q9Vjt5YL4zdD3; Tue, 2 May 2023 06:37:06 +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 3426b66Y094446; Tue, 2 May 2023 06:37:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3426b6B5094445; Tue, 2 May 2023 06:37:06 GMT (envelope-from git) Date: Tue, 2 May 2023 06:37:06 GMT Message-Id: <202305020637.3426b6B5094445@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: bdcfffd8573e - main - games/anki: Fix crashes with nVidia drivers 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bdcfffd8573e09ef4c838b3dd1444fa15e508c4e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=bdcfffd8573e09ef4c838b3dd1444fa15e508c4e commit bdcfffd8573e09ef4c838b3dd1444fa15e508c4e Author: Kai Knoblich AuthorDate: 2023-05-02 06:34:24 +0000 Commit: Kai Knoblich CommitDate: 2023-05-02 06:34:24 +0000 games/anki: Fix crashes with nVidia drivers * Prevent Anki from explicitly loading "libGL.so.1", which leads to segfaults in environments that have nVidia drivers in use. * Bump PORTREVISION due package change. PR: 270778 Reported by: bitbucket63-it@yahoo.com MFH: 2023Q2 --- games/anki/Makefile | 2 +- games/anki/files/patch-qt_aqt_____init____.py | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/games/anki/Makefile b/games/anki/Makefile index b28c09a8a824..153ea7eee848 100644 --- a/games/anki/Makefile +++ b/games/anki/Makefile @@ -1,6 +1,6 @@ PORTNAME= anki DISTVERSION= 2.1.54 -PORTREVISION= 16 +PORTREVISION= 17 # Don't forget to update ${_MY_BUILDHASH} if DISTVERSION changes CATEGORIES= games education python MASTER_SITES= LOCAL/kai/:yarncache \ diff --git a/games/anki/files/patch-qt_aqt_____init____.py b/games/anki/files/patch-qt_aqt_____init____.py new file mode 100644 index 000000000000..6428c77633ba --- /dev/null +++ b/games/anki/files/patch-qt_aqt_____init____.py @@ -0,0 +1,13 @@ +Prevents runtime issues with nVidia drivers + +--- qt/aqt/__init__.py.orig 2023-04-15 12:54:44 UTC ++++ qt/aqt/__init__.py +@@ -369,7 +369,7 @@ def setupGL(pm: aqt.profiles.ProfileManager) -> None: + driver = pm.video_driver() + + # work around pyqt loading wrong GL library +- if is_lin: ++ if is_lin and not sys.platform.startswith("freebsd"): + import ctypes + + ctypes.CDLL("libGL.so.1", ctypes.RTLD_GLOBAL)