summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/remove_addsense.patch25
-rw-r--r--debian/patches/series1
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/remove_addsense.patch b/debian/patches/remove_addsense.patch
new file mode 100644
index 0000000..b31f606
--- /dev/null
+++ b/debian/patches/remove_addsense.patch
@@ -0,0 +1,25 @@
+Description: remove commented out AddSense script from static webpage
+ Even if the script is commented out and so not functional lintian
+ would find it and complain.
+ I could also override lintian, but some people might not find that enough.
+Author: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
+Forwarded: not-needed
+
+--- a/examples/webkit/webkit-guide/_index.html
++++ b/examples/webkit/webkit-guide/_index.html
+@@ -308,15 +308,5 @@ entered (localStorage), but credit-card
+ <div id="blurpage">
+ </div>
+ <script src="scripts/functions.js" type="text/javascript"></script>
+- <!-- <script type="text/javascript">
+- var _gaq = _gaq || [];
+- _gaq.push(['_setAccount', 'UA-4457116-5']);
+- _gaq.push(['_trackPageview']);
+- (function() {
+- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+- })();
+- </script> -->
+ </body>
+ </html>
diff --git a/debian/patches/series b/debian/patches/series
index 979ab22..317f9be 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -43,3 +43,4 @@ no_libicu_message.diff
QTBUG-25324_assistant_segfault_on_start_with_gcc_4.7.patch
qt-everywhere-opensource-src-4.8.5-QTBUG-22829.patch
qtdoc-build-offline-docs.patch
+remove_addsense.patch