pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49627: x11/xcb-util-cursor fails to build on Mac OS X (with fix)
>Number: 49627
>Category: pkg
>Synopsis: x11/xcb-util-cursor fails to build on Mac OS X (with fix)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 02 14:25:00 +0000 2015
>Originator: Youri Mouton
>Release: current
>Organization:
>Environment:
Darwin mac.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
>Description:
x11/xcb-util-cursor fails to build on all Mac OS X versions.
>How-To-Repeat:
>Fix:
The following patch makes it build:
$NetBSD$
--- cursor/parse_cursor_file.c.orig 2013-11-09 10:15:12.000000000 +0000
+++ cursor/parse_cursor_file.c
@@ -37,6 +37,11 @@
#include <unistd.h>
#include <stdbool.h>
+#if defined(__APPLE__)
+#include <libkern/OSByteOrder.h>
+#define le32toh(x) OSSwapLittleToHostInt32(x)
+#endif
+
#ifdef HAVE_ENDIAN_H
#include <endian.h>
#endif
Home |
Main Index |
Thread Index |
Old Index