blob: e81d395b9c69e54098b0bdfc930db462e2bf9ad7 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 60c17eb49121bf2aa485acd30750b2fc6c8eb61f Mon Sep 17 00:00:00 2001
2From: Jarmo Jaakkola <jarmo.jaakkola@vincit.fi>
3Date: Mon, 19 Jun 2017 16:41:36 +0300
4Subject: [PATCH] Fix compilation for Helix.
5
6Gnome support, including GNOME_INIT_HOOK, has been removed, but it was
7still being called.
8
9COMPAT_OLD_KEYSYMDEF is a check for a legacy system, which our system
10most definitely is not. It is accomplished by trying to execute
11a program, which does not work when cross compiling.
12
13The fvwm(1) man page is created from Docbook XML which is set for
14a Windows code page that is not available when compiling. Easiest is
15to just not create the man page as those are not needed on the monitor.
16
17Upstream-Status: inappropriate [OE specific]
18Signed-off-by: Jarmo Jaakkola <jarmo.jaakkola@vincit.fi>
19Signed-off-by: Riku Hämäläinen <riku.hamalainen@ge.com>
20Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
21---
22 configure.ac | 20 ++++----------------
23 doc/fvwm/Makefile.am | 2 +-
24 3 files changed, 7 insertions(+), 17 deletions(-)
25
26diff --git a/configure.ac b/configure.ac
27index 48ce264..fab7b44 100644
28--- a/configure.ac
29+++ b/configure.ac
Brad Bishopc342db32019-05-15 21:57:59 -040030@@ -1413,8 +1413,4 @@ else
Brad Bishop316dfdd2018-06-25 12:45:53 -040031 # Define some compatibility macros needed for config.h.
32-mg_DEFINE_IF_NOT([#include <X11/keysym.h>],
33- [defined XK_Page_Up && defined XK_Page_Down],
34- [COMPAT_OLD_KEYSYMDEF], [$X_CFLAGS],
35- [Old AIX systems (3.2.5) don't define some common keysyms.])
36 AH_VERBATIM([_COMPAT_OLD_KEYSYMDEF],
37 [#ifdef COMPAT_OLD_KEYSYMDEF
38 # define XK_Page_Up XK_Prior
39diff --git a/doc/fvwm/Makefile.am b/doc/fvwm/Makefile.am
40index cddb102..ff00149 100755
41--- a/doc/fvwm/Makefile.am
42+++ b/doc/fvwm/Makefile.am
43@@ -10,7 +10,7 @@ XSL_PROFILE = $(srcdir)/../docbook-xsl/profiling/profile.xsl
44 HTML_FILES = fvwm.man.html
45 XML_FILES = @DOC_SECTIONS_XML_PATH@
46 EXTRA_DIST = @DOC_SECTIONS_XML@ $(man_MANS) sections
47-man_MANS = fvwm.1
48+man_MANS =
49
50 if FVWM_BUILD_HTMLDOC
51 doc_DATA = $(HTML_FILES)
52--
531.9.1
54