[neon/extras/konversation/Neon/release-lts] debian/patches: refresh patch

Jonathan Riddell null at kde.org
Mon Dec 14 14:16:58 GMT 2020


Git commit 04fd39f09e0c4ad3f11a4bee3cab3b4ff8c376f6 by Jonathan Riddell.
Committed on 14/12/2020 at 14:16.
Pushed by jriddell into branch 'Neon/release-lts'.

refresh patch

M  +10   -8    debian/patches/debian_dbug_autoreplace.diff

https://invent.kde.org/neon/extras/konversation/commit/04fd39f09e0c4ad3f11a4bee3cab3b4ff8c376f6

diff --git a/debian/patches/debian_dbug_autoreplace.diff b/debian/patches/debian_dbug_autoreplace.diff
index 410a79e..d072213 100644
--- a/debian/patches/debian_dbug_autoreplace.diff
+++ b/debian/patches/debian_dbug_autoreplace.diff
@@ -10,13 +10,15 @@ Signed-off-by: Modestas Vainius <modestas at vainius.eu>
  src/config/preferences.cpp |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 
---- a/src/config/preferences.cpp
-+++ b/src/config/preferences.cpp
-@@ -122,6 +122,7 @@
-     QList<QStringList> defaultList;
-     defaultList.append(QStringList() << QStringLiteral("1") << QStringLiteral("o") << QStringLiteral("\\[\\[([^\\s]+)\\]\\]") << QStringLiteral("http://en.wikipedia.org/wiki/Special:Search?go=Go&search=%1"));
-     defaultList.append(QStringList() << QStringLiteral("1") << QStringLiteral("o") << QStringLiteral("(BUG:|bug:)([0-9]+)") << QStringLiteral("https://bugs.kde.org/show_bug.cgi?id=%2"));
-+    defaultList.append(QStringList() << QStringLiteral("1") << QStringLiteral("o") << QStringLiteral("([Dd][Bb][Uu][Gg]:)(\\w+)") << QStringLiteral("https://bugs.debian.org/%2"));
-     return defaultList;
+Index: konversation-20.12.0/src/config/preferences.cpp
+===================================================================
+--- konversation-20.12.0.orig/src/config/preferences.cpp
++++ konversation-20.12.0/src/config/preferences.cpp
+@@ -119,6 +119,7 @@ const QList<QStringList> Preferences::de
+     return QList<QStringList> {
+         { QStringLiteral("1"), QStringLiteral("o"), QStringLiteral("\\[\\[([^\\s]+)\\]\\]"), QStringLiteral("http://en.wikipedia.org/wiki/Special:Search?go=Go&search=%1") },
+         { QStringLiteral("1"), QStringLiteral("o"), QStringLiteral("(BUG:|bug:)([0-9]+)"), QStringLiteral("https://bugs.kde.org/show_bug.cgi?id=%2") },
++        { QStringLiteral("1"), QStringLiteral("o"), QStringLiteral("([Dd][Bb][Uu][Gg]:)(\\w+)"), QStringLiteral("https://bugs.debian.org/%2") },
+     };
  }
  


More information about the Neon-commits mailing list