pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/hal treat driver == "ld" as a mass storage de...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24891a8c5ff0
branches:  trunk
changeset: 400261:24891a8c5ff0
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Thu Oct 15 00:30:38 2009 +0000

description:
treat driver == "ld" as a mass storage device, like "wd" and "sd"

diffstat:

 sysutils/hal/Makefile                         |  4 ++--
 sysutils/hal/files/hald-netbsd/devinfo_mass.c |  5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r c092e10dfbe4 -r 24891a8c5ff0 sysutils/hal/Makefile
--- a/sysutils/hal/Makefile     Wed Oct 14 22:30:06 2009 +0000
+++ b/sysutils/hal/Makefile     Thu Oct 15 00:30:38 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2009/07/26 18:42:04 drochner Exp $
+# $NetBSD: Makefile,v 1.42 2009/10/15 00:30:38 jmcneill Exp $
 
 DISTNAME=              hal-0.5.11
-PKGREVISION=           24
+PKGREVISION=           25
 CATEGORIES=            sysutils
 MASTER_SITES=          http://hal.freedesktop.org/releases/
 EXTRACT_SUFX=          .tar.bz2
diff -r c092e10dfbe4 -r 24891a8c5ff0 sysutils/hal/files/hald-netbsd/devinfo_mass.c
--- a/sysutils/hal/files/hald-netbsd/devinfo_mass.c     Wed Oct 14 22:30:06 2009 +0000
+++ b/sysutils/hal/files/hald-netbsd/devinfo_mass.c     Thu Oct 15 00:30:38 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: devinfo_mass.c,v 1.2 2008/12/26 15:30:06 jmcneill Exp $ */
+/* $NetBSD: devinfo_mass.c,v 1.3 2009/10/15 00:30:39 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2008 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -160,7 +160,8 @@
                return NULL;
        }
 
-       if (strcmp (driver, "wd") != 0 && strcmp (driver, "sd") != 0) {
+       if (strcmp (driver, "wd") != 0 && strcmp (driver, "sd") != 0 &&
+           strcmp (driver, "ld") != 0) {
                prop_object_release (dict);
                return NULL;
        }



Home | Main Index | Thread Index | Old Index