diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:07:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:07:31 +0000 |
commit | edaebb65d92a48d7075c8c1f64c5ffd87054827b (patch) | |
tree | 045c941e1851cde1665bea22d97a2976b7a5bb69 /debian/patches/no-check-if-root.diff | |
parent | Adding upstream version 4:7.4.7. (diff) | |
download | libreoffice-edaebb65d92a48d7075c8c1f64c5ffd87054827b.tar.xz libreoffice-edaebb65d92a48d7075c8c1f64c5ffd87054827b.zip |
Adding debian version 4:7.4.7-1+deb12u1.debian/4%7.4.7-1+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/no-check-if-root.diff')
-rw-r--r-- | debian/patches/no-check-if-root.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/no-check-if-root.diff b/debian/patches/no-check-if-root.diff new file mode 100644 index 000000000..1fc9b199a --- /dev/null +++ b/debian/patches/no-check-if-root.diff @@ -0,0 +1,30 @@ +--- a/Makefile.in 2017-07-28 06:09:37.072183489 +0000 ++++ b/Makefile.in 2017-10-18 12:43:59.215567467 +0000 +@@ -58,18 +58,6 @@ else # MAKE_RESTARTS + + .DEFAULT_GOAL := build + +-# Nested test is to check if the systemd-detect-virt command doesn't exist or it reports we're not +-# in a container: +-check-if-root: +- @if test ! `uname` = 'Haiku' -a `id -u` = 0; then \ +- if test ! -x "$$(command -v systemd-detect-virt)" || ! systemd-detect-virt -c -q; then \ +- echo; \ +- echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \ +- echo; \ +- exit 1; \ +- fi \ +- fi +- + gb_Side ?= host + + include $(BUILDDIR)/config_$(gb_Side).mk +@@ -252,7 +244,7 @@ endif + # + # Bootstrap + # +-bootstrap: check-if-root compilerplugins ++bootstrap: compilerplugins + + # + # Build |