NetBSD Problem Report #35989
From dauphin@enst.fr Mon Mar 12 15:08:15 2007
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 31E4D63B8A7
for <gnats-bugs@gnats.netbsd.org>; Mon, 12 Mar 2007 15:08:15 +0000 (UTC)
Message-Id: <1173712092.17865@bi.enst.fr>
Date: Mon, 12 Mar 2007 16:08:12 +0100
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: mbone/sdr Solaris gcc4.1.2
X-Send-Pr-Version: gtk-send-pr 0.4.5
X-GNATS-Notify:
>Number: 35989
>Category: pkg
>Synopsis: mbone/sdr Solaris gcc4.1.2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: is
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 12 15:10:00 +0000 2007
>Closed-Date: Wed Jan 01 12:07:12 +0000 2014
>Last-Modified: Wed Jan 01 12:07:12 +0000 2014
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc
>Description:
sdr is old. does not compile with pkgsrc on solaris and crash when wrong announce is sent.
>How-To-Repeat:
bmake
run sdr
>Fix:
typical patch but i know wrong because hardcode PATH
but:
--- pgd-aa begins here ---
--- ../solaris/Makefile.solaris.orig Mon Sep 4 18:30:30 2000
+++ ../solaris/Makefile.solaris Mon Mar 12 15:42:39 2007
@@ -1,6 +1,6 @@
CC = gcc
-INCLUDES = -I/usr/openwin/include -I../../tcl-8.0/generic -I../../tk-8.0/generic -I../../common
-LIBS = ../../tk-8.0/unix/libtk8.0.a ../../tcl-8.0/unix/libtcl8.0.a ../../common/libuclmmbase.a \
+INCLUDES = -I/usr/openwin/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include/tk/generic -I../../common -I/usr/pkg/include/common-mml
+LIBS = -L/usr/pkg/lib -R/usr/pkg/lib -ltk84 -ltcl84 -luclmmbase -lmd5 \
-L/usr/openwin/lib -lX11 -lm -lnsl -ldl -lsocket -lresolv
CFLAGS = -g -O -Wall -Wno-implicit-int $(INCLUDES) -DSOLARIS -DCANT_MCAST_BIND -DNORANDPROTO -DAUTH -DSYSV -DSolaris $(IFLAGS)
--- pgd-aa ends here ---
--- pgd-ab begins here ---
--- ../src/polluted.c.orig Mon Sep 4 18:30:38 2000
+++ ../src/polluted.c Mon Mar 12 15:45:26 2007
@@ -1029,7 +1029,7 @@
memcpy((char *)bp1+sizeof(struct sap_header), (char *)bp+sizeof(struct sap_header), 4);
}
- newlen = len - auth_len;
+ newlen = len /* - auth_len */;
newbuf = (char *)malloc(newlen);
/* copy sapv4_header to start of newbuf and free temporary sapv4_header */
--- pgd-ab ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->is
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 19 Mar 2007 08:04:31 +0000
Responsible-Changed-Why:
Over to maintainer (if you can't reproduce/handle, please assign to
solaris-pkg-people, thanks)
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 01 Jan 2014 12:07:12 +0000
State-Changed-Why:
sdr was removed from pkgsrc
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.