Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 08:54:41 +0200 (CEST)
From:      Sten Spans <sten@blinkenlights.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/182397: net/ladvd: fix undeclared _POSIX_HOST_NAME_MAX on HEAD
Message-ID:  <20130926065441.9CA8B1141C@mx1.blinkenlights.nl>
Resent-Message-ID: <201309260700.r8Q702if020517@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182397
>Category:       ports
>Synopsis:       net/ladvd: fix undeclared _POSIX_HOST_NAME_MAX on HEAD
>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:   Thu Sep 26 07:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sten Spans
>Release:        FreeBSD 9.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD towel.blinkenlights.nl 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
[REL - head-amd64-default][net/ladvd] Failed for ladvd-1.0.2 in
    build

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     sten@blinkenlights.nl
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/net/ladvd/Makefile 327755 2013-09-20
22:10:23Z bapt $
Log URL:
http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s/l
ogs/ladvd-1.0.2.log
>How-To-Repeat:
	
>Fix:
	Add limits.h include to cli.c

diff -Nru ladvd.orig/Makefile ladvd/Makefile
--- ladvd.orig/Makefile	2012-11-17 07:00:04.000000000 +0100
+++ ladvd/Makefile	2013-09-26 08:49:24.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	ladvd
 PORTVERSION=	1.0.2
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	GOOGLE_CODE \
 		http://blinkenlights.nl/software/ladvd/
diff -Nru ladvd.orig/files/patch-limits.h ladvd/files/patch-limits.h
--- ladvd.orig/files/patch-limits.h	1970-01-01 01:00:00.000000000 +0100
+++ ladvd/files/patch-limits.h	2013-09-26 08:47:25.000000000 +0200
@@ -0,0 +1,10 @@
+--- src/cli.c.orig	2013-09-26 08:46:08.000000000 +0200
++++ src/cli.c	2013-09-26 08:46:22.000000000 +0200
+@@ -24,6 +24,7 @@
+ #include <sys/file.h>
+ #include <sys/un.h>
+ #include <netdb.h>
++#include <limits.h>
+ 
+ extern struct proto protos[];
+ int status = EXIT_SUCCESS;


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130926065441.9CA8B1141C>