openbsd-ports/comms/xlog/patches/patch-src_gui_tracedialog_c
jasper e4a211b6d2 - unbreak after recent gtk update
- add devel/gettext to MODULES while here
2007-10-24 22:43:16 +00:00

16 lines
571 B
Plaintext

$OpenBSD: patch-src_gui_tracedialog_c,v 1.2 2007/10/24 22:43:16 jasper Exp $
--- src/gui_tracedialog.c.orig Mon Jan 22 08:33:42 2007
+++ src/gui_tracedialog.c Tue Oct 16 13:27:52 2007
@@ -64,10 +64,8 @@ stop_tracing (void)
fclose (finfo.fd);
dup2 (saved_fd, STDERR_FILENO);
close (saved_fd);
-#ifndef __NetBSD__
-#ifndef WIN32
+#if !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(WIN32)
stderr = fdopen (STDERR_FILENO, "w");
-#endif
#endif
hamlibresult = start_hamlib (preferences.rigid, preferences.device,
RIG_DEBUG_NONE, preferences.polltime);