summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg4/Makefile7
-rw-r--r--multimedia/ffmpeg4/patches/patch-configure15
2 files changed, 11 insertions, 11 deletions
diff --git a/multimedia/ffmpeg4/Makefile b/multimedia/ffmpeg4/Makefile
index 21e38e12a8c..ebb074f388e 100644
--- a/multimedia/ffmpeg4/Makefile
+++ b/multimedia/ffmpeg4/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2020/06/26 03:11:40 jklos Exp $
+# $NetBSD: Makefile,v 1.33 2020/06/26 21:02:27 nia Exp $
PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg4/}
+PKGREVISION= 1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ffmpeg.org/
COMMENT= Decoding, encoding and streaming software (v4.x)
@@ -50,10 +51,6 @@ CFLAGS+= -mstackrealign -mpreferred-stack-boundary=4
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
# GNU/configure. Unable to detect NetBSD/macppc hosts correctly.
CONFIGURE_ARGS+= --arch=${MACHINE_ARCH}
diff --git a/multimedia/ffmpeg4/patches/patch-configure b/multimedia/ffmpeg4/patches/patch-configure
index 2be0ba995c6..f4af54f9a1a 100644
--- a/multimedia/ffmpeg4/patches/patch-configure
+++ b/multimedia/ffmpeg4/patches/patch-configure
@@ -1,8 +1,10 @@
-$NetBSD: patch-configure,v 1.5 2020/06/16 16:54:45 adam Exp $
+$NetBSD: patch-configure,v 1.6 2020/06/26 21:02:27 nia Exp $
Sun audio support.
-Enable PIC on NetBSD, even on i386 to avoid text relocations.
+Enable PIC and section_data_rel_ro on NetBSD, even on i386,
+to avoid text relocations.
+
Do not use 'rsync'.
Portability fixes.
@@ -46,15 +48,16 @@ Portability fixes.
expensive_optimization_flag=""
else
expensive_optimization_flag="-fno-expensive-optimizations"
-@@ -5330,6 +5332,7 @@ case $target_os in
+@@ -5330,6 +5332,8 @@ case $target_os in
;;
netbsd)
disable symver
++ enable section_data_rel_ro
+ enable pic
oss_indev_extralibs="-lossaudio"
oss_outdev_extralibs="-lossaudio"
enabled gcc || check_ldflags -Wl,-zmuldefs
-@@ -5728,10 +5731,13 @@ done
+@@ -5728,10 +5732,13 @@ done
check_cc pragma_deprecated "" '_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")'
# The global variable ensures the bits appear unchanged in the object file.
@@ -71,7 +74,7 @@ Portability fixes.
check_cc const_nan math.h "struct { double d; } static const bar[] = { { NAN } }"
-@@ -6114,6 +6120,7 @@ check_headers malloc.h
+@@ -6114,6 +6121,7 @@ check_headers malloc.h
check_headers mftransform.h
check_headers net/udplite.h
check_headers poll.h
@@ -79,7 +82,7 @@ Portability fixes.
check_headers sys/param.h
check_headers sys/resource.h
check_headers sys/select.h
-@@ -6537,7 +6544,6 @@ enabled makeinfo \
+@@ -6537,7 +6545,6 @@ enabled makeinfo \
disabled makeinfo_html && texi2html --help 2> /dev/null | grep -q 'init-file' && enable texi2html || disable texi2html
perl -v > /dev/null 2>&1 && enable perl || disable perl
pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man