mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
ssr: update to 0.3.7
This commit is contained in:
parent
ee890868bd
commit
cc6789ee63
2 changed files with 4 additions and 47 deletions
|
@ -1,43 +0,0 @@
|
||||||
From dadcbd6a04a77ccfaa38cbfa3f1ebd05942b7c24 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Juan RP <xtraeme@voidlinux.eu>
|
|
||||||
Date: Fri, 6 May 2016 09:12:39 +0200
|
|
||||||
Subject: [PATCH] glinject/elfhacks.h: fix compilation with the musl C library.
|
|
||||||
|
|
||||||
- __ELF_NATIVE_CLASS is not declared anywhere on musl.
|
|
||||||
- ElfW is already declared in <link.h>.
|
|
||||||
|
|
||||||
Removed the BSD conditional because checking if the macros are
|
|
||||||
defined is imho a better way to know if they are available.
|
|
||||||
---
|
|
||||||
glinject/elfhacks.h | 8 ++++++--
|
|
||||||
1 file changed, 6 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/glinject/elfhacks.h b/glinject/elfhacks.h
|
|
||||||
index 973d8bb..3c351e2 100644
|
|
||||||
--- glinject/elfhacks.h
|
|
||||||
+++ glinject/elfhacks.h
|
|
||||||
@@ -48,15 +48,19 @@ extern "C" {
|
|
||||||
#if defined(__elf64)
|
|
||||||
# define ELFW_R_SYM ELF64_R_SYM
|
|
||||||
# define ElfW_Sword Elf64_Sxword
|
|
||||||
-# ifdef BSD
|
|
||||||
+# ifndef ElfW
|
|
||||||
# define ElfW(v) Elf64_##v
|
|
||||||
+# endif
|
|
||||||
+# ifndef __ELF_NATIVE_CLASS
|
|
||||||
# define __ELF_NATIVE_CLASS 64
|
|
||||||
# endif
|
|
||||||
#elif defined(__elf32)
|
|
||||||
# define ELFW_R_SYM ELF32_R_SYM
|
|
||||||
# define ElfW_Sword Elf32_Sword
|
|
||||||
-# ifdef BSD
|
|
||||||
+# ifndef ElfW
|
|
||||||
# define ElfW(v) Elf32_##v
|
|
||||||
+# endif
|
|
||||||
+# ifndef __ELF_NATIVE_CLASS
|
|
||||||
# define __ELF_NATIVE_CLASS 32
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
--
|
|
||||||
2.8.2
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'ssr'
|
# Template file for 'ssr'
|
||||||
pkgname=ssr
|
pkgname=ssr
|
||||||
version=0.3.6
|
version=0.3.7
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-qt5"
|
configure_args="--with-qt5"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="qt5-devel qt5-tools-devel qt5-x11extras-devel ffmpeg-devel
|
makedepends="qt5-tools-devel qt5-x11extras-devel ffmpeg-devel
|
||||||
alsa-lib-devel glu-devel libXfixes-devel libXext-devel libXi-devel
|
alsa-lib-devel glu-devel libXfixes-devel libXext-devel libXi-devel
|
||||||
pulseaudio-devel jack-devel"
|
pulseaudio-devel jack-devel"
|
||||||
depends="desktop-file-utils"
|
depends="desktop-file-utils"
|
||||||
|
@ -14,6 +14,6 @@ maintainer="Logen K <logen@sudotask.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://www.maartenbaert.be/simplescreenrecorder/"
|
homepage="http://www.maartenbaert.be/simplescreenrecorder/"
|
||||||
distfiles="https://github.com/MaartenBaert/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/MaartenBaert/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=146f5bf26bd56d68ff4506c9756526fbf60c8737cb023759250c357935b309b5
|
checksum=e889fc177b8fed0aa907578478d8110420d2c553a32a5052249e54337f04f870
|
||||||
|
|
||||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||||
|
|
Loading…
Add table
Reference in a new issue