ssr: unbreak for musl.
This commit is contained in:
19
srcpkgs/ssr/patches/musl.patch
Normal file
19
srcpkgs/ssr/patches/musl.patch
Normal file
@@ -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
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'ssr'
|
# Template file for 'ssr'
|
||||||
pkgname=ssr
|
pkgname=ssr
|
||||||
version=0.3.6
|
version=0.3.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-qt5"
|
configure_args="--with-qt5"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
|||||||
Reference in New Issue
Block a user