aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2017-12-26 04:55:49 +0800
committercpm <cpm@FreeBSD.org>2017-12-26 04:55:49 +0800
commit6f9f59cfb76040878d3ae93ffb3d112196795158 (patch)
treed333d9706a69345f4c227f9d3e23388219879f0b
parent96d8c56dc741782f52f4bb8d198453e9c3c7ee42 (diff)
downloadfreebsd-ports-gnome-6f9f59cfb76040878d3ae93ffb3d112196795158.tar.gz
freebsd-ports-gnome-6f9f59cfb76040878d3ae93ffb3d112196795158.tar.zst
freebsd-ports-gnome-6f9f59cfb76040878d3ae93ffb3d112196795158.zip
multimedia/mpv: Fix build on arm64
/usr/bin/ld: /wrkdirs/usr/ports/multimedia/mpv/work/mpv-0.27.0/build/mpv: local symbol `__progname' in /usr/lib/crt1.o is referenced by DSO /usr/bin/ld: final link failed: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) Reported by: pkg-fallout
-rw-r--r--multimedia/mpv/files/patch-libmpv_mpv.def15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/mpv/files/patch-libmpv_mpv.def b/multimedia/mpv/files/patch-libmpv_mpv.def
new file mode 100644
index 000000000000..cc952d3dc4e3
--- /dev/null
+++ b/multimedia/mpv/files/patch-libmpv_mpv.def
@@ -0,0 +1,15 @@
+--- libmpv/mpv.def.orig 2017-12-25 20:44:17 UTC
++++ libmpv/mpv.def
+@@ -1,3 +1,5 @@
++__progname
++environ
+ mpv_client_api_version
+ mpv_client_name
+ mpv_command
+@@ -43,4 +45,4 @@ mpv_terminate_destroy
+ mpv_unobserve_property
+ mpv_wait_async_requests
+ mpv_wait_event
+-mpv_wakeup
+\ No newline at end of file
++mpv_wakeup