Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2019 19:07:32 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r516100 - in head: graphics/libosmesa graphics/libxatracker graphics/mesa-dri graphics/mesa-dri/files graphics/mesa-libs lang/clover
Message-ID:  <201910301907.x9UJ7W2N025166@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Wed Oct 30 19:07:32 2019
New Revision: 516100
URL: https://svnweb.freebsd.org/changeset/ports/516100

Log:
  graphics/mesa: Add -D_GNU_SOURCE to compile flags
  
  Add -D_GNU_SOURCE to compile flags when building on FreeBSD.  This is needed
  to have mesa work with various locales, that for instance use , instead of .
  as a decmal separator.
  
  Bump portrevision on all mesa related ports.
  
  PR:		241506
  Reported by:	Jesper Schmitz Mouridsen
  MFH:		2019Q4

Modified:
  head/graphics/libosmesa/Makefile
  head/graphics/libxatracker/Makefile
  head/graphics/mesa-dri/Makefile
  head/graphics/mesa-dri/files/patch-configure
  head/graphics/mesa-libs/Makefile
  head/lang/clover/Makefile

Modified: head/graphics/libosmesa/Makefile
==============================================================================
--- head/graphics/libosmesa/Makefile	Wed Oct 30 18:57:17 2019	(r516099)
+++ head/graphics/libosmesa/Makefile	Wed Oct 30 19:07:32 2019	(r516100)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libosmesa
 PORTVERSION=	${MESAVERSION}
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	graphics
 
 COMMENT=	Off-Screen Mesa implementation of the OpenGL API

Modified: head/graphics/libxatracker/Makefile
==============================================================================
--- head/graphics/libxatracker/Makefile	Wed Oct 30 18:57:17 2019	(r516099)
+++ head/graphics/libxatracker/Makefile	Wed Oct 30 19:07:32 2019	(r516100)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libxatracker
 PORTVERSION=	${MESAVERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 
 COMMENT=	Mesa XA state tracker

Modified: head/graphics/mesa-dri/Makefile
==============================================================================
--- head/graphics/mesa-dri/Makefile	Wed Oct 30 18:57:17 2019	(r516099)
+++ head/graphics/mesa-dri/Makefile	Wed Oct 30 19:07:32 2019	(r516100)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mesa-dri
 PORTVERSION=	${MESAVERSION}
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	graphics
 
 COMMENT=	OpenGL hardware acceleration drivers for DRI2+

Modified: head/graphics/mesa-dri/files/patch-configure
==============================================================================
--- head/graphics/mesa-dri/files/patch-configure	Wed Oct 30 18:57:17 2019	(r516099)
+++ head/graphics/mesa-dri/files/patch-configure	Wed Oct 30 19:07:32 2019	(r516100)
@@ -1,6 +1,15 @@
---- configure.orig	2018-11-09 11:03:06 UTC
+--- configure.orig	2019-01-17 11:26:29 UTC
 +++ configure
-@@ -22659,12 +22659,13 @@ case "$host_os" in
+@@ -20767,7 +20767,7 @@ case "$host_os" in
+ *-android*)
+     android=yes
+     ;;
+-linux*|*-gnu*|gnu*|cygwin*)
++linux*|*-gnu*|gnu*|cygwin*|freebsd*)
+     DEFINES="$DEFINES -D_GNU_SOURCE"
+     ;;
+ solaris*)
+@@ -22648,12 +22648,13 @@ case "$host_os" in
  darwin*)
      ;;
  *)
@@ -18,7 +27,7 @@
  _ACEOF
   CLOCK_LIB=
  else
-@@ -23330,8 +23331,12 @@ $as_echo_n "checking whether pthread_setaffinity_np is
+@@ -23319,8 +23320,12 @@ $as_echo_n "checking whether pthread_setaffinity_np is
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
  
@@ -31,7 +40,7 @@
      int main() {
         void *a = (void*) &pthread_setaffinity_np;
         long b = (long) a;
-@@ -23350,11 +23355,20 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -23339,11 +23344,20 @@ rm -f core conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
  LIBS="$save_LIBS"
  
@@ -55,7 +64,7 @@
  
  
  # Check whether --enable-selinux was given.
-@@ -24252,7 +24266,7 @@ fi
+@@ -24241,7 +24255,7 @@ fi
  
  
  case "$host_os" in
@@ -64,7 +73,7 @@
      dri3_default=yes
      ;;
  *)
-@@ -26640,31 +26654,11 @@ fi
+@@ -26542,31 +26556,11 @@ fi
  	# Put the nasty error message in config.log where it belongs
  	echo "$XCB_RANDR_PKG_ERRORS" >&5
  
@@ -98,7 +107,7 @@
  else
  	XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS
  	XCB_RANDR_LIBS=$pkg_cv_XCB_RANDR_LIBS
-@@ -26732,31 +26726,11 @@ fi
+@@ -26634,31 +26628,11 @@ fi
  	# Put the nasty error message in config.log where it belongs
  	echo "$XLIB_RANDR_PKG_ERRORS" >&5
  
@@ -132,7 +141,7 @@
  else
  	XLIB_RANDR_CFLAGS=$pkg_cv_XLIB_RANDR_CFLAGS
  	XLIB_RANDR_LIBS=$pkg_cv_XLIB_RANDR_LIBS
-@@ -28792,9 +28766,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
+@@ -28694,9 +28668,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
          CLANG_LIBDIR=${LLVM_LIBDIR}
      fi
      CLANG_RESOURCE_DIR=$CLANG_LIBDIR/clang/${LLVM_VERSION}

Modified: head/graphics/mesa-libs/Makefile
==============================================================================
--- head/graphics/mesa-libs/Makefile	Wed Oct 30 18:57:17 2019	(r516099)
+++ head/graphics/mesa-libs/Makefile	Wed Oct 30 19:07:32 2019	(r516100)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mesa-libs
 PORTVERSION=	${MESAVERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 
 COMMENT=	OpenGL libraries that support GLX and EGL clients

Modified: head/lang/clover/Makefile
==============================================================================
--- head/lang/clover/Makefile	Wed Oct 30 18:57:17 2019	(r516099)
+++ head/lang/clover/Makefile	Wed Oct 30 19:07:32 2019	(r516100)
@@ -2,7 +2,7 @@
 
 PORTNAME=	clover
 PORTVERSION=	${MESAVERSION}
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	lang
 
 COMMENT=	Mesa "Clover" OpenCL library



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910301907.x9UJ7W2N025166>