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
>Organization:
>Environment:
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
>Description:
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.)

>How-To-Repeat:
Compile it on DragonFly
>Fix:
Replace the current patch-ae with the following patch:

http://leaf.dragonflybsd.org/~matthias/new_patch-ae



Home | Main Index | Thread Index | Old Index