1 | Index: plib/Portfile |
---|
2 | =================================================================== |
---|
3 | --- plib.orig/Portfile 2007-10-22 16:49:14.000000000 -0600 |
---|
4 | +++ plib/Portfile 2007-12-18 10:02:26.000000000 -0700 |
---|
5 | @@ -21,7 +21,7 @@ |
---|
6 | sha1 16d3faab36fdde85c5bf620046b56c65dfad6769 \ |
---|
7 | rmd160 a0b6f2fdd4035cb2a6b83616726563d779efb87f |
---|
8 | |
---|
9 | -patchfiles patch-src_js_jsMacOSX.cxx patch-src_pw_pwMacOSX.cxx |
---|
10 | +patchfiles patch-src_js_jsMacOSX.cxx patch-src_pw_pwMacOSX.cxx leopard.diff |
---|
11 | |
---|
12 | configure.args --with-x |
---|
13 | |
---|
14 | Index: plib/files/leopard.diff |
---|
15 | =================================================================== |
---|
16 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
---|
17 | +++ plib/files/leopard.diff 2007-12-18 10:02:09.000000000 -0700 |
---|
18 | @@ -0,0 +1,24 @@ |
---|
19 | +diff -ur plib-1.8.4-orig/src/js/jsMacOSX.cxx plib-1.8.4/src/js/jsMacOSX.cxx |
---|
20 | +--- src/js/jsMacOSX.cxx 2004-09-21 05:45:55.000000000 -0600 |
---|
21 | ++++ src/js/jsMacOSX.cxx 2007-10-30 09:06:32.000000000 -0600 |
---|
22 | +@@ -26,7 +26,7 @@ |
---|
23 | + #if defined (UL_MAC_OSX) |
---|
24 | + |
---|
25 | + #include <mach/mach.h> |
---|
26 | +-#include <IOKit/IOkitLib.h> |
---|
27 | ++#include <IOKit/IOKitLib.h> |
---|
28 | + #include <IOKit/hid/IOHIDLib.h> |
---|
29 | + #include <mach/mach_error.h> |
---|
30 | + #include <IOKit/hid/IOHIDKeys.h> |
---|
31 | +diff -ur plib-1.8.4-orig/src/ssg/ssgLoadFLT.cxx plib-1.8.4/src/ssg/ssgLoadFLT.cxx |
---|
32 | +--- src/ssg/ssgLoadFLT.cxx 2003-04-17 07:10:12.000000000 -0600 |
---|
33 | ++++ src/ssg/ssgLoadFLT.cxx 2007-10-30 09:09:50.000000000 -0600 |
---|
34 | +@@ -142,7 +142,7 @@ |
---|
35 | + |
---|
36 | + typedef unsigned char ubyte; |
---|
37 | + |
---|
38 | +-#ifdef UL_WIN32 |
---|
39 | ++#if defined(UL_WIN32) || defined(__APPLE__) |
---|
40 | + typedef unsigned short ushort; |
---|
41 | + typedef unsigned int uint; |
---|
42 | + #endif |
---|