openbsd-ports/x11/gnome/gdm/patches/patch-configure
2011-09-12 07:39:20 +00:00

26 lines
699 B
Plaintext

$OpenBSD: patch-configure,v 1.19 2011/09/12 07:39:21 ajacoutot Exp $
--- configure.orig Tue May 31 18:25:21 2011
+++ configure Thu Jun 16 15:03:29 2011
@@ -22399,6 +22399,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
extern "C"
#endif
+int allow_severity = 1;
+int deny_severity = 1;
char hosts_ctl ();
int
main ()
@@ -24076,6 +24078,12 @@ else
am__EXEEXT_TRUE='#'
am__EXEEXT_FALSE=
fi
+
+case $host in
+ i386-*-openbsd*|amd64-*-openbsd*)
+ X_CONFIG_OPTIONS="$X_CONFIG_OPTIONS vt5"
+ ;;
+esac
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.