diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-04-17 13:53:27 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-04-17 13:53:27 +0900 |
commit | 7ceb46211ddfdbfd07b79e9cd2077ed0605ef47e (patch) | |
tree | 6a309da61ff8fad680a38dd405e7066646262cfa /ubuntu/raring/tdelibs/debian/patches | |
parent | e43a1170040313d3384f0eefdf7a071059b9c2a9 (diff) | |
download | tde-packaging-7ceb46211ddfdbfd07b79e9cd2077ed0605ef47e.tar.gz tde-packaging-7ceb46211ddfdbfd07b79e9cd2077ed0605ef47e.zip |
Removed Ubuntu/raring folder
Diffstat (limited to 'ubuntu/raring/tdelibs/debian/patches')
-rw-r--r-- | ubuntu/raring/tdelibs/debian/patches/kubuntu_19_debianize_useragent.diff | 39 | ||||
-rw-r--r-- | ubuntu/raring/tdelibs/debian/patches/series | 1 |
2 files changed, 0 insertions, 40 deletions
diff --git a/ubuntu/raring/tdelibs/debian/patches/kubuntu_19_debianize_useragent.diff b/ubuntu/raring/tdelibs/debian/patches/kubuntu_19_debianize_useragent.diff deleted file mode 100644 index 184591207..000000000 --- a/ubuntu/raring/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/raring/tdelibs/debian/patches/series b/ubuntu/raring/tdelibs/debian/patches/series deleted file mode 100644 index b5490e13d..000000000 --- a/ubuntu/raring/tdelibs/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -kubuntu_19_debianize_useragent.diff |