Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia Fix "Cannot write-enable text segment: Perm...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4fb920908544
branches: trunk
changeset: 434897:4fb920908544
user: jklos <jklos%pkgsrc.org@localhost>
date: Fri Jun 26 03:11:40 2020 +0000
description:
Fix "Cannot write-enable text segment: Permission denied" issues for
i386 and aarch64.
diffstat:
multimedia/ffmpeg3/Makefile | 7 ++++++-
multimedia/ffmpeg4/Makefile | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diffs (42 lines):
diff -r 856db82debc0 -r 4fb920908544 multimedia/ffmpeg3/Makefile
--- a/multimedia/ffmpeg3/Makefile Thu Jun 25 21:20:14 2020 +0000
+++ b/multimedia/ffmpeg3/Makefile Fri Jun 26 03:11:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2020/06/05 12:49:12 jperkin Exp $
+# $NetBSD: Makefile,v 1.55 2020/06/26 03:11:40 jklos Exp $
PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg3/}
PKGREVISION= 8
@@ -53,6 +53,11 @@
. elif !empty(CC_VERSION:Mgcc-[456].*)
CFLAGS+= -mstackrealign -mpreferred-stack-boundary=4
. endif
+NOT_PAX_MPROTECT_SAFE+= bin/ffmpeg4
+.endif
+
+.if ${MACHINE_ARCH} == "aarch64"
+NOT_PAX_MPROTECT_SAFE+= bin/ffmpeg4
.endif
# configure script uses uname -m to detect arch, as opposed to uname -p in
diff -r 856db82debc0 -r 4fb920908544 multimedia/ffmpeg4/Makefile
--- a/multimedia/ffmpeg4/Makefile Thu Jun 25 21:20:14 2020 +0000
+++ b/multimedia/ffmpeg4/Makefile Fri Jun 26 03:11:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2020/06/16 16:54:45 adam Exp $
+# $NetBSD: Makefile,v 1.32 2020/06/26 03:11:40 jklos Exp $
PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg4/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -47,6 +47,11 @@
. elif !empty(CC_VERSION:Mgcc-[456].*)
CFLAGS+= -mstackrealign -mpreferred-stack-boundary=4
. endif
+NOT_PAX_MPROTECT_SAFE+= bin/ffmpeg4
+.endif
+
+.if ${MACHINE_ARCH} == "aarch64"
+NOT_PAX_MPROTECT_SAFE+= bin/ffmpeg4
.endif
# configure script uses uname -m to detect arch, as opposed to uname -p in
Home |
Main Index |
Thread Index |
Old Index