Date: Thu, 22 Apr 2010 13:54:46 -0700 (PDT) From: Ted Mittelstaedt <tedm@ipinc.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/145958: Patch to enable compilation of hcfmdm on FreeBSD 7 Message-ID: <201004222054.o3MKskOV080349@mail.madras.net> Resent-Message-ID: <201004222120.o3MLK4va034406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 145958 >Category: ports >Synopsis: Patch to enable compilation of hcfmdm on FreeBSD 7 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Apr 22 21:20:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ted Mittelstaedt >Release: FreeBSD 7.2-RELEASE i386 >Organization: Internet Partners, Inc. >Environment: System: FreeBSD mail.madras.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: /usr/ports/comms/hcfmdm compilation broke on FreeBSD 7 >How-To-Repeat: >Fix: Here is a 1-line patch that enables compilation. $ diff -u work/hcfmdm-0.99.1/osresour.c.orig work/hcfmdm-0.99.1/osresour.c --- work/hcfmdm-0.99.1/osresour.c.orig 2010-04-20 16:55:00.000000000 -0700 +++ work/hcfmdm-0.99.1/osresour.c 2010-04-20 16:55:11.000000000 -0700 @@ -110,7 +110,7 @@ } error = bus_setup_intr(sc->hcf_dev, sc->hcf_irq, INTR_TYPE_TTY | INTR_EXCL | INTR_MPSAFE, - hcf_intr, sc, &(sc->hcf_irq_cookie)); + NULL, hcf_intr, sc, &(sc->hcf_irq_cookie)); if (error) { printf("OsHookInterrupt(): Couldn't set up irq\n"); -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004222054.o3MKskOV080349>