openbsd-ports/x11/gnome/nemiver/patches/patch-tests_threads_cc
ajacoutot ae56e870a3 Import nemiver-0.9.4.
Nemiver is a standalone graphical debugger that integrates well in the
GNOME desktop environment. It currently features a backend which uses
the well known GNU Debugger gdb to debug C / C++ programs.

Note that it is *not* yet working properly so it's not hooked up.

ok jasper@
2013-03-22 13:57:48 +00:00

16 lines
500 B
Plaintext

$OpenBSD: patch-tests_threads_cc,v 1.1.1.1 2013/03/22 13:57:48 ajacoutot Exp $
tests/threads.cc:31: error: invalid conversion from 'pthread*' to 'int'
--- tests/threads.cc.orig Mon Jan 14 09:24:17 2013
+++ tests/threads.cc Mon Jan 14 09:24:23 2013
@@ -28,7 +28,7 @@ thread_func (void *arg)
{
assert (arg != 0);
thread_info *ti = static_cast<thread_info*> (arg);
- __attribute__((unused)) int tid = ti->tid;
+ __attribute__((unused)) pthread_t tid = ti->tid;
return NULL;
}