Bug 143310

Summary: sysutils/rmonitor: utmp.h -> utmpx.h migration in FreeBSD 9
Product: Ports & Packages Reporter: kheuer
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description kheuer 2010-01-28 11:40:06 UTC
	port does not build because of change in utmp interface

Fix: Patch was provided by Ed Schouten <ed@80386.nl> since I've no shell
access to a FreeBSD 9 system.

Thanks to him!

diff -uN gives:

How-To-Repeat: 	cd bin; make -f ../Makefile rmonitor
	cc -O2 -pipe -fno-strict-aliasing  -c ../src/rmonitor.c
	In file included from ../src/rmonitor.c:91:
	/usr/include/utmp.h:2:2: error: #error "<utmp.h> has been replaced by
	<utmpx.h>"
	../src/rmonitor.c: In function 'getstat':
	../src/rmonitor.c:314: error: storage size of 'utmprec' isn't known
	...
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2010-01-28 18:52:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2010-01-28 21:33:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-01-28 21:33:28 UTC
miwi        2010-01-28 21:33:20 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/rmonitor    Makefile 
  Added files:
    sysutils/rmonitor/files extra-patch-utmpx 
  Log:
  - Fix build on HEAD
  
  PR:             143310
  Patched by:     ed@
  Submitted by:   Konrad Heuer <kheuer@gwdg.de> (maintainer)
  
  Revision  Changes    Path
  1.7       +7 -1      ports/sysutils/rmonitor/Makefile
  1.1       +51 -0     ports/sysutils/rmonitor/files/extra-patch-utmpx (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"