diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-09 18:21:38 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-09 18:21:38 +0000 |
commit | 51ad076175af6fb266d772b7b0bf3fda405666d7 (patch) | |
tree | d9dbd95eaa0322508b93c2bf50cab07b33614dfb /sysutils/wmfsm/files | |
parent | 42baadd690585613c5da65589aa5eb87fbe8c737 (diff) | |
download | ports-51ad076175af6fb266d772b7b0bf3fda405666d7.tar.gz ports-51ad076175af6fb266d772b7b0bf3fda405666d7.zip |
Notes
Diffstat (limited to 'sysutils/wmfsm/files')
-rw-r--r-- | sysutils/wmfsm/files/patch-aa | 41 | ||||
-rw-r--r-- | sysutils/wmfsm/files/patch-ab | 26 | ||||
-rw-r--r-- | sysutils/wmfsm/files/patch-wmfsm::wmfsm.c | 28 |
3 files changed, 28 insertions, 67 deletions
diff --git a/sysutils/wmfsm/files/patch-aa b/sysutils/wmfsm/files/patch-aa deleted file mode 100644 index 1e768f203b14..000000000000 --- a/sysutils/wmfsm/files/patch-aa +++ /dev/null @@ -1,41 +0,0 @@ - -$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 deleted file mode 100644 index 78dacc52bc55..000000000000 --- a/sysutils/wmfsm/files/patch-ab +++ /dev/null @@ -1,26 +0,0 @@ - -$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 diff --git a/sysutils/wmfsm/files/patch-wmfsm::wmfsm.c b/sysutils/wmfsm/files/patch-wmfsm::wmfsm.c new file mode 100644 index 000000000000..88eaa8cd24ad --- /dev/null +++ b/sysutils/wmfsm/files/patch-wmfsm::wmfsm.c @@ -0,0 +1,28 @@ +--- wmfsm/wmfsm.c.orig Sat Jul 13 13:06:35 2002 ++++ wmfsm/wmfsm.c Fri Apr 9 23:35:48 2004 +@@ -54,6 +54,12 @@ + #include <sys/systeminfo.h> + #endif /* SVR4 */ + ++#ifdef HAVE_SYS_PARAM_H ++#include <sys/param.h> ++#endif ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif + #ifdef HAVE_SYS_VFS_H + #include <sys/vfs.h> + #endif +@@ -62,12 +68,6 @@ + #endif + #ifdef HAVE_SYS_MOUNT_H + #include <sys/mount.h> +-#endif +-#ifdef HAVE_SYS_PARAM_H +-#include <sys/param.h> +-#endif +-#ifdef HAVE_SYS_TYPES_H +-#include <sys/types.h> + #endif + + #ifdef STATFS_2_ARGUMENTS |