recipes: x-libs/gtk2: make GTK+-2 more stable
[dragora.git] / patches / gtk2 / m4macros-Set-a-serial-number.patch
blobf0600bc9414a7f8bdebd39efafba929f4faa634c
1 From: Simon McVittie <smcv@debian.org>
2 Date: Fri, 6 Apr 2018 11:31:06 +0100
3 Subject: m4macros: Set a serial number
5 When a project has a bundled copy of our macro included in tarball
6 source releases, typically in a m4/ or aclocal/ directory, aclocal
7 uses the serial number to determine whether the system copy in
8 /usr/share/aclocal is newer or older than the bundled copy. Without
9 a serial number, the bundled copy will always be used and will not
10 be overwritten, even if it is outdated.
12 Signed-off-by: Simon McVittie <smcv@debian.org>
13 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895018
14 Forwarded: https://gitlab.gnome.org/GNOME/gtk/merge_requests/104
15 Applied-upstream: 2.24.33, commit:acb78c9c6086f0d3a0eba06cc9becf2eb849e615
16 ---
17 m4macros/gtk-2.0.m4 | 4 ++++
18 1 file changed, 4 insertions(+)
20 diff --git a/m4macros/gtk-2.0.m4 b/m4macros/gtk-2.0.m4
21 index 3c6b6dd..a89477f 100644
22 --- a/m4macros/gtk-2.0.m4
23 +++ b/m4macros/gtk-2.0.m4
24 @@ -1,6 +1,10 @@
25 # Configure paths for GTK+
26 # Owen Taylor 1997-2001
28 +# Version number used by aclocal, see `info automake Serials`.
29 +# Increment on every change.
30 +#serial 1
32 dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
33 dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
34 dnl pass to pkg-config