From 289500c0f7e6abd6d97a667328f5b537bb90af24 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Tue, 23 Oct 2007 23:54:09 +0000 Subject: - Update to 200710.r1 PR: 117341 Submitted by: Peter Thoenen (maintainer) --- net-mgmt/kismet/files/patch-kismet-gpsmap.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 net-mgmt/kismet/files/patch-kismet-gpsmap.cc (limited to 'net-mgmt/kismet/files/patch-kismet-gpsmap.cc') diff --git a/net-mgmt/kismet/files/patch-kismet-gpsmap.cc b/net-mgmt/kismet/files/patch-kismet-gpsmap.cc new file mode 100644 index 000000000000..f3e7270fe615 --- /dev/null +++ b/net-mgmt/kismet/files/patch-kismet-gpsmap.cc @@ -0,0 +1,16 @@ +--- gpsmap.cc.orig Mon Oct 15 15:13:32 2007 ++++ gpsmap.cc Mon Oct 15 15:15:19 2007 +@@ -2242,11 +2242,11 @@ + pthread_attr_destroy(&attr); + + // Now wait for the threads to complete and come back +- int thread_status; ++ intptr_t thread_status; + for (int t = 0; t < numthreads; t++) { + void *tmp; + pthread_join(mapthread[t], &tmp); +- thread_status = reinterpret_cast(tmp); ++ thread_status = reinterpret_cast(tmp); + } + #else + // Run one instance of our "thread". thread number 0, it should just crunch it all -- cgit v1.2.3