summaryrefslogtreecommitdiffstats
path: root/debian/patches/23-remove-invalid-chars-check.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 03:01:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 03:01:54 +0000
commit0494175483c2d82f445ddca9cadb6ee6338e9f9c (patch)
tree336364dc245983722e34439ece449564e77ca286 /debian/patches/23-remove-invalid-chars-check.patch
parentAdding upstream version 6.0.4-dfsg. (diff)
downloadvirtualbox-0494175483c2d82f445ddca9cadb6ee6338e9f9c.tar.xz
virtualbox-0494175483c2d82f445ddca9cadb6ee6338e9f9c.zip
Adding debian version 6.0.4-dfsg-7.debian/6.0.4-dfsg-7debian
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.patch20
1 files changed, 20 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..bb4a935e
--- /dev/null
+++ b/debian/patches/23-remove-invalid-chars-check.patch
@@ -0,0 +1,20 @@
+Description: Remove check for invalid characters in the build path since we have fixed
+ kBuild to handle those pathes starting from version 1:0.1.98svn2318-7.
+Author: Felix Geyer <fgeyer@debian.org>
+
+Index: virtualbox/configure
+===================================================================
+--- virtualbox.orig/configure 2013-11-19 04:36:42.817631012 -0500
++++ virtualbox/configure 2013-11-19 04:36:42.813631012 -0500
+@@ -180,11 +180,6 @@
+ # 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"
+