summaryrefslogtreecommitdiffstats
path: root/debian/patches/23-remove-invalid-chars-check.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:17:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:17:34 +0000
commit8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0 (patch)
tree041e487e60a900d7d85f57307892acb586640822 /debian/patches/23-remove-invalid-chars-check.patch
parentAdding upstream version 7.0.14-dfsg. (diff)
downloadvirtualbox-8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0.tar.xz
virtualbox-8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0.zip
Adding debian version 7.0.14-dfsg-4.debian/7.0.14-dfsg-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/23-remove-invalid-chars-check.patch')
-rw-r--r--debian/patches/23-remove-invalid-chars-check.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/23-remove-invalid-chars-check.patch b/debian/patches/23-remove-invalid-chars-check.patch
new file mode 100644
index 00000000..ba040e41
--- /dev/null
+++ b/debian/patches/23-remove-invalid-chars-check.patch
@@ -0,0 +1,18 @@
+Description: Remove check for invalid characters in the build path since we have fixed
+ kBuild to handle those paths starting from version 1:0.1.98svn2318-7.
+Author: Felix Geyer <fgeyer@debian.org>
+
+--- a/configure
++++ b/configure
+@@ -195,11 +195,6 @@ BUILD_TYPE="release"
+ # the restricting tool is ar (mri mode).
+ INVALID_CHARS="[^A-Za-z0-9/\\$:._-]"
+
+-if (cd `dirname $0`; pwd)|grep -q "$INVALID_CHARS"; then
+- echo "Error: VBox base path contains invalid characters!"
+- exit 1
+-fi
+-
+ # Posix /bin/sh isn't supporting echo -n. Use printf instead.
+ ECHO_N="printf"
+