Skip to content
Permalink
Browse files

x11/XFree86:

Fix build by applying patches, closes https://trac.macports.org/ticket/16697
Tested building, but not functionality on Mac OS X 10.5.5

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40523 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
raimue committed Oct 5, 2008
1 parent 5ead17b commit 1e4f134da3d38c1f218fa79e364f4f3dd2537846
Showing with 25 additions and 1 deletion.
  1. +3 −1 x11/XFree86/Portfile
  2. +11 −0 x11/XFree86/files/patch-Xtranssock.c.diff
  3. +11 −0 x11/XFree86/files/patch-decompress.c.diff
@@ -29,7 +29,9 @@ checksums \
${distname}-src-5.tgz md5 05a3f3ce703df2fd24112cb8e9d86f73

patchfiles patch-freetype.h \
patch-glxcmds.c
patch-glxcmds.c \
patch-Xtranssock.c.diff \
patch-decompress.c.diff
post-patch {
set hostfd [open "${worksrcpath}/config/cf/host.def" a+]
puts $hostfd "#define ProjectRoot ${prefix}"
@@ -0,0 +1,11 @@
--- lib/xtrans/Xtranssock.c.origin 2008-09-29 21:07:46.000000000 +0200
+++ lib/xtrans/Xtranssock.c 2008-09-29 21:40:00.000000000 +0200
@@ -284,6 +284,8 @@
#ifndef __USLC__
#pragma weak getaddrinfo
#endif
+#else
+#define MAXHOSTNAMELEN 256
#endif
static int haveIPv6 = 1;
#endif
@@ -0,0 +1,11 @@
--- lib/font/fontfile/decompress.c.origin 2008-09-29 22:08:09.000000000 +0200
+++ lib/font/fontfile/decompress.c 2008-09-29 22:06:41.000000000 +0200
@@ -77,7 +77,7 @@

#include "fontmisc.h"
#include <bufio.h>
-#ifdef __UNIXOS2__
+#if defined(__UNIXOS2__) || defined(__DARWIN__)
#include <sys/types.h>
#endif

0 comments on commit 1e4f134

Please sign in to comment.
You can’t perform that action at this time.