-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11vnc: patch: don't install Xdummy when configured --without-x
There is just no point in Xdummy if x11 is not in DISTRO_FEATURES.
- Loading branch information
1 parent
21b499d
commit a2172fb
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
...pes-graphics/x11vnc/files/0001-misc-Makefile.am-don-t-install-Xdummy-when-configure.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
From 686491573827b98ba031adaa5da373366079d3d8 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Dagenais?= <[email protected]> | ||
Date: Mon, 11 Feb 2019 11:42:59 -0500 | ||
Subject: [PATCH] misc/Makefile.am: don't install Xdummy when configured | ||
--without-x | ||
|
||
Upstream-status: submitted https://github.com/jeff-dagenais/x11vnc/pull/1 | ||
|
||
Signed-off-by: Jean-Francois Dagenais <[email protected]> | ||
--- | ||
misc/Makefile.am | 6 +++++- | ||
1 file changed, 5 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/misc/Makefile.am b/misc/Makefile.am | ||
index c0b98c8..e4a22c1 100644 | ||
--- a/misc/Makefile.am | ||
+++ b/misc/Makefile.am | ||
@@ -18,7 +18,10 @@ EXTRA_DIST = \ | ||
uinput.pl \ | ||
ultravnc_repeater.pl \ | ||
vcinject.pl \ | ||
- x11vnc_loop \ | ||
+ x11vnc_loop | ||
+ | ||
+if HAVE_X11 | ||
+EXTRA_DIST += \ | ||
Xdummy.c \ | ||
Xdummy.in | ||
|
||
@@ -32,3 +35,4 @@ do_dummy_c_subst = $(SED) \ | ||
Xdummy: $(srcdir)/Xdummy.in $(srcdir)/Xdummy.c | ||
$(do_dummy_c_subst) < $< > [email protected] | ||
mv -f [email protected] $@ | ||
+endif | ||
-- | ||
2.17.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters