forked from pool/at-spi2-core
- Add at-spi2-core-bgo791124-buffer-overflow.patch: fix possible buffer overflow reading dbus address in at-spi-bus-launcher (bgo#791124). - Add at-spi2-core-bgo791167-reproducible-build.patch: use @basename@ in templates, rather than @filename@; fixes build reproducibility and multiarch conflict (bgo#791167). OBS-URL: https://build.opensuse.org/request/show/548496 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/at-spi2-core?expand=0&rev=172
43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
From 0e9de9eb62088d251b95a7990b35f52ea961a608 Mon Sep 17 00:00:00 2001
|
|
From: Chris Lamb <lamby@debian.org>
|
|
Date: Mon, 4 Dec 2017 14:15:01 -0600
|
|
Subject: [PATCH 2/2] Make the build reproducible
|
|
|
|
atspi-enum-types.(c|h).template should use @basename@ rather than @filename@
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=791167
|
|
---
|
|
atspi/atspi-enum-types.c.template | 2 +-
|
|
atspi/atspi-enum-types.h.template | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/atspi/atspi-enum-types.c.template b/atspi/atspi-enum-types.c.template
|
|
index cd92f99..385d0ee 100644
|
|
--- a/atspi/atspi-enum-types.c.template
|
|
+++ b/atspi/atspi-enum-types.c.template
|
|
@@ -4,7 +4,7 @@
|
|
/*** END file-header ***/
|
|
|
|
/*** BEGIN file-production ***/
|
|
-/* enumerations from "@filename@" */
|
|
+/* enumerations from "@basename@" */
|
|
#include "@filename@"
|
|
|
|
/*** END file-production ***/
|
|
diff --git a/atspi/atspi-enum-types.h.template b/atspi/atspi-enum-types.h.template
|
|
index bd297b5..789ad2e 100644
|
|
--- a/atspi/atspi-enum-types.h.template
|
|
+++ b/atspi/atspi-enum-types.h.template
|
|
@@ -9,7 +9,7 @@ G_BEGIN_DECLS
|
|
/*** END file-header ***/
|
|
|
|
/*** BEGIN file-production ***/
|
|
-/* Enumerations from "@filename@" */
|
|
+/* Enumerations from "@basename@" */
|
|
|
|
/*** END file-production ***/
|
|
|
|
--
|
|
2.15.0
|
|
|