ports/graphics/libdrm/files/extra-configure
Niclas Zeising 92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00

39 lines
747 B
Text

--- configure.orig 2013-02-22 00:30:16.861698520 +0100
+++ configure 2013-02-22 00:30:26.189704713 +0100
@@ -671,6 +671,8 @@
HAVE_VMWGFX_TRUE
HAVE_LIBKMS_FALSE
HAVE_LIBKMS_TRUE
+HAVE_STRCHRNUL_FALSE
+HAVE_STRCHRNUL_TRUE
CLOCK_LIB
pkgconfigdir
PTHREADSTUBS_LIBS
@@ -12341,6 +12345,27 @@
done
+for ac_func in strchrnul
+do :
+ ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul"
+if test "x$ac_cv_func_strchrnul" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_STRCHRNUL 1
+_ACEOF
+ HAVE_STRCHRNUL=yes
+fi
+done
+
+
+ if test "x$ac_cv_func_strchrnul" = xyes; then
+ HAVE_STRCHRNUL_TRUE=
+ HAVE_STRCHRNUL_FALSE='#'
+else
+ HAVE_STRCHRNUL_TRUE='#'
+ HAVE_STRCHRNUL_FALSE=
+fi
+
+
MAYBE_WARN="-Wall -Wextra \