From 309e13ec3e4b580de5f9dff349587b478f873128 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 2 May 2016 09:49:27 +0200 Subject: [PATCH] ssr: unbreak for musl. --- srcpkgs/ssr/patches/musl.patch | 19 +++++++++++++++++++ srcpkgs/ssr/template | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/ssr/patches/musl.patch diff --git a/srcpkgs/ssr/patches/musl.patch b/srcpkgs/ssr/patches/musl.patch new file mode 100644 index 00000000000..b7b6fc1d1ee --- /dev/null +++ b/srcpkgs/ssr/patches/musl.patch @@ -0,0 +1,19 @@ +--- glinject/elfhacks.h.orig 2016-05-02 09:43:59.940521673 +0200 ++++ glinject/elfhacks.h 2016-05-02 09:44:35.563864890 +0200 +@@ -48,14 +48,14 @@ extern "C" { + #if defined(__elf64) + # define ELFW_R_SYM ELF64_R_SYM + # define ElfW_Sword Elf64_Sxword +-# ifdef BSD ++# if defined(BSD) || defined(__linux__) && !defined(__GLIBC__) + # define ElfW(v) Elf64_##v + # define __ELF_NATIVE_CLASS 64 + # endif + #elif defined(__elf32) + # define ELFW_R_SYM ELF32_R_SYM + # define ElfW_Sword Elf32_Sword +-# ifdef BSD ++# if defined(BSD) || defined(__linux__) && !defined(__GLIBC__) + # define ElfW(v) Elf32_##v + # define __ELF_NATIVE_CLASS 32 + # endif diff --git a/srcpkgs/ssr/template b/srcpkgs/ssr/template index 18de65d96f1..4e3b7f89eb4 100644 --- a/srcpkgs/ssr/template +++ b/srcpkgs/ssr/template @@ -1,7 +1,7 @@ # Template file for 'ssr' pkgname=ssr version=0.3.6 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-qt5" hostmakedepends="pkg-config"