void-packages/templates/libpciaccess-0.10.3-src-common-interface.diff
Juan RP 8ac55ef618 Added dmxproto-2.2.2, libXrender-0.9.4 and libpciaccess-0.10.3.
All deps for xorg-server are now resolved...

--HG--
extra : convert_revision : 137e3c86bf222e14caba1ceb0f114f8a3e786867
2008-10-02 08:13:55 +02:00

11 lines
413 B
Diff

--- src/common_interface.c.orig 2008-10-02 07:40:36.000000000 +0200
+++ src/common_interface.c 2008-10-02 07:41:05.000000000 +0200
@@ -64,7 +64,7 @@
#define HTOLE_16(x) htole16(x)
#define HTOLE_32(x) htole32(x)
-#if defined(__FreeBSD__) || defined(__DragonFly__)
+#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
#define LETOH_16(x) le16toh(x)
#define LETOH_32(x) le32toh(x)
#else