summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/tdelibs/debian/patches
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-11-15 19:23:30 +0800
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-11-15 19:23:30 +0800
commit0277521b268b21caf0ee21202b92784f302baadc (patch)
tree5d856f96adfbe46b57da31cf60daa1084b4e7a1e /ubuntu/_base/tdelibs/debian/patches
parenteb16e7c7281e182297581fa8d565561869c81bca (diff)
downloadtde-packaging-0277521b268b21caf0ee21202b92784f302baadc.tar.gz
tde-packaging-0277521b268b21caf0ee21202b92784f302baadc.zip
DEB: adjusted to new 'core' folder for main packages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/tdelibs/debian/patches')
-rw-r--r--ubuntu/_base/tdelibs/debian/patches/kubuntu_19_debianize_useragent.diff39
-rw-r--r--ubuntu/_base/tdelibs/debian/patches/series1
2 files changed, 0 insertions, 40 deletions
diff --git a/ubuntu/_base/tdelibs/debian/patches/kubuntu_19_debianize_useragent.diff b/ubuntu/_base/tdelibs/debian/patches/kubuntu_19_debianize_useragent.diff
deleted file mode 100644
index 184591207..000000000
--- a/ubuntu/_base/tdelibs/debian/patches/kubuntu_19_debianize_useragent.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/tdeio/tdeio/tdeprotocolmanager.cpp
-+++ b/tdeio/tdeio/tdeprotocolmanager.cpp
-@@ -450,14 +450,19 @@
- return d->useragent;
-
- TQString supp;
-+ int debian_append = 0;
- struct utsname nam;
- if( uname(&nam) >= 0 )
- {
- if( modifiers.contains('o') )
- {
- supp += TQString("; %1").arg(nam.sysname);
-+ debian_append = 1;
- if ( modifiers.contains('v') )
-+ {
- supp += TQString(" %1").arg(nam.release);
-+ debian_append = 2;
-+ }
- }
- if( modifiers.contains('p') )
- {
-@@ -485,6 +490,16 @@
- }
- d->modifiers = modifiers;
- d->useragent = CFG_DEFAULT_UAGENT(supp);
-+
-+ if (debian_append == 1)
-+ d->useragent.append(" (Debian)");
-+ else if (debian_append == 2)
-+ {
-+#define STRINGIFY(macro_or_string) STRINGIFY_ARG(macro_or_string)
-+#define STRINGIFY_ARG(contents) #contents
-+ d->useragent.append(" (Debian package " STRINGIFY(DEBIAN_VERSION) ")");
-+ }
-+
- return d->useragent;
- }
-
diff --git a/ubuntu/_base/tdelibs/debian/patches/series b/ubuntu/_base/tdelibs/debian/patches/series
deleted file mode 100644
index b5490e13d..000000000
--- a/ubuntu/_base/tdelibs/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-kubuntu_19_debianize_useragent.diff