diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-12-13 18:33:52 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 00:10:37 -0500 |
commit | dec5056e057040b0eb26aced68a2516b00663f71 (patch) | |
tree | b4be24a5e8e5ca694562993c845e573706223c5d /misc/ykpers/ykpers.SlackBuild | |
parent | 097b76696fdcac8a232d333bd6b4ed33531f20dd (diff) |
misc/ykpers: Patch for json-c >= 0.14, pass -fcommon (gcc >= 10.x).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'misc/ykpers/ykpers.SlackBuild')
-rw-r--r-- | misc/ykpers/ykpers.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/ykpers/ykpers.SlackBuild b/misc/ykpers/ykpers.SlackBuild index f6aca572e71ed..95626291ffd0b 100644 --- a/misc/ykpers/ykpers.SlackBuild +++ b/misc/ykpers/ykpers.SlackBuild @@ -71,7 +71,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ +# Thanks archlinux! +patch -p1 < $CWD/fix-boolean-value-with-json-c-0.14.patch + +CFLAGS="$SLKCFLAGS -fcommon" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |