Package: nim / 0.16.0-1

fix-runtime-privacy-breach.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: Avoid inlining remote resources in HTML documentation.
 Fixes lintian E privacy-breach-donation
Author: Ximin Luo <infinity0@debian.org>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/doc/lib.rst
+++ b/doc/lib.rst
@@ -565,10 +565,7 @@
 maintained to ensure that they work with the latest versions of the Nim
 compiler.
 
-.. raw:: html
-
-  <div id="officialPkgList"><b>If you are reading this you are missing
-  nimblepkglist.js or have javascript disabled in your browser.</b></div>
+`online package list <http://nim-lang.org/docs/lib.html#nimble-official-packages>`_
 
 Unofficial packages
 -------------------
@@ -577,10 +574,5 @@
 such may not always be up to date with the latest developments in the
 Nim programming language.
 
-.. raw:: html
-
-  <div id="unofficialPkgList"><b>If you are reading this you are missing
-  nimblepkglist.js or have javascript disabled in your browser.</b></div>
+`online package list <http://nim-lang.org/docs/lib.html#nimble-unofficial-packages>`_
 
-  <script type="text/javascript" src="nimblepkglist.js"></script>
-  <script type="text/javascript" src="http://irclogs.nim-lang.org/packages?callback=gotPackageList" async></script>