kwalletmanager: unbreak musl
This commit is contained in:
parent
dedea6949c
commit
412286c75a
2 changed files with 14 additions and 1 deletions
13
srcpkgs/kwalletmanager/patches/musl-uid_t.patch
Normal file
13
srcpkgs/kwalletmanager/patches/musl-uid_t.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
There is no __uid_t defined in musl libc either.
|
||||||
|
|
||||||
|
--- src/konfigurator/savehelper.cpp 2014-10-09 09:07:50.000000000 +0200
|
||||||
|
+++ src/konfigurator/savehelper.cpp 2015-10-09 02:01:04.143074472 +0200
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
#include <kdebug.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
-#if defined(Q_CC_MSVC)
|
||||||
|
+#if defined(Q_CC_MSVC) || !defined(__GLIBC__)
|
||||||
|
// TODO: or rather use uid_t in the getuid() call below?
|
||||||
|
#define __uid_t uid_t
|
||||||
|
#endif
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kwalletmanager'
|
# Template file for 'kwalletmanager'
|
||||||
pkgname=kwalletmanager
|
pkgname=kwalletmanager
|
||||||
version=4.14.3
|
version=4.14.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF -DSYSCONF_INSTALL_DIR=/etc"
|
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF -DSYSCONF_INSTALL_DIR=/etc"
|
||||||
hostmakedepends="cmake automoc4 pkg-config"
|
hostmakedepends="cmake automoc4 pkg-config"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue