Date: Fri, 20 Oct 2000 13:31:52 -0700 (PDT) From: michael@rancid.berkeley.edu To: freebsd-gnats-submit@FreeBSD.org Subject: ports/22159: /usr/ports/net/rdist6 port is broken (won't compile) Message-ID: <20001020203152.539DB37B479@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 22159 >Category: ports >Synopsis: /usr/ports/net/rdist6 port is broken (won't compile) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 20 13:40:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Michael Sinatra >Release: 4.1.1-STABLE >Organization: UC Berkeley >Environment: FreeBSD ns3.berkeley.edu 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Wed Oct 18 13:13:09 GMT 2000 root@ns3-temp:/usr/src/sys/compile/ns3 i386 >Description: Port rdist6 breaks with the following compilation errors: ns3# make >How-To-Repeat: cd /usr/ports/net/rdist6 make >Fix: The following diffs *seem* to work (but my C skills suck): diff -rc rdist-6.1.5/include/defs.h rdist-6.1.5-orig/include/defs.h *** rdist-6.1.5/include/defs.h Fri Oct 20 11:38:50 2000 --- rdist-6.1.5-orig/include/defs.h Mon Nov 9 20:23:54 1998 *************** *** 379,385 **** extern void error(char *, ...); extern void fatalerr(char *, ...); extern void message(int, char *, ...); ! extern void setproctitle(const char *fmt, ...); #else extern void debugmsg(); extern void error(); --- 379,385 ---- extern void error(char *, ...); extern void fatalerr(char *, ...); extern void message(int, char *, ...); ! extern void setproctitle(char *fmt, ...); #else extern void debugmsg(); extern void error(); diff -rc rdist-6.1.5/src/setargs.c rdist-6.1.5-orig/src/setargs.c *** rdist-6.1.5/src/setargs.c Fri Oct 20 11:40:06 2000 --- rdist-6.1.5-orig/src/setargs.c Mon Nov 9 20:15:56 1998 *************** *** 138,144 **** /* * Stdarg front-end to _setproctitle() */ ! extern void setproctitle(const char *fmt, ...) { static char buf[BUFSIZ]; va_list args; --- 138,144 ---- /* * Stdarg front-end to _setproctitle() */ ! extern void setproctitle(char *fmt, ...) { static char buf[BUFSIZ]; va_list args; >Release-Note: >Audit-Trail: >Unformatted: >> rdist-6.1.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from http://www.magnicomp.com/download/rdist/. Receiving rdist-6.1.5.tar.gz (117861 bytes): 100% 117861 bytes transferred in 1.7 seconds (66.79 kBps) ===> Extracting for rdist-6.1.5 >> Checksum OK for rdist-6.1.5.tar.gz. ===> Patching for rdist-6.1.5 ===> Applying FreeBSD patches for rdist-6.1.5 ===> Configuring for rdist-6.1.5 ===> Building for rdist-6.1.5 Making "all" in "src" yacc -d gram.y mv y.tab.c gram.c cc -O -pipe -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c gram.c In file included from gram.y:62: ../include/defs.h:382: conflicting types for `setproctitle' /usr/include/unistd.h:99: previous declaration of `setproctitle' *** Error code 1 Stop in /usr/ports/net/rdist6/work/rdist-6.1.5/src. *** Error code 1 Stop in /usr/ports/net/rdist6/work/rdist-6.1.5/src. *** Error code 1 Stop in /usr/ports/net/rdist6/work/rdist-6.1.5. *** Error code 1 Stop in /usr/ports/net/rdist6. *** Error code 1 Stop in /usr/ports/net/rdist6. *** Error code 1 Stop in /usr/ports/net/rdist6. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001020203152.539DB37B479>