git: c3ddb09acd53 - main - misc/shared-mime-info: Fix python shebang patch.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Jun 2024 14:52:48 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=c3ddb09acd5381b5f5926d30a6fea063994b16c7 commit c3ddb09acd5381b5f5926d30a6fea063994b16c7 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2024-06-30 14:52:13 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-06-30 14:52:42 +0000 misc/shared-mime-info: Fix python shebang patch. Sponsored by: Serenity Cybersecurity, LLC --- misc/shared-mime-info/Makefile | 2 +- misc/shared-mime-info/files/patch-data_freedesktop.org.xml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile index f6829652a767..533d880f3d77 100644 --- a/misc/shared-mime-info/Makefile +++ b/misc/shared-mime-info/Makefile @@ -1,6 +1,6 @@ PORTNAME= shared-mime-info DISTVERSION= 2.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc gnome MAINTAINER= desktop@FreeBSD.org diff --git a/misc/shared-mime-info/files/patch-data_freedesktop.org.xml.in b/misc/shared-mime-info/files/patch-data_freedesktop.org.xml.in index ae802ea438e7..60803c82f3cb 100644 --- a/misc/shared-mime-info/files/patch-data_freedesktop.org.xml.in +++ b/misc/shared-mime-info/files/patch-data_freedesktop.org.xml.in @@ -4,7 +4,7 @@ <comment>Python 3 script</comment> <sub-class-of type='text/x-python'/> <magic priority="60"><!-- higher priority than text/x-python --> -+ <match type="string" value="#!/usr/local/bin/python3.8" offset="0" /> ++ <match type="string" value="#!%%PYTHON_CMD%%" offset="0" /> <match type="string" value="#!/bin/python3" offset="0"/> <match type="string" value="#! /bin/python3" offset="0"/> <match type="string" value='eval \"exec /bin/python3' offset="0"/>