diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-15 07:35:12 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-16 01:33:35 +0700 |
commit | bdcb44f50c0d3492fe1d6caa8c581d69d4aeff51 (patch) | |
tree | 17fc4c5f89a90ac63f115e699fd246f20d2a8b5f /desktop | |
parent | c04e680f162fef24a2d350ad24e2211843017ab7 (diff) |
desktop/crystal: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/crystal/crystal.SlackBuild | 4 | ||||
-rw-r--r-- | desktop/crystal/crystal.patch | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/desktop/crystal/crystal.SlackBuild b/desktop/crystal/crystal.SlackBuild index 744e8dda658fe..2ac86197969c3 100644 --- a/desktop/crystal/crystal.SlackBuild +++ b/desktop/crystal/crystal.SlackBuild @@ -1,3 +1,4 @@ + #!/bin/sh # SlackBuild script for crystal (A Native KDE4 Window decoration) @@ -25,7 +26,7 @@ PRGNAM=crystal VERSION=${VERSION:-2.2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,6 +71,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/crystal.patch mkdir -p build cd build cmake \ diff --git a/desktop/crystal/crystal.patch b/desktop/crystal/crystal.patch new file mode 100644 index 0000000000000..6f36a3ed788a0 --- /dev/null +++ b/desktop/crystal/crystal.patch @@ -0,0 +1,11 @@ +--- crystal-2.2.1/client/crystalclient.cpp.orig 2016-02-15 07:32:55.748512951 +0700 ++++ crystal-2.2.1//client/crystalclient.cpp 2016-02-15 07:33:14.018499876 +0700 +@@ -118,7 +118,7 @@ + if (isPreview()) { + char c[512]; + QLabel *label; +- sprintf(c,"<center><b>Crystal %s Preview</b><br>Built: %s</center>",VERSION, __DATE__); ++ sprintf(c,"<center><b>Crystal %s Preview</b><br>Built: %s</center>",2.2, __DATE__); + mainlayout->addItem(new QSpacerItem(1, 1,QSizePolicy::Expanding,QSizePolicy::Fixed), 0, 1); + mainlayout->addItem(new QSpacerItem(1, ::factory->borderwidth,QSizePolicy::Expanding,QSizePolicy::Expanding), 3, 1); + label = new QLabel(i18n(c), widget()); |