summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/xfce4-weather-plugin/temporarily_fix_invalid_license_key.patch16
-rw-r--r--desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild5
2 files changed, 20 insertions, 1 deletions
diff --git a/desktop/xfce4-weather-plugin/temporarily_fix_invalid_license_key.patch b/desktop/xfce4-weather-plugin/temporarily_fix_invalid_license_key.patch
new file mode 100644
index 0000000000..1772b3c647
--- /dev/null
+++ b/desktop/xfce4-weather-plugin/temporarily_fix_invalid_license_key.patch
@@ -0,0 +1,16 @@
+See comment #9 at https://bugzilla.xfce.org/show_bug.cgi?id=8105
+
+diff -Nur xfce4-weather-plugin-0.7.4.orig/panel-plugin/weather.h xfce4-weather-plugin-0.7.4/panel-plugin/weather.h
+--- xfce4-weather-plugin-0.7.4.orig/panel-plugin/weather.h 2011-02-02 14:31:29.000000000 -0600
++++ xfce4-weather-plugin-0.7.4/panel-plugin/weather.h 2011-11-08 00:23:54.948635564 -0600
+@@ -21,8 +21,8 @@
+ #include <libxfce4panel/libxfce4panel.h>
+ #include <libxfce4util/libxfce4util.h>
+ #define PLUGIN_WEBSITE "http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
+-#define PARTNER_ID "1121946239"
+-#define LICENSE_KEY "3c4cd39ee5dec84f"
++#define PARTNER_ID "1003666583"
++#define LICENSE_KEY "4128909340a9b2fc"
+
+ G_BEGIN_DECLS
+
diff --git a/desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild b/desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild
index 48e92d73f3..6f56315d87 100644
--- a/desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild
+++ b/desktop/xfce4-weather-plugin/xfce4-weather-plugin.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=xfce4-weather-plugin
VERSION=0.7.4
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -71,6 +71,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# See https://bugzilla.xfce.org/show_bug.cgi?id=8105#c9
+patch -p1 < $CWD/temporarily_fix_invalid_license_key.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \