diff options
-rw-r--r-- | sysutils/xfsm/Makefile | 3 | ||||
-rw-r--r-- | sysutils/xfsm/files/patch-ab | 23 | ||||
-rw-r--r-- | sysutils/xfsm/files/patch-ac | 11 |
3 files changed, 36 insertions, 1 deletions
diff --git a/sysutils/xfsm/Makefile b/sysutils/xfsm/Makefile index e955d021a774..9933b30b6ea1 100644 --- a/sysutils/xfsm/Makefile +++ b/sysutils/xfsm/Makefile @@ -8,7 +8,8 @@ DISTNAME= xfsm-1.99 CATEGORIES= sysutils -MASTER_SITES= http://www.peoplesoft.com/peoplepages/g/robert_gasch/src/ +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= system/status/xstatus EXTRACT_SUFX= .tgz MAINTAINER= vanilla@FreeBSD.org diff --git a/sysutils/xfsm/files/patch-ab b/sysutils/xfsm/files/patch-ab new file mode 100644 index 000000000000..d9ba6546590c --- /dev/null +++ b/sysutils/xfsm/files/patch-ab @@ -0,0 +1,23 @@ +--- Imakefile.orig Tue Feb 2 05:17:28 1999 ++++ Imakefile Wed Mar 15 03:55:07 2000 +@@ -26,7 +26,7 @@ + # uncomment the DEFINES definition appropriate for your machine + # HP will take care of itself ... + # CCOPTIONS = -O -DSUNOS +-CCOPTIONS = -O2 -DLINUX ++# CCOPTIONS = -O2 -DLINUX + # CCOPTIONS = -O -DSVR4 + # CCOPTIONS = -O -DAIX + #ifdef HPArchitecture +@@ -45,9 +45,9 @@ + # CCOPTIONS = -O -DDGUX + + +-EXTRA_DEFINES = -DAPP_DEFAULTS_DIR=\"$(XAPPLOADDIR)/\" ++EXTRA_DEFINES = -DFreeBSD -DAPP_DEFAULTS_DIR=\"$(XAPPLOADDIR)/\" + +-CC = cc ++# CC = cc + + + ############################################################################## diff --git a/sysutils/xfsm/files/patch-ac b/sysutils/xfsm/files/patch-ac new file mode 100644 index 000000000000..3cbc2489196d --- /dev/null +++ b/sysutils/xfsm/files/patch-ac @@ -0,0 +1,11 @@ +--- xfsm_util.c.orig Thu Feb 18 04:35:38 1999 ++++ xfsm_util.c Wed Mar 15 03:08:33 2000 +@@ -152,7 +152,7 @@ + /* *** FreeBSD has fsize which is the physical block size *** */ + /* *** and bsize which is the optimal transfer block size *** */ + /* *** and which depends on the filesystem parameter. *** */ +- calc_bsize=stats[i].f_fsize; ++ calc_bsize=stats[i].f_bsize; + #endif /* FreeBSD */ + + /* *** take the longer of the two 'problematic' strings *** */ |