pkgsrc/editors/TeXmacs/patches/patch-al
obache 5b0b801344 Add patch to fix build failure on DragonFly and FreeBSD.
Patch provided by Hasso Tepper in PR 39049.
2008-07-13 14:30:21 +00:00

14 lines
355 B
Text

$NetBSD: patch-al,v 1.1 2008/07/13 14:30:21 obache Exp $
--- plugins/shell/src/tm_shell.cpp.orig 2008-03-20 02:16:36.000000000 +0900
+++ plugins/shell/src/tm_shell.cpp
@@ -25,6 +25,9 @@
#if HAVE_PTY_H
#include <pty.h>
#endif
+#if defined(__DragonFly__) || defined(__FreeBSD__)
+#include <libutil.h>
+#endif
#if HAVE_UTIL_H
#include <util.h>
#endif