Update to 3.6.6
This commit is contained in:
parent
5c925447f7
commit
b07c184128
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=530626
4 changed files with 15 additions and 15 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= nethack36
|
||||
PORTVERSION= 3.6.4
|
||||
PORTVERSION= 3.6.6
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= https://nethack.org/download/${PORTVERSION}/
|
||||
DISTNAME= ${TRUEPORTNAME}-${PORTVERSION:S/.//g}-src
|
||||
|
@ -61,7 +61,7 @@ post-patch:
|
|||
's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/include/config.h
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/win/Qt/qt_win.cpp
|
||||
.for f in include/config.h sys/unix/Makefile.doc sys/unix/Makefile.src sys/unix/Makefile.top
|
||||
.for f in sys/unix/Makefile.doc sys/unix/Makefile.src sys/unix/Makefile.top
|
||||
@${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \
|
||||
-e 's|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' \
|
||||
-e 's|%%HACKEXT%%|${HACKEXT}|g' \
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1577729401
|
||||
SHA256 (nethack-364-src.tgz) = 0531ab8466032611d61f702cb71fb3ceca78a7a4918885c1b4f2f17cb57dbd59
|
||||
SIZE (nethack-364-src.tgz) = 5573777
|
||||
TIMESTAMP = 1585980827
|
||||
SHA256 (nethack-366-src.tgz) = cfde0c3ab6dd7c22ae82e1e5a59ab80152304eb23fb06e3129439271e5643ed2
|
||||
SIZE (nethack-366-src.tgz) = 5577633
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- util/makedefs.c.orig 2019-05-08 00:00:16.000000000 -0700
|
||||
+++ util/makedefs.c 2019-05-16 08:21:09.868001000 -0700
|
||||
--- util/makedefs.c.orig 2020-04-04 00:36:25.595499000 -0700
|
||||
+++ util/makedefs.c 2020-04-04 00:42:25.126524000 -0700
|
||||
@@ -139,6 +139,7 @@
|
||||
#define MAXFNAMELEN 600
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
#ifdef FILE_PREFIX
|
||||
/* if defined, a first argument not starting with - is
|
||||
@@ -272,6 +273,12 @@
|
||||
@@ -279,6 +280,12 @@
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -21,9 +21,9 @@
|
|||
#ifdef FILE_PREFIX
|
||||
if (argc >= 2 && argv[1][0] != '-') {
|
||||
file_prefix = argv[1];
|
||||
@@ -967,9 +974,9 @@
|
||||
}
|
||||
Fprintf(ofp, "%s", Dont_Edit_Data);
|
||||
@@ -993,9 +1000,9 @@
|
||||
more likely to be picked than normal but it's nothing to worry about */
|
||||
(void) fputs(xcrypt(deflt_content), ofp);
|
||||
|
||||
- tfp = getfp(DATA_TEMPLATE, "grep.tmp", WRTMODE);
|
||||
+ tfp = getfp(DATA_TEMPLATE, tempfilename, WRTMODE);
|
||||
|
@ -33,7 +33,7 @@
|
|||
|
||||
while ((line = fgetline(ifp)) != 0) {
|
||||
if (line[0] != '#' && line[0] != '\n')
|
||||
@@ -979,7 +986,7 @@
|
||||
@@ -1005,7 +1012,7 @@
|
||||
Fclose(ifp);
|
||||
Fclose(ofp);
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
@@ -2230,9 +2237,9 @@
|
||||
@@ -2291,9 +2298,9 @@
|
||||
}
|
||||
Fprintf(ofp, "%s", Dont_Edit_Data);
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
|||
|
||||
while ((line = fgetline(ifp)) != 0) {
|
||||
SpinCursor(3);
|
||||
@@ -2247,7 +2254,7 @@
|
||||
@@ -2308,7 +2315,7 @@
|
||||
Fclose(ifp);
|
||||
Fclose(ofp);
|
||||
|
||||
|
|
|
@ -80,11 +80,11 @@ bin/%%HACKNAME%%
|
|||
%%DATADIR%%/bigrm-3.lev
|
||||
%%DATADIR%%/bigrm-4.lev
|
||||
%%DATADIR%%/bigrm-5.lev
|
||||
%%DATADIR%%/bigrm-10.lev
|
||||
%%DATADIR%%/bigrm-6.lev
|
||||
%%DATADIR%%/bigrm-7.lev
|
||||
%%DATADIR%%/bigrm-8.lev
|
||||
%%DATADIR%%/bigrm-9.lev
|
||||
%%DATADIR%%/bigrm-10.lev
|
||||
%%DATADIR%%/bogusmon
|
||||
%%DATADIR%%/castle.lev
|
||||
%%DATADIR%%/cmdhelp
|
||||
|
|
Loading…
Reference in a new issue