Subject: pkg/31896: patch for rzip to compile on Mac OS X
To: None <,,>
From: None <carton@Ivy.NET>
List: pkgsrc-bugs
Date: 10/23/2005 16:09:01
>Number:         31896
>Category:       pkg
>Synopsis:       patch for rzip to compile on Mac OS X
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 23 16:09:00 +0000 2005
>Originator:     Miles Nordin
>Release:        Mac OS X
Ivy Ministries
Mac OS X
Architecture: ppc
Machine: macppc
Georg reports rzip doesn't build on Mac OS X.

To: carton@Ivy.NET
Subject: pkgsrc/archivers/rzip
From: (Georg Schwarz)
Date: Sun, 23 Oct 2005 12:52:11 +0200
Message-ID: <>


rzip needs the following patch to compile on MacOS X/Darwin:


--- rzip.h.orig 2005-10-23 11:24:14.000000000 +0200
+++ rzip.h      2005-10-23 11:25:45.000000000 +0200
@@ -26,6 +26,9 @@
 #include "config.h"
 #include <sys/types.h>
+#ifdef __APPLE__ /* Darwin */
+#include <stdint.h>
 #include <unistd.h>
 #include <stdio.h>
 #include <stddef.h>

Could you please incorporate it?



Georg Schwarz  +49 178 8545053

stdint.h seems to exist on NetBSD, too,  I checked the operating systems 
I have available.

 NetBSD 1.6:  stdint.h present
 FreeBSD 5.4: stdint.h present
 OpenBSD 3.7: stdint.h NOT present
 Solaris 10:  stdint.h present with this comment:
 * This header was introduced by the ISO C Standard, ISO/IEC
 * 9899:1999 Programming language - C. It is a subset of the
 * <inttypes.h> header.

If someone with commit access would like to take over rzip maintainership 
I won't be the least bit offended.  I'm listed there only because I was the 
guy who first submitted the tiny package after some Linux guy teased me 
about not having it.  I don't think I've ever actually ``maintained'' it.