diff options
author | adam <adam@FreeBSD.org> | 1996-02-12 04:41:32 +0000 |
---|---|---|
committer | adam <adam@FreeBSD.org> | 1996-02-12 04:41:32 +0000 |
commit | 5ea392f98188fa25533f33ef3852b6136d3472e3 (patch) | |
tree | e4729004e1a2267adf403357b6242986274d25c8 /net/dgd-lpmud | |
parent | 78498072735603a11adcab3ff363edf98bdb0c55 (diff) | |
download | FreeBSD-ports-5ea392f98188fa25533f33ef3852b6136d3472e3.zip FreeBSD-ports-5ea392f98188fa25533f33ef3852b6136d3472e3.tar.gz |
patches required by recent upgrade of DGD
Diffstat (limited to 'net/dgd-lpmud')
-rw-r--r-- | net/dgd-lpmud/Makefile | 7 | ||||
-rw-r--r-- | net/dgd-lpmud/distinfo | 1 | ||||
-rw-r--r-- | net/dgd-lpmud/files/patch-ab | 14 | ||||
-rw-r--r-- | net/dgd-lpmud/scripts/configure | 9 |
4 files changed, 25 insertions, 6 deletions
diff --git a/net/dgd-lpmud/Makefile b/net/dgd-lpmud/Makefile index 12df5e0..581b521 100644 --- a/net/dgd-lpmud/Makefile +++ b/net/dgd-lpmud/Makefile @@ -3,7 +3,7 @@ # Date created: 10 November 1994 # Whom: adam # -# $Id: Makefile,v 1.5 1995/10/25 14:37:39 adam Exp $ +# $Id: Makefile,v 1.6 1995/11/26 12:20:10 asami Exp $ # DISTNAME= dgd-lpmud @@ -12,6 +12,8 @@ CATEGORIES+= net devel games MASTER_SITES= ftp://ftp.lysator.liu.se/pub/lpmud/drivers/dgd/ \ ftp://ftp.lysator.liu.se/pub/lpmud/mudlibs/other/ DISTFILES= sim-2.4.5.tar.gz 2.4.5.tar.gz +PATCH_SITES= ftp://ftp.lysator.liu.se/pub/lpmud/drivers/dgd/ +PATCHFILES= sim-diffs RUN_DEPENDS= ${PREFIX}/dgd/bin/driver:${PORTSDIR}/net/dgd @@ -20,6 +22,9 @@ PKG_ARGS= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST \ -p ${PREFIX}/dgd # -r ${PKGDIR}/REQ +pre-patch: + @cd ${WRKDIR}; patch -s <2.4.5/diffs; mv 2.4.5/dgd . + do-build: @cd ${WRKDIR}/bin; make diff --git a/net/dgd-lpmud/distinfo b/net/dgd-lpmud/distinfo index 07a814e..409f00d 100644 --- a/net/dgd-lpmud/distinfo +++ b/net/dgd-lpmud/distinfo @@ -1,2 +1,3 @@ MD5 (sim-2.4.5.tar.gz) = e2a4fec5fc457f959ca74c96c4052d1b MD5 (2.4.5.tar.gz) = a7957ff0c0f544b773a1fd41f13ce520 +MD5 (sim-diffs) = fb6f922e5662a1dfbad0362ae30586b8 diff --git a/net/dgd-lpmud/files/patch-ab b/net/dgd-lpmud/files/patch-ab index 0fdbea8..0d3a376 100644 --- a/net/dgd-lpmud/files/patch-ab +++ b/net/dgd-lpmud/files/patch-ab @@ -15,6 +15,20 @@ users = 40; /* max # of users */ editors = 41; /* max # of editor sessions */ ed_tmpfile = "../tmp/ed"; /* proto editor tmpfile */ +*************** +*** 20,30 **** + driver_object = "/dgd/sys/driver"; /* driver object */ + create = "_F_create"; /* name of create function */ + +- value_stack = 950; /* value stack */ +- reserved_vstack = 50; /* reserved function call stack */ +- call_stack = 40; /* function call stack */ +- reserved_cstack = 10; /* reserved function call stack */ +- max_cost = 200000; /* max execution cost */ + array_size = 1000; /* max array size */ + objects = 1000; /* max # of objects */ + call_outs = 1200; /* max # of call_outs */ +--- 20,25 ---- *** 2.4.5/rundgd.old Fri Oct 20 21:42:34 1995 --- 2.4.5/rundgd Fri Oct 20 21:48:49 1995 *************** diff --git a/net/dgd-lpmud/scripts/configure b/net/dgd-lpmud/scripts/configure index 3f21e85..32a5ecd 100644 --- a/net/dgd-lpmud/scripts/configure +++ b/net/dgd-lpmud/scripts/configure @@ -1,10 +1,9 @@ cd ${WRKDIR} -patch -s <2.4.5/diffs find . -name '*.orig' -or -name '*.i' | xargs rm -rm -r ACCESS.* OBJ_DUMP doc/previous_object *.log log 2.4.5/diff* -mv 2.4.5/Copyright 2.4.5/dgd -mv 2.4.5/dgd 2.4.5/lpmud . -cp -pr 2.4.5/doc . && rm -r 2.4.5/doc +mv 2.4.5/doc/LPC/closures doc/LPC +rm -r ACCESS.* OBJ_DUMP doc/previous_object *.log log 2.4.5/diff* 2.4.5/doc +mv 2.4.5/Copyright dgd +mv 2.4.5/lpmud . mkdir -p lpmud-2.4.5/log; mv [A-Za-km-z]* lpmud-2.4.5 mkdir -p bin; mv 2.4.5/hname.c 2.4.5/convert.c bin cp ${FILESDIR}/Makefile.bin bin/Makefile |