ports/x11/kdelibs3/files/patch-utmpx
Martin Wilke 1bbc977b7a - Fix build on HEAD
Submitted by:	ed@
2010-02-09 19:35:27 +00:00

11 lines
254 B
Text

--- kdecore/kpty.cpp
+++ kdecore/kpty.cpp
@@ -68,7 +68,7 @@
#include <unistd.h>
#include <grp.h>
-#ifdef HAVE_LIBUTIL_H
+#if defined(HAVE_LIBUTIL_H) && __FreeBSD_version < 900007
# include <libutil.h>
# define USE_LOGIN
#elif defined(HAVE_UTIL_H)