ports/146809: net/ladvd: fix trivial compile problem
Sten Spans
sten at blinkenlights.nl
Fri May 21 22:20:02 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list