diff options
author | minskim <minskim@pkgsrc.org> | 2005-05-09 15:14:01 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-05-09 15:14:01 +0000 |
commit | 5cfd548b583c1e959fffadc171f82badc8a7481c (patch) | |
tree | 788f183bbacaad354e0e96cf5b56f3e79ffcb8ea /print | |
parent | d8dde406090dd3b55b09054c239b857b7983254b (diff) | |
download | pkgsrc-5cfd548b583c1e959fffadc171f82badc8a7481c.tar.gz |
Identify Mac OS X correctly. Patch provided by Darrin B. Jewell in
PR pkg/29883.
Diffstat (limited to 'print')
-rw-r--r-- | print/pdflib/distinfo | 4 | ||||
-rw-r--r-- | print/pdflib/patches/patch-ab | 13 | ||||
-rw-r--r-- | print/pdflib/patches/patch-ac | 20 |
3 files changed, 36 insertions, 1 deletions
diff --git a/print/pdflib/distinfo b/print/pdflib/distinfo index d80a0e007df..b11ec452af8 100644 --- a/print/pdflib/distinfo +++ b/print/pdflib/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.8 2005/02/24 12:51:44 agc Exp $ +$NetBSD: distinfo,v 1.9 2005/05/09 15:14:01 minskim Exp $ SHA1 (pdflib-4.0.3.tar.gz) = 9fbe256249ef780c4607ee3070785d9a4ecc03f7 RMD160 (pdflib-4.0.3.tar.gz) = 5e21c05a9e2c49d90ccffea5a2ba085776b457c7 Size (pdflib-4.0.3.tar.gz) = 2373817 bytes SHA1 (patch-aa) = af526a893447186da5a09145bfd30994855e8e8d +SHA1 (patch-ab) = da90a65a101ae23622dfd85e1be3a5855f1fc265 +SHA1 (patch-ac) = 3f226ef6ee2a1b740831f44d97d9c49a2a6db50f diff --git a/print/pdflib/patches/patch-ab b/print/pdflib/patches/patch-ab new file mode 100644 index 00000000000..ca9ccdc1ac6 --- /dev/null +++ b/print/pdflib/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.5 2005/05/09 15:14:01 minskim Exp $ + +--- pdflib/p_config.h.orig 2002-06-19 11:01:15.000000000 -0500 ++++ pdflib/p_config.h +@@ -127,7 +127,7 @@ + /* try to identify Mac OS 9 compilers */ + + #if (defined macintosh || defined __POWERPC__ || defined __CFM68K__ || \ +- defined __MC68K__) && !defined MAC ++ defined __MC68K__) && !defined MAC && !defined(MACOSX) + #define MAC + #endif + diff --git a/print/pdflib/patches/patch-ac b/print/pdflib/patches/patch-ac new file mode 100644 index 00000000000..75c755c5ecc --- /dev/null +++ b/print/pdflib/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.3 2005/05/09 15:14:01 minskim Exp $ + +--- pdflib/p_basic.c.orig 2002-06-19 11:01:15.000000000 -0500 ++++ pdflib/p_basic.c +@@ -57,10 +57,14 @@ + #include <io.h> + #endif + +-#if defined(MAC) || defined(MACOSX) ++#ifdef MAC + #include <Files.h> + #endif + ++#ifdef MACOSX ++#include <CoreServices/CoreServices.h> ++#endif ++ + #ifdef WIN32 + #define WIN32_LEAN_AND_MEAN + #include <windows.h> |