mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
a kwm, zeising production: MESA 9.1.6 Starring: Mesa 9.1.6, including libGL, libGLU and dri (new xorg only) Addition of libEGL and libglesv2 KMS support for ATI graphics cards in 10-current (new xorg only) Improved sparc64 support for new xorg. [1] pixman 0.30.2, including shlib bump and portrevision bumps libX11 1.6.2 Make absolute pointing devices work with x11-drivers/xf86-input-mouse x11-drivers/xf86-video-ati 7.2.0 for 10-current (KMS aware ati driver) Also starring: Updates to drivers and other libraries and utilities Additional notes: When updating MESA related ports (libGL, dri) you need to remove old versions first. See UPDATING for details. PR: ports/181962 [2] Submitted by: marius [1] zeising [2] Exp-run by: bdrewery Approved by: portmgr (bdrewery) Thanks to all who helped testing!
14 lines
514 B
C++
14 lines
514 B
C++
--- src/glsl/ir_constant_expression.cpp.orig 2011-07-23 15:08:44.000000000 +0200
|
|
+++ src/glsl/ir_constant_expression.cpp 2011-07-23 15:09:03.000000000 +0200
|
|
@@ -39,6 +39,11 @@
|
|
#include "ir_visitor.h"
|
|
#include "glsl_types.h"
|
|
|
|
+#include <sys/param.h>
|
|
+#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
|
|
+#define log2(x) (log(x) / log(2))
|
|
+#endif
|
|
+
|
|
static float
|
|
dot(ir_constant *op0, ir_constant *op1)
|
|
{
|