diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2025-02-26 09:37:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2025-02-26 09:37:18 +0000 |
commit | b1978c99c086c6e28daf2927c9d5fbf539b40f31 (patch) | |
tree | 44880de670fc9ee86219d9a66ae4082eb906b51d /debian/patches/0001-system-libjs-jquery.patch | |
parent | Adding upstream version 2024-02-06b+dfsg. (diff) | |
download | dokuwiki-debian.tar.xz dokuwiki-debian.zip |
Adding debian version 2024-02-06b+dfsg-3.debian/2024-02-06b+dfsg-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0001-system-libjs-jquery.patch')
-rw-r--r-- | debian/patches/0001-system-libjs-jquery.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/0001-system-libjs-jquery.patch b/debian/patches/0001-system-libjs-jquery.patch new file mode 100644 index 0000000..a6b16be --- /dev/null +++ b/debian/patches/0001-system-libjs-jquery.patch @@ -0,0 +1,15 @@ +Author: Tanguy Ortolo <tanguy+debian@ortolo.eu> +Description: Use packaged version of jQuery instead of an embedded one. + +diff -Naurp dokuwiki.orig/lib/exe/jquery.php dokuwiki/lib/exe/jquery.php +--- dokuwiki.orig/lib/exe/jquery.php ++++ dokuwiki/lib/exe/jquery.php +@@ -24,7 +24,7 @@ function jquery_out() + { + $cache = new Cache('jquery', '.js'); + $files = [ +- DOKU_INC . 'lib/scripts/jquery/jquery.min.js', ++ '/usr/share/javascript/jquery/jquery.min.js', + DOKU_INC . 'lib/scripts/jquery/jquery-ui.min.js' + ]; + $cache_files = $files; |