kde-workspace: fix build
This commit is contained in:
parent
eab18a6333
commit
8b7af08bc5
2 changed files with 11 additions and 3 deletions
11
srcpkgs/kde-workspace/patches/fix-inline.patch
Normal file
11
srcpkgs/kde-workspace/patches/fix-inline.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- kdm/backend/client.c 2015-08-12 09:03:15.000000000 +0200
|
||||
+++ kdm/backend/client.c 2018-01-04 08:42:56.428031407 +0100
|
||||
@@ -34,6 +34,8 @@
|
||||
*
|
||||
* user verification and session initiation.
|
||||
*/
|
||||
+#undef inline
|
||||
+#define inline __inline /* fixes build with -std=iso9899:1990 */
|
||||
#include "dm.h"
|
||||
#include "dm_auth.h"
|
||||
#include "dm_error.h"
|
|
@ -44,9 +44,6 @@ make_dirs="
|
|||
|
||||
CXXFLAGS="-std=gnu++98"
|
||||
|
||||
# dbus 1.20+ headers use 'inline', but something adds -std=iso9899:1990
|
||||
broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/6207/steps/shell_3/logs/stdio"
|
||||
|
||||
pre_configure() {
|
||||
sed -e "s,@PKG_SYSCONFDIR@,/etc,g" -i kdm/kcm/main.cpp
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue