pkgsrc/sysutils/hal/patches/patch-aq

15 lines
495 B
Text

$NetBSD: patch-aq,v 1.1 2009/01/23 11:13:38 sketch Exp $
--- libhal/libhal.c.orig Fri Jan 23 10:42:56 2009
+++ libhal/libhal.c Fri Jan 23 11:08:11 2009
@@ -4103,8 +4103,10 @@
static void
libhal_changeset_append (LibHalChangeSet *changeset, LibHalChangeSetElement *elem)
{
+#if !defined(__SUNPRO_C)
LIBHAL_CHECK_PARAM_VALID(changeset, "*changeset", (void) NULL );
LIBHAL_CHECK_PARAM_VALID(elem, "*elem", (void) NULL);
+#endif
if (changeset->head == NULL) {
changeset->head = elem;