ports/176705: graphics/libGL : Fix complitation (not useability) on ARM
Olivier Cochard-Labbe
olivier at cochard.me
Wed Mar 6 21:00:03 UTC 2013
>Number: 176705
>Category: ports
>Synopsis: graphics/libGL : Fix complitation (not useability) on ARM
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 06 21:00:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Olivier Cochard-Labbe
>Release: current
>Organization:
>Environment:
FreeBSD raspberry-pi.local 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r247613M: Sat Mar 2 16:03:10 JST 2013 aoyama at fbs.local:/usr/obj-rpi-clang/arm.armv6/usr/src/sys/RPI-B-test18 arm
>Description:
For compiling x11/xorg-minimal on raspberry pi, I had to patch graphics/libGL.
Raspberry pi didn't support dri/libGL, but this pach (with graphics/dri patch that follow) permit to compile (and start) xorg-minimal without complain.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- src/gallium/include/pipe/p_config.h.orig 2013-03-04 14:14:41.558073315 +0000
+++ src/gallium/include/pipe/p_config.h 2013-03-04 14:15:38.767155403 +0000
@@ -136,6 +136,15 @@
# define PIPE_ARCH_BIG_ENDIAN
#endif
+#elif defined(__FreeBSD__)
+#include <machine/endian.h>
+
+#if defined(_LITTLE_ENDIAN)
+# define PIPE_ARCH_LITTLE_ENDIAN
+#elif defined(_BIG_ENDIAN)
+# define PIPE_ARCH_BIG_ENDIAN
+#endif
+
#else
#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list