pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48934: sysutils/hal fails to build on NetBSD 5.2 because of missing POSIX string.h function
The following reply was made to PR pkg/48934; it has been noted by GNATS.
From: David H.Gutteridge <dhgutteridge%sympatico.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/48934: sysutils/hal fails to build on NetBSD 5.2 because of
missing POSIX string.h function
Date: Sat, 21 Jun 2014 04:00:53 -0400
The following correction fixes it for me. (It may come through
garbled courtesy of Apple Mail, but the change is simple.)
patch-ac:
--- patch-ac.orig 2014-06-20 01:56:16.000000000 -0400
+++ patch-ac 2014-06-21 03:41:17.000000000 -0400
@@ -10,7 +10,7 @@
+#if defined(__FreeBSD__) || defined(__NetBSD__) || =
defined(__DragonFly__) || defined(__APPLE__) || defined(__MirBSD__)
#include <sys/param.h>
-#if __FreeBSD_version < 800067
-+#if __FreeBSD_version < 800067 && __DragonFly_version < 200202 && =
__NetBSD_Version__ < 599001100 && =
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070 && __OpenBSD__
++#if __FreeBSD_version < 800067 || __DragonFly_version < 200202 || =
__NetBSD_Version__ < 599001100 || =
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070 || __OpenBSD__
static size_t strnlen (const char *s, size_t maxlen)
{
size_t i;
distinfo:
--- distinfo.orig 2014-06-20 01:56:16.000000000 -0400
+++ distinfo 2014-06-21 03:46:30.000000000 -0400
@@ -5,6 +5,6 @@
Size (libvolume_id-0.81.1.tar.bz2) =3D 23399 bytes
SHA1 (patch-aa) =3D d6fe419f1c79823f87d927ecfcc057f9c0e6009e
SHA1 (patch-ab) =3D 6ef5cf4559578c30bc19db3bca896110374b348b
-SHA1 (patch-ac) =3D d27cb6f0275e06d9a75290328d4f66f68a2b8d9a
+SHA1 (patch-ac) =3D 687f0cbf2dfd3f8ecdf91b231fee3c7a5ce00833
SHA1 (patch-ad) =3D 894b565d3fcf03dd0fee8722066a0730c62a7af9
SHA1 (patch-ae) =3D 9382586dab03ed7691d26b029d930940dc3e7302
I'm not sure how this has worked at all in the various revisions using
the &&s... Am I missing something?
Dave
Home |
Main Index |
Thread Index |
Old Index