NetBSD Problem Report #29883
From jewell@MIT.EDU Mon Apr 4 21:14:33 2005
Return-Path: <jewell@MIT.EDU>
Received: from south-station-annex.mit.edu (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
by narn.netbsd.org (Postfix) with ESMTP id 6C85463B11D
for <gnats-bugs@gnats.netbsd.org>; Mon, 4 Apr 2005 21:14:32 +0000 (UTC)
Message-Id: <20050404210828.A83F1523E9A@quiteria.zlz.net>
Date: Mon, 4 Apr 2005 17:08:28 -0400 (EDT)
From: "Darrin B.Jewell" <dbj@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: "Darrin B.Jewell" <dbj@netbsd.org>
Subject: pkgsrc print/pdflib on darwin header file fixes
>Number: 29883
>Category: pkg
>Synopsis: pkgsrc print/pdflib on darwin header file fixes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: minskim
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 04 21:15:00 +0000 2005
>Closed-Date: Mon May 09 15:15:48 +0000 2005
>Last-Modified: Tue May 10 13:50:00 +0000 2005
>Originator: Darrin B. Jewell
>Release: pkgsrc-2005Q1
>Organization:
>Environment:
Darwin Quiteria 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Installing print/pdflib fails on darwin with two minor problems.
1. It incorrectly enables a section of os9 code in a config header
2. It attempts to include a Carbon header directly that it can't find.
>How-To-Repeat:
Attempt to install print/pdflib
>Fix:
The following patch allows this package to build on my system:
Index: distinfo
===================================================================
RCS file: /u3/n/rsync/cvsroot/pkgsrc/print/pdflib/distinfo,v
retrieving revision 1.8
diff -u -u -r1.8 distinfo
--- distinfo 24 Feb 2005 12:51:44 -0000 1.8
+++ distinfo 4 Apr 2005 20:47:27 -0000
@@ -4,3 +4,5 @@
RMD160 (pdflib-4.0.3.tar.gz) = 5e21c05a9e2c49d90ccffea5a2ba085776b457c7
Size (pdflib-4.0.3.tar.gz) = 2373817 bytes
SHA1 (patch-aa) = af526a893447186da5a09145bfd30994855e8e8d
+SHA1 (patch-ab) = b10a588d1513c53a9b2bd07c984a8d037d60c43c
+SHA1 (patch-ac) = 39f16a26dca833150c3cf60fe1ad8d59f7fed12c
Index: patches/patch-ab
===================================================================
RCS file: patches/patch-ab
diff -N patches/patch-ab
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-ab 4 Apr 2005 20:10:26 -0000
@@ -0,0 +1,13 @@
+$NetBSD: $
+
+--- pdflib/p_config.h.orig Wed Jun 19 12:01:15 2002
++++ pdflib/p_config.h Mon Apr 4 16:07:59 2005
+@@ -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
+
Index: patches/patch-ac
===================================================================
RCS file: patches/patch-ac
diff -N patches/patch-ac
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-ac 4 Apr 2005 20:47:16 -0000
@@ -0,0 +1,18 @@
+$NetBSD: $
+
+--- pdflib/p_basic.c.orig Wed Jun 19 12:01:15 2002
++++ pdflib/p_basic.c Mon Apr 4 16:45:29 2005
+@@ -57,8 +57,12 @@
+ #include <io.h>
+ #endif
+
+-#if defined(MAC) || defined(MACOSX)
++#if defined(MAC)
+ #include <Files.h>
++#endif
++
++#if defined(MACOSX)
++#include <CoreServices/CoreServices.h>
+ #endif
+
+ #ifdef WIN32
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Tue, 05 Apr 2005 06:22:02 +0000
Responsible-Changed-Why:
Darwin pkgsrc PR.
Responsible-Changed-From-To: darwin-pkg-people->minskim
Responsible-Changed-By: minskim@netbsd.org
Responsible-Changed-When: Mon, 09 May 2005 15:12:25 +0000
Responsible-Changed-Why:
I'll take this.
From: Min Sik Kim <minskim@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/29883 CVS commit: pkgsrc/print/pdflib
Date: Mon, 9 May 2005 15:14:01 +0000 (UTC)
Module Name: pkgsrc
Committed By: minskim
Date: Mon May 9 15:14:01 UTC 2005
Modified Files:
pkgsrc/print/pdflib: distinfo
Added Files:
pkgsrc/print/pdflib/patches: patch-ab patch-ac
Log Message:
Identify Mac OS X correctly. Patch provided by Darrin B. Jewell in
PR pkg/29883.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pkgsrc/print/pdflib/distinfo
cvs rdiff -r0 -r1.5 pkgsrc/print/pdflib/patches/patch-ab
cvs rdiff -r0 -r1.3 pkgsrc/print/pdflib/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: minskim@netbsd.org
State-Changed-When: Mon, 09 May 2005 15:15:48 +0000
State-Changed-Why:
Patch applied. Thank you!
From: Lubomir Sedlacik <salo@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/29883 CVS commit: [pkgsrc-2005Q1] pkgsrc/print/pdflib
Date: Tue, 10 May 2005 13:49:58 +0000 (UTC)
Module Name: pkgsrc
Committed By: salo
Date: Tue May 10 13:49:58 UTC 2005
Modified Files:
pkgsrc/print/pdflib [pkgsrc-2005Q1]: distinfo
Added Files:
pkgsrc/print/pdflib/patches [pkgsrc-2005Q1]: patch-ab patch-ac
Log Message:
Pullup ticket 489 - requested by Min Sik Kim
portability fix for pdflib
Revisions pulled up:
- pkgsrc/print/pdflib/distinfo 1.9
- pkgsrc/print/pdflib/patches/patch-ab 1.5
- pkgsrc/print/pdflib/patches/patch-ac 1.3
Module Name: pkgsrc
Committed By: minskim
Date: Mon May 9 15:14:01 UTC 2005
Modified Files:
pkgsrc/print/pdflib: distinfo
Added Files:
pkgsrc/print/pdflib/patches: patch-ab patch-ac
Log Message:
Identify Mac OS X correctly. Patch provided by Darrin B. Jewell in
PR pkg/29883.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.8.2.1 pkgsrc/print/pdflib/distinfo
cvs rdiff -r0 -r1.4.12.1 pkgsrc/print/pdflib/patches/patch-ab
cvs rdiff -r0 -r1.2.12.1 pkgsrc/print/pdflib/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.