1d803f71bb
The port will switch to the newer version if hw context is available in the i915kms driver. - Get ride of WITH_NEW_XORG. - Use @comment in plist to ignore unwanted files in the stagedir, instead of trying to remove them in post-install. - Bump portrevision of 9.1.7 due to dependency changes. - Drop :keepla from USES=libtool. - Drop @dirrm[try] from plists - Give dri propper options, with pkg-help for additional information. - Make separate plist for dri for the different versions, the combined plist was headache inducing. - Add "workaround" patches to allow clang to build the dri port on i386 [1]. USE_GCC is now only needed for 8.x. - Add gbm port and USE_GL switch for it. PR: 192286 [1] Submitted by: Carlos Jacobo Puga Medina [1] Approved by: portmgr (bapt@) In collaberation with: dumbbell@ Obtained from: xorg-dev
16 lines
498 B
C
16 lines
498 B
C
--- src/gallium/drivers/radeonsi/r600_buffer.c.orig 2013-08-01 00:56:45.000000000 +0200
|
|
+++ src/gallium/drivers/radeonsi/r600_buffer.c 2013-08-19 21:36:02.000000000 +0200
|
|
@@ -24,7 +24,13 @@
|
|
* Jerome Glisse
|
|
* Corbin Simpson <MostAwesomeDude@gmail.com>
|
|
*/
|
|
+
|
|
+#if defined(__linux__)
|
|
#include <byteswap.h>
|
|
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
|
+#include <sys/endian.h>
|
|
+#define bswap_32(x) bswap32((x))
|
|
+#endif
|
|
|
|
#include "pipe/p_screen.h"
|
|
#include "util/u_format.h"
|