pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44020: sysutils/torsmo does not compile on DragonFly (including fix)

>Number:         44020
>Category:       pkg
>Synopsis:       sysutils/torsmo does not compile on DragonFly (including fix)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 31 17:25:00 +0000 2010
>Originator:     Matthias Schmidt
>Release:        DragonFly 2.9
DragonFly hades 2.9-DEVELOPMENT DragonFly v2.9.0.90.g20134-DEVELOPMENT #0: Sun 
Oct 31 08:56:28 CET 2010     matthias@hades:/usr/obj/usr/src/sys/T42  i386
sysutils/torsmo does not compile on recent and older DragonFly releases, 
because the name of a constant changed:

cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O2 -I/usr/pkg/include 
-Wall -I/usr/pkg/include -Wall -W -c freebsd.c
freebsd.c: In function 'update_running_processes':
freebsd.c:237: error: 'struct kinfo_proc' has no member named 'kp_proc'
freebsd.c:237: error: 'SRUN' undeclared (first use in this function)
freebsd.c:237: error: (Each undeclared identifier is reported only once
freebsd.c:237: error: for each function it appears in.)

Compile it on DragonFly
Replace the current patch-ae with the following patch:

Home | Main Index | Thread Index | Old Index