Bug 143310 - sysutils/rmonitor: utmp.h -> utmpx.h migration in FreeBSD 9
Summary: sysutils/rmonitor: utmp.h -> utmpx.h migration in FreeBSD 9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 11:40 UTC by kheuer
Modified: 2010-01-28 21:40 UTC (History)
0 users

See Also:


Attachments
file.diff (2.10 KB, patch)
2010-01-28 11:40 UTC, kheuer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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"