deadbeef-fb: fix build + update to 0.92.20180507
This commit is contained in:
parent
fa18d326a3
commit
bdb033766f
2 changed files with 23 additions and 4 deletions
19
srcpkgs/deadbeef-fb/patches/my-errno.patch
Normal file
19
srcpkgs/deadbeef-fb/patches/my-errno.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
Source: @pullmoll
|
||||
Upstream: no
|
||||
Reason: errno is a reserved name
|
||||
|
||||
--- utils.c 2017-02-14 17:32:20.000000000 +0100
|
||||
+++ utils.c 2020-10-26 20:38:54.549564389 +0100
|
||||
@@ -234,9 +234,9 @@
|
||||
if (slash)
|
||||
*slash = 0;
|
||||
if (-1 == stat (tmp, &stat_buf)) {
|
||||
- int errno = mkdir (tmp, mode);
|
||||
- if (0 != errno) {
|
||||
- fprintf (stderr, "Failed to create %s (%d)\n", tmp, errno);
|
||||
+ int my_errno = mkdir (tmp, mode);
|
||||
+ if (0 != my_errno) {
|
||||
+ fprintf (stderr, "Failed to create %s (%d)\n", tmp, my_errno);
|
||||
g_free (tmp);
|
||||
return 0;
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'deadbeef-fb'
|
||||
pkgname=deadbeef-fb
|
||||
version=0.92.20170214
|
||||
revision=2
|
||||
_commit=47bc3fe0fe151dfbb75f90f9e4d5e9a7affd280a
|
||||
version=0.92.20180507
|
||||
revision=1
|
||||
_commit=355e6142606270e7ae0fd68d8fcdb3f1ada295ca
|
||||
wrksrc="${pkgname}-${_commit}-${_commit}"
|
||||
build_style=gnu-configure
|
||||
configure_args="$(vopt_if gtk3 --disable-gtk2 --disable-gtk3) --disable-static"
|
||||
|
@ -14,7 +14,7 @@ maintainer="newbluemoon <blaumolch@mailbox.org>"
|
|||
license="GPL-2.0-or-later"
|
||||
homepage="https://gitlab.com/zykure/deadbeef-fb"
|
||||
distfiles="https://gitlab.com/zykure/${pkgname}/repository/${_commit}/archive.tar.bz2>${pkgname}-${version}.tar.bz2"
|
||||
checksum=15b36c26a04f6e4438a4582b75ef7e0fd2756d15e71611410d200a9301d9444a
|
||||
checksum=19a0c2ea3743926e71f9b20f616ff5bdbfd9839a553b33cc192dfed7bed3cb1d
|
||||
build_options="gtk3"
|
||||
build_options_default="gtk3"
|
||||
|
||||
|
|
Loading…
Reference in a new issue