openbsd-ports/x11/qvwm/patches/patch-src_main_cc
espie 536815c83e qvwm port, based on danh work.
- no destdir patches needed,
- update to new configure style,
- disable imlib and esound for now, these must be flavored,
and tested for correctly, which includes dependency.

- remove dropping into gdb, this does not work on OpenBSD.
- fix segfault when no audio support is available.
2000-07-02 23:25:18 +00:00

28 lines
832 B
Plaintext

$OpenBSD: patch-src_main_cc,v 1.1.1.1 2000/07/02 23:25:19 espie Exp $
--- src/main.cc.orig Wed May 31 08:21:41 2000
+++ src/main.cc Mon Jul 3 01:21:59 2000
@@ -767,11 +767,14 @@ void TrapSignal(int sig)
QvwmError("Bus error");
}
+// Debugger does not start up correctly on OpenBSD.
+#ifndef __OpenBSD__
if (UseDebugger) {
Debug debug;
QvwmError("Starting %s...", DEBUGGER);
debug.TraceStack(DEBUGGER, qvArgv[0]);
}
+#endif
// terminate accessory processes
// This is done in FinishQvwm, but it is not called from here...
@@ -823,7 +826,7 @@ void TrapChild(int sig)
if (pid <= 0)
break;
#ifdef USE_SS
- if (scrSaver->NotifyDeadPid(pid))
+ if (scrSaver && scrSaver->NotifyDeadPid(pid))
continue;
#endif
if (Indicator::NotifyDeadPid(pid))