diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-02-04 22:44:33 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-02-04 22:44:33 +0000 |
commit | a01c32ad5f84d104244e2e6cfa75f4f2726ddd13 (patch) | |
tree | e8425718d93c74acdce8371c97c4df2223a34bc0 /sysutils/wmfsm/files | |
parent | - Update to 0.2.0; (diff) |
Add wmfsm 0.31, displays filesystem usage of mountpoints in a nice
WindowMaker dockapp.
PR: 24012
Submitted by: Steven Enderle <panic@subphase.de>
Diffstat (limited to 'sysutils/wmfsm/files')
-rw-r--r-- | sysutils/wmfsm/files/patch-aa | 41 | ||||
-rw-r--r-- | sysutils/wmfsm/files/patch-ab | 26 |
2 files changed, 67 insertions, 0 deletions
diff --git a/sysutils/wmfsm/files/patch-aa b/sysutils/wmfsm/files/patch-aa new file mode 100644 index 000000000000..1e768f203b14 --- /dev/null +++ b/sysutils/wmfsm/files/patch-aa @@ -0,0 +1,41 @@ + +$FreeBSD$ + +--- wmfsm.c.orig Thu Aug 26 09:42:39 1999 ++++ wmfsm.c Mon Feb 5 00:38:13 2001 +@@ -59,7 +59,7 @@ + #elif defined(SunOS) + # define STATFS(a,b) statfs(a,b,sizeof(struct statfs),0) + # include <sys/statfs.h> +-#elif defined(__OpenBSD__) ++#elif defined(__OpenBSD__) || defined(__FreeBSD__) + # define STATFS(a,b) statfs(a,b) + # include <sys/param.h> + # include <sys/mount.h> +@@ -362,7 +362,7 @@ + + void readFileSystems(){ + /* Look for the goods between #if defined(__OpenBSD__) -- tschroed */ +-#if defined(__OpenBSD__) ++#if defined(__OpenBSD__) || defined(__FreeBSD__) + #define MAXMOUNT 32 + struct statfs sfs[MAXMOUNT]; + int fscount; +@@ -379,7 +379,7 @@ + { numberfs--; fscount--; } + else + mp[numberfs]=strdup(sfs[numberfs].f_mntonname); +-#else /* __OpenBSD__ */ ++#else /* __OpenBSD__ || __FreeBSD__ */ + + FILE *fp; + char mountPoint[255],dummy[255],fstype[255],options[255]; +@@ -424,7 +424,7 @@ + mp[numberfs++]=strdup(mountPoint); + } + } +-#endif /* __OpenBSD__ */ ++#endif /* __OpenBSD__ || __FreeBSD__ */ + excludeFileSystems(); + } + void excludeFileSystems(){ diff --git a/sysutils/wmfsm/files/patch-ab b/sysutils/wmfsm/files/patch-ab new file mode 100644 index 000000000000..78dacc52bc55 --- /dev/null +++ b/sysutils/wmfsm/files/patch-ab @@ -0,0 +1,26 @@ + +$FreeBSD$ + +--- Makefile.bsd.orig Wed Jun 16 09:54:34 1999 ++++ Makefile.bsd Mon Feb 5 00:38:13 2001 +@@ -1,9 +1,9 @@ +-CC = gcc ++CC ?= gcc + #CC = /usr/pure/purify-4.1-irix6/purify cc +-CFLAGS = +-INCDIR = -I/usr/X11R6/include/X11 -I/home/p-sgi2/eilemann/IRIX64/include -I/usr/X11R6/include +-DESTDIR= /usr/X11R6 +-LIBDIR = -L/usr/X11R6/lib ++CFLAGS += ++INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include ++DESTDIR= ${PREFIX} ++LIBDIR = -L${X11BASE}/lib + # for linux & irix + LIBS = -lXpm -lX11 -lXext + +@@ -33,4 +33,4 @@ + rm -f wmfsm + + install:: wmfsm +- install -s -m 0755 wmfsm $(DESTDIR)/bin ++ ${BSD_INSTALL_PROGRAM} wmfsm $(DESTDIR)/bin |