From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 21 22:20:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2714F1065672 for ; Fri, 21 May 2010 22:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E2BC08FC16 for ; Fri, 21 May 2010 22:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4LMK1cL069858 for ; Fri, 21 May 2010 22:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4LMK1Cv069857; Fri, 21 May 2010 22:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 21 May 2010 22:20:01 GMT Resent-Message-Id: <201005212220.o4LMK1Cv069857@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sten Spans Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF4541065674 for ; Fri, 21 May 2010 22:12:39 +0000 (UTC) (envelope-from sten@mx1.blinkenlights.nl) Received: from mx1.blinkenlights.nl (mx1.blinkenlights.nl [IPv6:2a02:898:17:8000::25]) by mx1.freebsd.org (Postfix) with ESMTP id 52A718FC16 for ; Fri, 21 May 2010 22:12:39 +0000 (UTC) Received: by mx1.blinkenlights.nl (Postfix, from userid 1001) id 54F0F1141A; Sat, 22 May 2010 00:12:37 +0200 (CEST) Message-Id: <20100521221237.54F0F1141A@mx1.blinkenlights.nl> Date: Sat, 22 May 2010 00:12:37 +0200 (CEST) From: Sten Spans To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/146809: net/ladvd: fix trivial compile problem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sten Spans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 22:20:02 -0000 >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: