summaryrefslogtreecommitdiffstats
path: root/debian/patches/16-freecad-extension.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/16-freecad-extension.patch')
-rw-r--r--debian/patches/16-freecad-extension.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/16-freecad-extension.patch b/debian/patches/16-freecad-extension.patch
new file mode 100644
index 0000000..317c336
--- /dev/null
+++ b/debian/patches/16-freecad-extension.patch
@@ -0,0 +1,21 @@
+commit fcaf3d4118af251973a57028302bf057a9681f1f
+Author: steelman <stlman@poczta.fm>
+Date: Thu Apr 22 21:39:19 2021 +0200
+
+ feat(unzip,zipinfo): recognize FreeCAD files (#520)
+
+ https://wiki.freecadweb.org/File_Format_FCStd
+
+diff --git a/bash_completion b/bash_completion
+index 51305148..fca32c57 100644
+--- a/bash_completion
++++ b/bash_completion
+@@ -2132,7 +2132,7 @@
+ }
+ # bzcmp, bzdiff, bz*grep, bzless, bzmore intentionally not here, see Debian: #455510
+ _install_xspec '!*.?(t)bz?(2)' bunzip2 bzcat pbunzip2 pbzcat lbunzip2 lbzcat
+-_install_xspec '!*.@(zip|[aegjswx]ar|exe|pk3|wsz|zargo|xpi|s[tx][cdiw]|sx[gm]|o[dt][tspgfc]|od[bm]|oxt|epub|apk|aab|ipa|do[ct][xm]|p[op]t[mx]|xl[st][xm]|pyz|whl)' unzip zipinfo
++_install_xspec '!*.@(zip|[aegjswx]ar|exe|pk3|wsz|zargo|xpi|s[tx][cdiw]|sx[gm]|o[dt][tspgfc]|od[bm]|oxt|epub|apk|aab|ipa|do[ct][xm]|p[op]t[mx]|xl[st][xm]|pyz|whl|[Ff][Cc][Ss]td)' unzip zipinfo
+ _install_xspec '*.Z' compress znew
+ # zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
+ _install_xspec '!*.@(Z|[gGd]z|t[ag]z)' gunzip zcat