summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPavel Vinogradov2018-12-13 17:18:41 -0500
committerPavel Vinogradov2018-12-13 17:18:41 -0500
commita492722125f21b2edb5d85a3a33f2236ef32be09 (patch)
tree3c28d20fe887087b305d7742926b42d85ee11d29 /x11-toolkits
parent4bd4054b11abf8619ce0afb2ec2fdb7a3129d833 (diff)
x11-toolkits/gtk+3: added a quick patch for small typo in 3.24.2 release
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk+3/HISTORY1
-rwxr-xr-xx11-toolkits/gtk+3/PRE_BUILD3
-rw-r--r--x11-toolkits/gtk+3/patches-3.24.2/shooter.patch12
3 files changed, 16 insertions, 0 deletions
diff --git a/x11-toolkits/gtk+3/HISTORY b/x11-toolkits/gtk+3/HISTORY
index 41892a4093..4dd4b344f7 100644
--- a/x11-toolkits/gtk+3/HISTORY
+++ b/x11-toolkits/gtk+3/HISTORY
@@ -1,5 +1,6 @@
2018-12-13 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 3.24.2
+ * PRE_BUILD, patches-3.24.2/shooter.patch: patched a typo
2018-09-21 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 3.24.1
diff --git a/x11-toolkits/gtk+3/PRE_BUILD b/x11-toolkits/gtk+3/PRE_BUILD
new file mode 100755
index 0000000000..0d1d6016f3
--- /dev/null
+++ b/x11-toolkits/gtk+3/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+apply_patch_dir "patches-${VERSION}"
diff --git a/x11-toolkits/gtk+3/patches-3.24.2/shooter.patch b/x11-toolkits/gtk+3/patches-3.24.2/shooter.patch
new file mode 100644
index 0000000000..765bb25489
--- /dev/null
+++ b/x11-toolkits/gtk+3/patches-3.24.2/shooter.patch
@@ -0,0 +1,12 @@
+diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c
+--- a/docs/tools/shooter.c
++++ b/docs/tools/shooter.c
+@@ -170,7 +170,7 @@
+ y_orig = 0;
+ }
+
+- if (x_orig + width > gdk_screen_get_width (gdk_screen_get_dfeault ()))
++ if (x_orig + width > gdk_screen_get_width (gdk_screen_get_default ()))
+ width = gdk_screen_width () - x_orig;
+
+ if (y_orig + height > gdk_screen_get_height (gdk_screen_get_default ()))