diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2016-11-21 11:02:07 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2016-11-21 11:02:07 +0000 |
commit | 73c9bdd787f598d1b6605c063bde819d58ae46bf (patch) | |
tree | 21b5359ab6af57239d6a8560810759ecbb092cba /x11-themes | |
parent | 51c587e70b7601a652ac3c497dc35eaf0a675dd6 (diff) | |
download | ports-73c9bdd787f598d1b6605c063bde819d58ae46bf.tar.gz ports-73c9bdd787f598d1b6605c063bde819d58ae46bf.zip |
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/kf5-kiconthemes/files/patch-rb_129442 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-themes/kf5-kiconthemes/files/patch-rb_129442 b/x11-themes/kf5-kiconthemes/files/patch-rb_129442 new file mode 100644 index 000000000000..b44aa8a23f9c --- /dev/null +++ b/x11-themes/kf5-kiconthemes/files/patch-rb_129442 @@ -0,0 +1,32 @@ +From 46da91e76f80668a350cf8b8589709c6733bf23d Mon Sep 17 00:00:00 2001 +From: "Tobias C. Berner" <tcberner@gmail.com> +Date: Sun, 20 Nov 2016 14:50:56 +0100 +Subject: [PATCH] Fix build on FreeBSD with gcc-4.9. + +/wrkdirs/usr/ports/x11-themes/kf5-kiconthemes/work/kiconthemes-5.27.0/src/tools/kiconfinder/kiconfinder.cpp:43:55: + error: 'printf' was not declared in this scope + printf("%s\n", icon.toLatin1().constData()); + ^ + +https://git.reviewboard.kde.org/r/129442/ + +--- + src/tools/kiconfinder/kiconfinder.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/tools/kiconfinder/kiconfinder.cpp b/src/tools/kiconfinder/kiconfinder.cpp +index a9818af..28ba056 100644 +--- src/tools/kiconfinder/kiconfinder.cpp ++++ src/tools/kiconfinder/kiconfinder.cpp +@@ -23,6 +23,8 @@ + #include <kiconloader.h> + #include <../kiconthemes_version.h> + ++#include <cstdio> ++ + int main(int argc, char *argv[]) + { + QGuiApplication app(argc, argv); +-- +2.10.1 + |