pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/31896: patch for rzip to compile on Mac OS X
>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
>Organization:
Ivy Ministries
>Environment:
Mac OS X
Architecture: ppc
Machine: macppc
>Description:
Georg reports rzip doesn't build on Mac OS X.
>Fix:
-----8<-----
To: carton%Ivy.NET@localhost
Subject: pkgsrc/archivers/rzip
From: georg.schwarz%freenet.de@localhost (Georg Schwarz)
Date: Sun, 23 Oct 2005 12:52:11 +0200
Message-ID: <1h4vum1.5qprkzjbihrqM%georg.schwarz%freenet.de@localhost>
Hi,
rzip needs the following patch to compile on MacOS X/Darwin:
$NetBSD$
--- 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>
+#endif
#include <unistd.h>
#include <stdio.h>
#include <stddef.h>
Could you please incorporate it?
Thanks.
Georg
--
Georg Schwarz http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost +49 178 8545053
-----8<-----
Comments:
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.
Home |
Main Index |
Thread Index |
Old Index