SHA256
1
0
forked from pool/Mesa
Mesa/u_be_assert_include.patch
Stefan Dirsch 64d5fbb998 Accepting request 253096 from openSUSE:Factory:PowerPC
- Fix ppc64 build (bnc#893275 bnc#871128)
  u_be_assert_include.patch
  Add ncurses-devel as build dependency to build with -ltinfo
- Enable llvm on ppc64le (llvm3.5 got ppc64le support)
- Enable shared on ppc64 and ppc64le

OBS-URL: https://build.opensuse.org/request/show/253096
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=399
2014-09-29 13:09:39 +00:00

28 lines
756 B
Diff

From 83349c31a0e0997ea79bd2832cf9b80e7e22bbc0 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <dvaleev@suse.com>
Date: Mon, 29 Sep 2014 11:48:01 +0000
Subject: [PATCH] Fix missing include for BigEndian systems
Patch-Mainline: "To be upstreamed"
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
---
src/gallium/auxiliary/util/u_math.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
index 39bd40f..d4e3c12 100644
--- a/src/gallium/auxiliary/util/u_math.h
+++ b/src/gallium/auxiliary/util/u_math.h
@@ -51,6 +51,7 @@ extern "C" {
#include <math.h>
#include <float.h>
#include <stdarg.h>
+#include <assert.h>
#ifdef PIPE_OS_UNIX
#include <strings.h> /* for ffs */
--
1.7.12.4