summaryrefslogtreecommitdiff
path: root/net/libktorrent
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-11-16 01:05:33 +0000
committerjoerg <joerg@pkgsrc.org>2012-11-16 01:05:33 +0000
commit4f31fcd11ef3229f4e3c0e16490694030bb3823d (patch)
tree8edb914a6c5c7fda700003d86176769c26fe56fd /net/libktorrent
parent430d634b9e77ffd7051faedefeb3db312ef351a5 (diff)
downloadpkgsrc-4f31fcd11ef3229f4e3c0e16490694030bb3823d.tar.gz
Use different names for different variables.
Diffstat (limited to 'net/libktorrent')
-rw-r--r--net/libktorrent/distinfo3
-rw-r--r--net/libktorrent/patches/patch-examples_ktcli_main.cpp19
2 files changed, 21 insertions, 1 deletions
diff --git a/net/libktorrent/distinfo b/net/libktorrent/distinfo
index 0be97d94b5e..1ad4720cbc1 100644
--- a/net/libktorrent/distinfo
+++ b/net/libktorrent/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2012/09/03 10:06:40 marino Exp $
+$NetBSD: distinfo,v 1.2 2012/11/16 01:05:33 joerg Exp $
SHA1 (libktorrent-1.2.1-2.tar.bz2) = 857e4227c4bba685755d66581d881f893f6311ae
RMD160 (libktorrent-1.2.1-2.tar.bz2) = 3daa90d1da8de816ff5b02b46c93e6741a97c8fa
Size (libktorrent-1.2.1-2.tar.bz2) = 896558 bytes
+SHA1 (patch-examples_ktcli_main.cpp) = 6ed9db8aa7701402d8784cb5209be9b433dc9680
SHA1 (patch-src_net_address.h) = 0689a5efc34062868ffb6e0ebbfe3b00ffdc8c20
diff --git a/net/libktorrent/patches/patch-examples_ktcli_main.cpp b/net/libktorrent/patches/patch-examples_ktcli_main.cpp
new file mode 100644
index 00000000000..c7ce4630d3a
--- /dev/null
+++ b/net/libktorrent/patches/patch-examples_ktcli_main.cpp
@@ -0,0 +1,19 @@
+$NetBSD: patch-examples_ktcli_main.cpp,v 1.1 2012/11/16 01:05:33 joerg Exp $
+
+--- examples/ktcli/main.cpp.orig 2012-11-15 12:19:45.000000000 +0000
++++ examples/ktcli/main.cpp
+@@ -66,11 +66,11 @@ int main(int argc, char** argv)
+ KCmdLineArgs::addCmdLineOptions(options);
+ KCmdLineArgs::init(argc,argv,"ktcli","ktorrent",ki18n("ktcli"),bt::GetVersionString().toAscii());
+
+- KTCLI app;
+- if (!app.start())
++ KTCLI app2;
++ if (!app2.start())
+ return -1;
+ else
+- return app.exec();
++ return app2.exec();
+ }
+ catch (bt::Error & err)
+ {