Date: Sat, 22 May 2010 00:12:37 +0200 (CEST) From: Sten Spans <sten@blinkenlights.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/146809: net/ladvd: fix trivial compile problem Message-ID: <20100521221237.54F0F1141A@mx1.blinkenlights.nl> Resent-Message-ID: <201005212220.o4LMK1Cv069857@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 146809 >Category: ports >Synopsis: net/ladvd: fix trivial compile problem >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri May 21 22:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sten Spans >Release: FreeBSD 8.0-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD towel.blinkenlights.nl 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The freebsd-specific code for IFDESCR support (available in 8-stable and current) has a missing semicolon in the upstream tarball, causing compilation failures. The fix has been commited upstream, and will be in the next release. Because only FreeBSD is affected the easiest thing for now is to fix the error via the port. The included patch fixes the compilation problem and bumps the portrevision. The ifdescr functionality has been testen on FreeBSD 8-STABLE. >How-To-Repeat: >Fix: diff -Nru ladvd.orig/Makefile ladvd/Makefile --- ladvd.orig/Makefile 2010-05-20 22:12:16.000000000 +0200 +++ ladvd/Makefile 2010-05-22 00:01:33.000000000 +0200 @@ -7,6 +7,7 @@ PORTNAME= ladvd PORTVERSION= 0.9.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://blinkenlights.nl/software/ladvd/ diff -Nru ladvd.orig/files/patch-ifdescr-semicolon ladvd/files/patch-ifdescr-semicolon --- ladvd.orig/files/patch-ifdescr-semicolon 1970-01-01 01:00:00.000000000 +0100 +++ ladvd/files/patch-ifdescr-semicolon 2010-05-22 00:00:14.000000000 +0200 @@ -0,0 +1,11 @@ +--- src/netif.c.orig 2010-05-21 23:59:23.000000000 +0200 ++++ src/netif.c 2010-05-21 23:59:36.000000000 +0200 +@@ -264,7 +264,7 @@ + #ifndef __FreeBSD__ + ifr.ifr_data = (caddr_t)&netif->description; + #else +- ifr.ifr_buffer.buffer = &netif->description ++ ifr.ifr_buffer.buffer = &netif->description; + ifr.ifr_buffer.length = IFDESCRSIZE; + #endif + ioctl(sockfd, SIOCGIFDESCR, &ifr); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100521221237.54F0F1141A>