freshplayerplugin: fix musl build

Closes: #11654 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Yana A. Kireyonok 2018-02-15 21:40:06 +05:00 committed by Jürgen Buchmüller
parent dc8d26445b
commit bec83591d3
2 changed files with 10 additions and 4 deletions

View File

@ -0,0 +1,10 @@
--- src/gtk_wrapper.c.original 2018-02-15 20:32:49.195111595 +0500
+++ src/gtk_wrapper.c 2018-02-15 20:33:05.219041807 +0500
@@ -28,6 +28,7 @@
#include <link.h>
#include <stdio.h>
#include <string.h>
+#include <dlfcn.h>
#include "trace_core.h"

View File

@ -15,10 +15,6 @@ checksum=e4c67ff382aacbdf6ecc45095fa48c582e89ce70f94fe6499e00f7d664d5e05f
nocross="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/2815/steps/shell_3/logs/stdio" nocross="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/2815/steps/shell_3/logs/stdio"
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/186/steps/shell_3/logs/stdio";;
esac
do_install() { do_install() {
vinstall build/libfreshwrapper-flashplayer.so 755 usr/lib/mozilla/plugins vinstall build/libfreshwrapper-flashplayer.so 755 usr/lib/mozilla/plugins
vsconf data/freshwrapper.conf.example vsconf data/freshwrapper.conf.example