freebsd-ports/sysutils/xosview/files/patch-Xrm.h
Sergey A. Osokin 1dba9f3c91 Fix build on -CURRENT.
Also:
- replace <xxx> with <xxx.h> due to Standard C++.
- In my observation, when include "devstats.h",
- In 4.x or earlier version, we use checkversion(), getnumdevs() ...
  But In 5.x, it should be repalce with devstat_checkversion(kvm_t *),
  devstat_getnumdevs(kvm_t *) respectively.
  In summary, function in 4.x's devstats.h can add prefix word "devstat

Submitted by:		Cheng-Lung Sung <clsung@dragon2.net>
Maintainership to:	submitter
PR:			58596
2003-10-28 14:53:44 +00:00

11 lines
208 B
C++

--- Xrm.h.orig Sun Jan 24 06:20:39 1999
+++ Xrm.h Mon Oct 27 21:26:37 2003
@@ -16,7 +16,7 @@
#include <X11/Xlib.h>
#include <X11/Xresource.h>
-class ostream;
+using namespace std;
class Xrm {
public: