use modern idioms for subst, pass X11BASE on the command line.
regen all patches for newer headers.
This commit is contained in:
parent
3a84791192
commit
9fa6351b9c
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2017/04/22 19:49:18 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2017/05/09 13:01:42 espie Exp $
|
||||
|
||||
COMMENT= city-building simulation
|
||||
|
||||
@ -23,11 +23,9 @@ LIB_DEPENDS= devel/sdl-mixer
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
|
||||
|
||||
MAKE_FLAGS = X11BASE=${X11BASE}
|
||||
|
||||
do-configure:
|
||||
@perl -pi -e s,%%PREFIX%%,${PREFIX}, ${WRKDIST}/Micropolis
|
||||
@perl -pi -e s,%%PREFIX%%,${PREFIX}, ${WRKDIST}/res/micropolis.tcl
|
||||
@perl -pi -e s,%%LOCALBASE%%,${LOCALBASE}, ${WRKDIST}/res/micropolis.tcl
|
||||
@perl -pi -e s,%%X11BASE%%,${X11BASE},g ${WRKSRC}/src/tclx/config.mk
|
||||
@perl -pi -e s,%%X11BASE%%,${X11BASE},g ${WRKSRC}/src/tk/makefile
|
||||
@${SUBST_CMD} ${WRKDIST}/Micropolis
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,15 +1,16 @@
|
||||
$OpenBSD: patch-Micropolis,v 1.2 2008/01/27 16:34:32 deanna Exp $
|
||||
--- Micropolis.orig Fri Nov 30 21:49:55 2007
|
||||
+++ Micropolis Tue Jan 15 20:41:37 2008
|
||||
$OpenBSD: patch-Micropolis,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: Micropolis
|
||||
--- Micropolis.orig
|
||||
+++ Micropolis
|
||||
@@ -1,7 +1,8 @@
|
||||
-#!/bin/bash
|
||||
-export SIMHOME=`pwd`
|
||||
+#!/bin/sh
|
||||
+export SIMHOME=%%PREFIX%%/share/micropolis
|
||||
+export SIMHOME=${PREFIX}$/share/micropolis
|
||||
echo "Starting Micropolis in $SIMHOME ... "
|
||||
-res/sim $*
|
||||
+cd $SIMHOME
|
||||
+%%PREFIX%%/libexec/sim $@
|
||||
+${PREFIX}/libexec/sim $@
|
||||
|
||||
#
|
||||
# Micropolis, Unix Version. This game was released for the Unix platform
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_g_ani_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/g_ani.c.orig Sat Apr 22 21:26:08 2017
|
||||
+++ src/sim/g_ani.c Sat Apr 22 21:26:17 2017
|
||||
$OpenBSD: patch-src_sim_g_ani_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/g_ani.c
|
||||
--- src/sim/g_ani.c.orig
|
||||
+++ src/sim/g_ani.c
|
||||
@@ -64,6 +64,7 @@
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_g_bigmap_c,v 1.4 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/g_bigmap.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/g_bigmap.c Sat Apr 22 21:31:18 2017
|
||||
$OpenBSD: patch-src_sim_g_bigmap_c,v 1.5 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/g_bigmap.c
|
||||
--- src/sim/g_bigmap.c.orig
|
||||
+++ src/sim/g_bigmap.c
|
||||
@@ -63,14 +63,16 @@
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_g_map_c,v 1.4 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/g_map.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/g_map.c Sat Apr 22 21:42:06 2017
|
||||
$OpenBSD: patch-src_sim_g_map_c,v 1.5 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/g_map.c
|
||||
--- src/sim/g_map.c.orig
|
||||
+++ src/sim/g_map.c
|
||||
@@ -83,24 +83,22 @@ short valGrayMap[] = {
|
||||
};
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_g_setup_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/g_setup.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/g_setup.c Sat Apr 22 21:25:34 2017
|
||||
$OpenBSD: patch-src_sim_g_setup_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/g_setup.c
|
||||
--- src/sim/g_setup.c.orig
|
||||
+++ src/sim/g_setup.c
|
||||
@@ -239,6 +239,7 @@ GetObjectXpms(XDisplay *xd, int id, int frames)
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_headers_sim_h,v 1.4 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/headers/sim.h.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/headers/sim.h Sat Apr 22 21:46:33 2017
|
||||
$OpenBSD: patch-src_sim_headers_sim_h,v 1.5 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/headers/sim.h
|
||||
--- src/sim/headers/sim.h.orig
|
||||
+++ src/sim/headers/sim.h
|
||||
@@ -684,4 +684,127 @@ extern int setSkips(int skips);
|
||||
extern int SetGameLevel(short level);
|
||||
extern int SetGameLevelFunds(short level);
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_makefile,v 1.3 2008/02/19 13:25:18 deanna Exp $
|
||||
--- src/sim/makefile.orig Mon Feb 11 23:14:17 2008
|
||||
+++ src/sim/makefile Mon Feb 11 23:14:33 2008
|
||||
$OpenBSD: patch-src_sim_makefile,v 1.4 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/makefile
|
||||
--- src/sim/makefile.orig
|
||||
+++ src/sim/makefile
|
||||
@@ -1,4 +1,3 @@
|
||||
-XINCLUDE = /usr/include/X11
|
||||
TCLHOME = ../tcl
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_alloc_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_alloc.c.orig Sat Apr 22 18:30:47 2017
|
||||
+++ src/sim/s_alloc.c Sat Apr 22 18:31:11 2017
|
||||
$OpenBSD: patch-src_sim_s_alloc_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_alloc.c
|
||||
--- src/sim/s_alloc.c.orig
|
||||
+++ src/sim/s_alloc.c
|
||||
@@ -147,7 +147,7 @@ short *MiscHis;
|
||||
short *PowerMap;
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_disast_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_disast.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/s_disast.c Sat Apr 22 18:44:34 2017
|
||||
$OpenBSD: patch-src_sim_s_disast_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_disast.c
|
||||
--- src/sim/s_disast.c.orig
|
||||
+++ src/sim/s_disast.c
|
||||
@@ -70,7 +70,14 @@ short FloodCnt;
|
||||
short FloodX, FloodY;
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_eval_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_eval.c.orig Sat Apr 22 18:45:34 2017
|
||||
+++ src/sim/s_eval.c Sat Apr 22 18:52:12 2017
|
||||
$OpenBSD: patch-src_sim_s_eval_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_eval.c
|
||||
--- src/sim/s_eval.c.orig
|
||||
+++ src/sim/s_eval.c
|
||||
@@ -77,8 +77,15 @@ short CityClass; /* 0..5 */
|
||||
short CityScore, deltaCityScore, AverageCityScore;
|
||||
short TrafficAverage;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_fileio_c,v 1.3 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_fileio.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/s_fileio.c Sat Apr 22 21:30:19 2017
|
||||
$OpenBSD: patch-src_sim_s_fileio_c,v 1.4 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_fileio.c
|
||||
--- src/sim/s_fileio.c.orig
|
||||
+++ src/sim/s_fileio.c
|
||||
@@ -68,6 +68,13 @@
|
||||
|
||||
#define NOOP_ON_BE { int test = 1; if (!(*(unsigned char*) (&test))) return; }
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_gen_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_gen.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/s_gen.c Sat Apr 22 19:52:54 2017
|
||||
$OpenBSD: patch-src_sim_s_gen_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_gen.c
|
||||
--- src/sim/s_gen.c.orig
|
||||
+++ src/sim/s_gen.c
|
||||
@@ -78,13 +78,29 @@ int LakeLevel = -1; /* level for lake creation */
|
||||
int CurveLevel = -1; /* level for river curviness */
|
||||
int CreateIsland = -1; /* -1 => 10%, 0 => never, 1 => always */
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_init_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_init.c.orig Sat Apr 22 17:24:04 2017
|
||||
+++ src/sim/s_init.c Sat Apr 22 17:26:18 2017
|
||||
$OpenBSD: patch-src_sim_s_init_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_init.c
|
||||
--- src/sim/s_init.c.orig
|
||||
+++ src/sim/s_init.c
|
||||
@@ -66,6 +66,7 @@
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_msg_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_msg.c.orig Sun Feb 10 22:25:24 2008
|
||||
+++ src/sim/s_msg.c Sat Apr 22 20:08:51 2017
|
||||
$OpenBSD: patch-src_sim_s_msg_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_msg.c
|
||||
--- src/sim/s_msg.c.orig
|
||||
+++ src/sim/s_msg.c
|
||||
@@ -68,13 +68,19 @@ short LastPicNum;
|
||||
short autoGo;
|
||||
short HaveLastMessage = 0;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_power_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_power.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/s_power.c Sat Apr 22 20:54:34 2017
|
||||
$OpenBSD: patch-src_sim_s_power_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_power.c
|
||||
--- src/sim/s_power.c.orig
|
||||
+++ src/sim/s_power.c
|
||||
@@ -68,9 +68,11 @@
|
||||
int PowerStackNum;
|
||||
char PowerStackX[PWRSTKSIZE], PowerStackY[PWRSTKSIZE];
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_scan_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_scan.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/s_scan.c Sat Apr 22 20:28:17 2017
|
||||
$OpenBSD: patch-src_sim_s_scan_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_scan.c
|
||||
--- src/sim/s_scan.c.orig
|
||||
+++ src/sim/s_scan.c
|
||||
@@ -72,11 +72,23 @@ short PolMaxX, PolMaxY;
|
||||
short CrimeMaxX, CrimeMaxY;
|
||||
QUAD DonDither = 0;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_sim_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_sim.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/s_sim.c Sat Apr 22 20:58:12 2017
|
||||
$OpenBSD: patch-src_sim_s_sim_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_sim.c
|
||||
--- src/sim/s_sim.c.orig
|
||||
+++ src/sim/s_sim.c
|
||||
@@ -85,8 +85,28 @@ short Spdcycle = 0;
|
||||
short DoInitialEval = 0;
|
||||
short MeltX, MeltY;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_traf_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_traf.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/s_traf.c Sat Apr 22 21:11:37 2017
|
||||
$OpenBSD: patch-src_sim_s_traf_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_traf.c
|
||||
--- src/sim/s_traf.c.orig
|
||||
+++ src/sim/s_traf.c
|
||||
@@ -72,8 +72,18 @@ short LDir;
|
||||
short Zsource;
|
||||
short TrafMaxX, TrafMaxY;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_s_zone_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/s_zone.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/s_zone.c Sat Apr 22 21:28:49 2017
|
||||
$OpenBSD: patch-src_sim_s_zone_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/s_zone.c
|
||||
--- src/sim/s_zone.c.orig
|
||||
+++ src/sim/s_zone.c
|
||||
@@ -61,10 +61,32 @@
|
||||
*/
|
||||
#include "sim.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_sim_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/sim.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/sim.c Sat Apr 22 18:28:09 2017
|
||||
$OpenBSD: patch-src_sim_sim_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/sim.c
|
||||
--- src/sim/sim.c.orig
|
||||
+++ src/sim/sim.c
|
||||
@@ -96,7 +96,13 @@ char *Displays = NULL;
|
||||
char *FirstDisplay = NULL;
|
||||
int ExitReturn = 0;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_budget_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_budget.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/w_budget.c Sat Apr 22 20:49:25 2017
|
||||
$OpenBSD: patch-src_sim_w_budget_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_budget.c
|
||||
--- src/sim/w_budget.c.orig
|
||||
+++ src/sim/w_budget.c
|
||||
@@ -90,6 +90,7 @@ void InitFundingLevel(void)
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_con_c,v 1.1 2017/04/20 15:52:29 espie Exp $
|
||||
--- src/sim/w_con.c.orig Thu Apr 20 17:31:07 2017
|
||||
+++ src/sim/w_con.c Thu Apr 20 17:31:41 2017
|
||||
$OpenBSD: patch-src_sim_w_con_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_con.c
|
||||
--- src/sim/w_con.c.orig
|
||||
+++ src/sim/w_con.c
|
||||
@@ -90,6 +90,7 @@ short _WireTable[16] = {
|
||||
Tile = (Tile & 0x000F) + 64; \
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_date_c,v 1.1 2017/04/20 15:52:29 espie Exp $
|
||||
--- src/sim/w_date.c.orig Thu Apr 20 17:33:32 2017
|
||||
+++ src/sim/w_date.c Thu Apr 20 17:34:39 2017
|
||||
$OpenBSD: patch-src_sim_w_date_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_date.c
|
||||
--- src/sim/w_date.c.orig
|
||||
+++ src/sim/w_date.c
|
||||
@@ -105,7 +105,10 @@ Tk_ConfigSpec DateConfigSpecs[] = {
|
||||
|
||||
XDisplay *FindXDisplay();
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_editor_c,v 1.1 2017/04/20 15:52:29 espie Exp $
|
||||
--- src/sim/w_editor.c.orig Thu Apr 20 17:39:35 2017
|
||||
+++ src/sim/w_editor.c Thu Apr 20 17:41:36 2017
|
||||
$OpenBSD: patch-src_sim_w_editor_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_editor.c
|
||||
--- src/sim/w_editor.c.orig
|
||||
+++ src/sim/w_editor.c
|
||||
@@ -66,6 +66,7 @@ Tcl_HashTable EditorCmds;
|
||||
int DoOverlay = 2;
|
||||
int BobHeight = 8;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_eval_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_eval.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/w_eval.c Sat Apr 22 18:27:30 2017
|
||||
$OpenBSD: patch-src_sim_w_eval_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_eval.c
|
||||
--- src/sim/w_eval.c.orig
|
||||
+++ src/sim/w_eval.c
|
||||
@@ -126,12 +126,14 @@ doScoreCard(void)
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_graph_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_graph.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/w_graph.c Sat Apr 22 19:53:43 2017
|
||||
$OpenBSD: patch-src_sim_w_graph_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_graph.c
|
||||
--- src/sim/w_graph.c.orig
|
||||
+++ src/sim/w_graph.c
|
||||
@@ -71,6 +71,8 @@ short Graph10Max, Graph120Max;
|
||||
Tcl_HashTable GraphCmds;
|
||||
int GraphUpdateTime = 100;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_keys_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_keys.c.orig Sat Apr 22 19:54:44 2017
|
||||
+++ src/sim/w_keys.c Sat Apr 22 19:54:53 2017
|
||||
$OpenBSD: patch-src_sim_w_keys_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_keys.c
|
||||
--- src/sim/w_keys.c.orig
|
||||
+++ src/sim/w_keys.c
|
||||
@@ -79,6 +79,7 @@ static char LastKeys[5];
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_map_c,v 1.1 2017/04/20 15:52:29 espie Exp $
|
||||
--- src/sim/w_map.c.orig Thu Apr 20 17:41:54 2017
|
||||
+++ src/sim/w_map.c Thu Apr 20 17:42:28 2017
|
||||
$OpenBSD: patch-src_sim_w_map_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_map.c
|
||||
--- src/sim/w_map.c.orig
|
||||
+++ src/sim/w_map.c
|
||||
@@ -69,6 +69,7 @@ extern Tk_ConfigSpec TileViewConfigSpecs[];
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_resrc_c,v 1.3 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_resrc.c.orig Sat Apr 22 20:01:52 2017
|
||||
+++ src/sim/w_resrc.c Sat Apr 22 20:02:05 2017
|
||||
$OpenBSD: patch-src_sim_w_resrc_c,v 1.4 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_resrc.c
|
||||
--- src/sim/w_resrc.c.orig
|
||||
+++ src/sim/w_resrc.c
|
||||
@@ -162,6 +162,7 @@ ResourceID(Handle h)
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_sound_c,v 1.1 2017/04/20 15:52:29 espie Exp $
|
||||
--- src/sim/w_sound.c.orig Thu Apr 20 17:28:27 2017
|
||||
+++ src/sim/w_sound.c Thu Apr 20 17:30:00 2017
|
||||
$OpenBSD: patch-src_sim_w_sound_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_sound.c
|
||||
--- src/sim/w_sound.c.orig
|
||||
+++ src/sim/w_sound.c
|
||||
@@ -145,6 +145,7 @@ static int SoundInitialized = 0;
|
||||
Mix_Chunk *rumble;
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_sprite_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_sprite.c.orig Sun Feb 10 22:25:24 2008
|
||||
+++ src/sim/w_sprite.c Sat Apr 22 20:52:55 2017
|
||||
$OpenBSD: patch-src_sim_w_sprite_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_sprite.c
|
||||
--- src/sim/w_sprite.c.orig
|
||||
+++ src/sim/w_sprite.c
|
||||
@@ -70,6 +70,16 @@ short Cycle;
|
||||
SimSprite *GlobalSprites[OBJN];
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_stubs_c,v 1.1 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_stubs.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/w_stubs.c Sat Apr 22 21:46:22 2017
|
||||
$OpenBSD: patch-src_sim_w_stubs_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_stubs.c
|
||||
--- src/sim/w_stubs.c.orig
|
||||
+++ src/sim/w_stubs.c
|
||||
@@ -82,12 +82,14 @@ short EvalChanged;
|
||||
short flagBlink;
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_tk_c,v 1.5 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_tk.c.orig Sun Feb 10 22:25:24 2008
|
||||
+++ src/sim/w_tk.c Sat Apr 22 18:59:15 2017
|
||||
$OpenBSD: patch-src_sim_w_tk_c,v 1.6 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_tk.c
|
||||
--- src/sim/w_tk.c.orig
|
||||
+++ src/sim/w_tk.c
|
||||
@@ -241,6 +241,7 @@ ConfigureTileView(Tcl_Interp *interp, SimView *view,
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_tool_c,v 1.1 2017/04/20 15:52:29 espie Exp $
|
||||
--- src/sim/w_tool.c.orig Thu Apr 20 17:35:45 2017
|
||||
+++ src/sim/w_tool.c Thu Apr 20 17:37:09 2017
|
||||
$OpenBSD: patch-src_sim_w_tool_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_tool.c
|
||||
--- src/sim/w_tool.c.orig
|
||||
+++ src/sim/w_tool.c
|
||||
@@ -126,6 +126,7 @@ Ink *NewInk();
|
||||
|
||||
short tally(short tileValue);
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_update_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_update.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/w_update.c Sat Apr 22 18:57:35 2017
|
||||
$OpenBSD: patch-src_sim_w_update_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_update.c
|
||||
--- src/sim/w_update.c.orig
|
||||
+++ src/sim/w_update.c
|
||||
@@ -75,6 +75,7 @@ char *dateStr[12] = {
|
||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
|
||||
};
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_util_c,v 1.2 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_util.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/w_util.c Sat Apr 22 21:20:05 2017
|
||||
$OpenBSD: patch-src_sim_w_util_c,v 1.3 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_util.c
|
||||
--- src/sim/w_util.c.orig
|
||||
+++ src/sim/w_util.c
|
||||
@@ -64,6 +64,7 @@
|
||||
|
||||
/* comefrom: drawTaxesCollected incBoxValue decBoxValue drawCurrentFunds
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_sim_w_x_c,v 1.4 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/sim/w_x.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/sim/w_x.c Sat Apr 22 18:28:38 2017
|
||||
$OpenBSD: patch-src_sim_w_x_c,v 1.5 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/sim/w_x.c
|
||||
--- src/sim/w_x.c.orig
|
||||
+++ src/sim/w_x.c
|
||||
@@ -90,6 +90,8 @@ unsigned char ColorIntensities[] = {
|
||||
/* COLOR_DARKGRAY */ 63,
|
||||
/* COLOR_BLACK */ 0,
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tcl_makefile,v 1.1.1.1 2008/01/18 03:36:32 deanna Exp $
|
||||
--- src/tcl/makefile.orig Fri Nov 30 21:49:55 2007
|
||||
+++ src/tcl/makefile Sun Jan 13 11:45:22 2008
|
||||
$OpenBSD: patch-src_tcl_makefile,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tcl/makefile
|
||||
--- src/tcl/makefile.orig
|
||||
+++ src/tcl/makefile
|
||||
@@ -24,9 +24,8 @@
|
||||
|
||||
TCL_LIBRARY = /usr/local/lib/tcl
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tcl_tclcmdmz_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tcl/tclcmdmz.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/tcl/tclcmdmz.c Sat Apr 22 16:29:15 2017
|
||||
$OpenBSD: patch-src_tcl_tclcmdmz_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tcl/tclcmdmz.c
|
||||
--- src/tcl/tclcmdmz.c.orig
|
||||
+++ src/tcl/tclcmdmz.c
|
||||
@@ -162,7 +162,7 @@ Tcl_RegexpCmd(dummy, interp, argc, argv)
|
||||
}
|
||||
} else {
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tcl_tclenv_c,v 1.3 2017/04/20 15:52:29 espie Exp $
|
||||
--- src/tcl/tclenv.c.orig Thu Apr 20 16:38:59 2017
|
||||
+++ src/tcl/tclenv.c Thu Apr 20 16:56:49 2017
|
||||
$OpenBSD: patch-src_tcl_tclenv_c,v 1.4 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tcl/tclenv.c
|
||||
--- src/tcl/tclenv.c.orig
|
||||
+++ src/tcl/tclenv.c
|
||||
@@ -58,7 +58,7 @@ static char * EnvTraceProc _ANSI_ARGS_((ClientData cl
|
||||
static int FindVariable _ANSI_ARGS_((char *name, int *lengthPtr));
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tcl_tclglob_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tcl/tclglob.c.orig Sat Apr 22 15:22:33 2017
|
||||
+++ src/tcl/tclglob.c Sat Apr 22 15:23:46 2017
|
||||
$OpenBSD: patch-src_tcl_tclglob_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tcl/tclglob.c
|
||||
--- src/tcl/tclglob.c.orig
|
||||
+++ src/tcl/tclglob.c
|
||||
@@ -364,9 +364,9 @@ DoGlob(interp, dir, rem)
|
||||
if (l2 <= STATIC_SIZE) {
|
||||
newDir = static1;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tcl_tclparse_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tcl/tclparse.c.orig Sat Apr 22 15:19:19 2017
|
||||
+++ src/tcl/tclparse.c Sat Apr 22 15:20:03 2017
|
||||
$OpenBSD: patch-src_tcl_tclparse_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tcl/tclparse.c
|
||||
--- src/tcl/tclparse.c.orig
|
||||
+++ src/tcl/tclparse.c
|
||||
@@ -1143,8 +1143,8 @@ Tcl_ParseVar(interp, string, termPtr)
|
||||
if (TclParseQuotes(interp, string+1, ')', 0, &end, &pv)
|
||||
!= TCL_OK) {
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tcl_tclunxaz_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tcl/tclunxaz.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/tcl/tclunxaz.c Sat Apr 22 16:01:48 2017
|
||||
$OpenBSD: patch-src_tcl_tclunxaz_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tcl/tclunxaz.c
|
||||
--- src/tcl/tclunxaz.c.orig
|
||||
+++ src/tcl/tclunxaz.c
|
||||
@@ -544,7 +544,7 @@ Tcl_FileCmd(dummy, interp, argc, argv)
|
||||
if (stat(fileName, &statBuf) == -1) {
|
||||
goto badStat;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tcl_tclutil_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tcl/tclutil.c.orig Sat Apr 22 15:21:03 2017
|
||||
+++ src/tcl/tclutil.c Sat Apr 22 15:21:36 2017
|
||||
$OpenBSD: patch-src_tcl_tclutil_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tcl/tclutil.c
|
||||
--- src/tcl/tclutil.c.orig
|
||||
+++ src/tcl/tclutil.c
|
||||
@@ -177,7 +177,7 @@ TclFindElement(interp, list, elementPtr, nextPtr, size
|
||||
Tcl_ResetResult(interp);
|
||||
sprintf(interp->result,
|
||||
|
@ -1,8 +1,8 @@
|
||||
$OpenBSD: patch-src_tclx_config_linux,v 1.1 2008/09/11 21:45:43 martynas Exp $
|
||||
--- src/tclx/config/linux.orig Mon Feb 4 04:52:26 2008
|
||||
+++ src/tclx/config/linux Thu Sep 11 22:55:35 2008
|
||||
@@ -4,7 +4,7 @@
|
||||
# $Id: patch-src_tclx_config_linux,v 1.1 2008/09/11 21:45:43 martynas Exp $
|
||||
$OpenBSD: patch-src_tclx_config_linux,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/config/linux
|
||||
--- src/tclx/config/linux.orig
|
||||
+++ src/tclx/config/linux
|
||||
@@ -5,6 +5,6 @@
|
||||
#------------------------------------------------------------------------------
|
||||
#
|
||||
-SYS_DEP_FLAGS=-DTCL_HAVE_SETLINEBUF -DTCL_32_BIT_RANDOM -DTCL_POSIX_SIG -DTCL_TM_GMTOFF
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_config_mk,v 1.1.1.1 2008/01/18 03:36:32 deanna Exp $
|
||||
--- src/tclx/config.mk.orig Fri Nov 30 21:49:55 2007
|
||||
+++ src/tclx/config.mk Sun Jan 13 10:30:56 2008
|
||||
$OpenBSD: patch-src_tclx_config_mk,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/config.mk
|
||||
--- src/tclx/config.mk.orig
|
||||
+++ src/tclx/config.mk
|
||||
@@ -60,9 +60,7 @@ XPM_LIBS=-L/usr/X11R6/lib -lXpm
|
||||
# profiling is enabled, the DO_STRIPPING option below must be disabled.
|
||||
#
|
||||
@ -18,8 +19,8 @@ $OpenBSD: patch-src_tclx_config_mk,v 1.1.1.1 2008/01/18 03:36:32 deanna Exp $
|
||||
AR=ar
|
||||
-XCFLAGS=
|
||||
-XLDFLAGS=
|
||||
+XCFLAGS= -I%%X11BASE%%/include
|
||||
+XLDFLAGS= -L%%X11BASE/lib
|
||||
+XCFLAGS= -I${X11BASE}/include
|
||||
+XLDFLAGS= -L${X11BASE}/lib
|
||||
YACC=yacc
|
||||
#YACC=bison -b y
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxcclk_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxcclk.c.orig Sat Apr 22 16:30:15 2017
|
||||
+++ src/tclx/src/tclxcclk.c Sat Apr 22 16:30:55 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxcclk_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxcclk.c
|
||||
--- src/tclx/src/tclxcclk.c.orig
|
||||
+++ src/tclx/src/tclxcclk.c
|
||||
@@ -52,8 +52,10 @@ Tcl_ConvertclockCmd (clientData, interp, argc, argv)
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxclck_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxclck.c.orig Sat Apr 22 16:31:26 2017
|
||||
+++ src/tclx/src/tclxclck.c Sat Apr 22 16:33:28 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxclck_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxclck.c
|
||||
--- src/tclx/src/tclxclck.c.orig
|
||||
+++ src/tclx/src/tclxclck.c
|
||||
@@ -43,7 +43,7 @@ Tcl_GetclockCmd (clientData, interp, argc, argv)
|
||||
Tcl_AppendResult (interp, tclXWrongArgs, argv[0], (char *) NULL);
|
||||
return TCL_ERROR;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxfcmd_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxfcmd.c.orig Sat Apr 22 16:38:34 2017
|
||||
+++ src/tclx/src/tclxfcmd.c Sat Apr 22 16:42:09 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxfcmd_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxfcmd.c
|
||||
--- src/tclx/src/tclxfcmd.c.orig
|
||||
+++ src/tclx/src/tclxfcmd.c
|
||||
@@ -242,13 +242,13 @@ ReturnStatList (interp, filePtr, statBufPtr)
|
||||
char statList [200];
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxfsca_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxfsca.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/tclx/src/tclxfsca.c Sat Apr 22 16:47:04 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxfsca_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxfsca.c
|
||||
--- src/tclx/src/tclxfsca.c.orig
|
||||
+++ src/tclx/src/tclxfsca.c
|
||||
@@ -58,7 +58,7 @@ typedef scanGlob_t *scanGlob_pt;
|
||||
/*
|
||||
* Prototypes of internal functions.
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxgdat_y,v 1.4 2017/04/22 19:49:18 espie Exp $
|
||||
--- src/tclx/src/tclxgdat.y.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/tclx/src/tclxgdat.y Sat Apr 22 17:10:49 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxgdat_y,v 1.5 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxgdat.y
|
||||
--- src/tclx/src/tclxgdat.y.orig
|
||||
+++ src/tclx/src/tclxgdat.y
|
||||
@@ -50,7 +50,7 @@
|
||||
#else
|
||||
static time_t timeconv();
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxint_h,v 1.3 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxint.h.orig Sat Apr 22 16:37:36 2017
|
||||
+++ src/tclx/src/tclxint.h Sat Apr 22 16:38:16 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxint_h,v 1.4 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxint.h
|
||||
--- src/tclx/src/tclxint.h.orig
|
||||
+++ src/tclx/src/tclxint.h
|
||||
@@ -83,16 +83,9 @@
|
||||
struct tm *gmtime ();
|
||||
struct tm *localtime ();
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxlib_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxlib.c.orig Sat Apr 22 16:53:35 2017
|
||||
+++ src/tclx/src/tclxlib.c Sat Apr 22 16:53:45 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxlib_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxlib.c
|
||||
--- src/tclx/src/tclxlib.c.orig
|
||||
+++ src/tclx/src/tclxlib.c
|
||||
@@ -331,7 +331,7 @@ GenerateFileId (interp, filePath, fileId)
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxproc_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxproc.c.orig Sat Apr 22 16:53:52 2017
|
||||
+++ src/tclx/src/tclxproc.c Sat Apr 22 16:54:32 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxproc_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxproc.c
|
||||
--- src/tclx/src/tclxproc.c.orig
|
||||
+++ src/tclx/src/tclxproc.c
|
||||
@@ -91,6 +91,7 @@ Tcl_ExeclCmd (clientData, interp, argc, argv)
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxsig_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxsig.c.orig Sat Apr 22 16:54:44 2017
|
||||
+++ src/tclx/src/tclxsig.c Sat Apr 22 16:55:53 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxsig_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxsig.c
|
||||
--- src/tclx/src/tclxsig.c.orig
|
||||
+++ src/tclx/src/tclxsig.c
|
||||
@@ -441,7 +441,7 @@ EvalTrapCode (interp, signalNum, command)
|
||||
result = TCL_ERROR;
|
||||
else
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxstr_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxstr.c.orig Sat Apr 22 16:56:04 2017
|
||||
+++ src/tclx/src/tclxstr.c Sat Apr 22 16:56:13 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxstr_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxstr.c
|
||||
--- src/tclx/src/tclxstr.c.orig
|
||||
+++ src/tclx/src/tclxstr.c
|
||||
@@ -91,7 +91,7 @@ Tcl_ClengthCmd (clientData, interp, argc, argv)
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_src_tclxunix_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/src/tclxunix.c.orig Sat Apr 22 16:56:23 2017
|
||||
+++ src/tclx/src/tclxunix.c Sat Apr 22 16:56:45 2017
|
||||
$OpenBSD: patch-src_tclx_src_tclxunix_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/src/tclxunix.c
|
||||
--- src/tclx/src/tclxunix.c.orig
|
||||
+++ src/tclx/src/tclxunix.c
|
||||
@@ -203,7 +203,7 @@ Tcl_TimesCmd (clientData, interp, argc, argv)
|
||||
|
||||
times(&tm);
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_tkucbsrc_tkevent_sed,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/tkucbsrc/tkevent.sed.orig Sat Apr 22 16:57:45 2017
|
||||
+++ src/tclx/tkucbsrc/tkevent.sed Sat Apr 22 16:58:03 2017
|
||||
$OpenBSD: patch-src_tclx_tkucbsrc_tkevent_sed,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/tkucbsrc/tkevent.sed
|
||||
--- src/tclx/tkucbsrc/tkevent.sed.orig
|
||||
+++ src/tclx/tkucbsrc/tkevent.sed
|
||||
@@ -1,4 +1,5 @@
|
||||
/#include <signal.h>/a\
|
||||
+#include "tclxtend.h"\
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_ucbsrc_makefile,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/ucbsrc/makefile.orig Sat Apr 22 16:25:39 2017
|
||||
+++ src/tclx/ucbsrc/makefile Sat Apr 22 16:26:35 2017
|
||||
$OpenBSD: patch-src_tclx_ucbsrc_makefile,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/ucbsrc/makefile
|
||||
--- src/tclx/ucbsrc/makefile.orig
|
||||
+++ src/tclx/ucbsrc/makefile
|
||||
@@ -24,8 +24,8 @@ SHELL=/bin/sh
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_ucbsrc_tclbasic_sed,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/ucbsrc/tclbasic.sed.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/tclx/ucbsrc/tclbasic.sed Sat Apr 22 16:25:25 2017
|
||||
$OpenBSD: patch-src_tclx_ucbsrc_tclbasic_sed,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/ucbsrc/tclbasic.sed
|
||||
--- src/tclx/ucbsrc/tclbasic.sed.orig
|
||||
+++ src/tclx/ucbsrc/tclbasic.sed
|
||||
@@ -1,4 +1,5 @@
|
||||
/(\*cmdPtr->proc)/a\
|
||||
+#include "tclxtend.h"\
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tclx_ucbsrc_tclexpr_sed,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tclx/ucbsrc/tclexpr.sed.orig Sat Apr 22 16:19:46 2017
|
||||
+++ src/tclx/ucbsrc/tclexpr.sed Sat Apr 22 16:22:06 2017
|
||||
$OpenBSD: patch-src_tclx_ucbsrc_tclexpr_sed,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tclx/ucbsrc/tclexpr.sed
|
||||
--- src/tclx/ucbsrc/tclexpr.sed.orig
|
||||
+++ src/tclx/ucbsrc/tclexpr.sed
|
||||
@@ -1,2 +1,3 @@
|
||||
/ sprintf(interp->result, "%g", value.doubleValue);/c\
|
||||
+#include "tclxint.h"\
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_makefile,v 1.1.1.1 2008/01/18 03:36:32 deanna Exp $
|
||||
--- src/tk/makefile.orig Fri Nov 30 21:49:55 2007
|
||||
+++ src/tk/makefile Sun Jan 13 10:56:25 2008
|
||||
$OpenBSD: patch-src_tk_makefile,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/makefile
|
||||
--- src/tk/makefile.orig
|
||||
+++ src/tk/makefile
|
||||
@@ -27,14 +27,12 @@
|
||||
# switch unless your library is in a non-standard place.
|
||||
#
|
||||
@ -15,8 +16,8 @@ $OpenBSD: patch-src_tk_makefile,v 1.1.1.1 2008/01/18 03:36:32 deanna Exp $
|
||||
TCL_DIR = ../tcl
|
||||
-XINCLUDE = /usr/include/X11
|
||||
-XLIB = -L/usr/X11R6/lib -lX11 -lXpm
|
||||
+XINCLUDE = %%X11BASE%%/include
|
||||
+XLIB = -L%%X11BASE%%/lib -lX11 -lXpm
|
||||
+XINCLUDE = ${X11BASE}/include
|
||||
+XLIB = -L${X11BASE}/lib -lX11 -lXpm
|
||||
|
||||
LIBS = libtk.a $(TCL_DIR)/libtcl.a
|
||||
LINKS = $(LIBS)
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkbitmap_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkbitmap.c.orig Sat Apr 22 15:25:52 2017
|
||||
+++ src/tk/tkbitmap.c Sat Apr 22 15:25:58 2017
|
||||
$OpenBSD: patch-src_tk_tkbitmap_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkbitmap.c
|
||||
--- src/tk/tkbitmap.c.orig
|
||||
+++ src/tk/tkbitmap.c
|
||||
@@ -434,7 +434,7 @@ Tk_GetBitmapFromData(interp, tkwin, source, width, hei
|
||||
Tk_Uid name = NULL; /* Initialization need only to prevent
|
||||
* compiler warning. */
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkbutton_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkbutton.c.orig Sat Apr 22 16:13:26 2017
|
||||
+++ src/tk/tkbutton.c Sat Apr 22 16:13:36 2017
|
||||
$OpenBSD: patch-src_tk_tkbutton_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkbutton.c
|
||||
--- src/tk/tkbutton.c.orig
|
||||
+++ src/tk/tkbutton.c
|
||||
@@ -383,7 +383,7 @@ Tk_ButtonCmd(clientData, interp, argc, argv)
|
||||
break;
|
||||
default:
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkcmds_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkcmds.c.orig Sat Apr 22 15:26:18 2017
|
||||
+++ src/tk/tkcmds.c Sat Apr 22 15:40:24 2017
|
||||
$OpenBSD: patch-src_tk_tkcmds_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkcmds.c
|
||||
--- src/tk/tkcmds.c.orig
|
||||
+++ src/tk/tkcmds.c
|
||||
@@ -545,7 +545,7 @@ Tk_WinfoCmd(clientData, interp, argc, argv)
|
||||
argv[0], " atom name\"", (char *) NULL);
|
||||
return TCL_ERROR;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkconfig_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkconfig.c.orig Sat Apr 22 15:40:34 2017
|
||||
+++ src/tk/tkconfig.c Sat Apr 22 15:40:50 2017
|
||||
$OpenBSD: patch-src_tk_tkconfig_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkconfig.c
|
||||
--- src/tk/tkconfig.c.orig
|
||||
+++ src/tk/tkconfig.c
|
||||
@@ -803,7 +803,7 @@ FormatConfigInfo(tkwin, specPtr, widgRec)
|
||||
argv[4] = buffer;
|
||||
break;
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkcursor_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkcursor.c.orig Sat Apr 22 15:41:07 2017
|
||||
+++ src/tk/tkcursor.c Sat Apr 22 15:41:25 2017
|
||||
$OpenBSD: patch-src_tk_tkcursor_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkcursor.c
|
||||
--- src/tk/tkcursor.c.orig
|
||||
+++ src/tk/tkcursor.c
|
||||
@@ -560,7 +560,7 @@ Tk_NameOfCursor(cursor)
|
||||
|
||||
if (!initialized) {
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkerror_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkerror.c.orig Sat Apr 22 15:41:36 2017
|
||||
+++ src/tk/tkerror.c Sat Apr 22 15:41:40 2017
|
||||
$OpenBSD: patch-src_tk_tkerror_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkerror.c
|
||||
--- src/tk/tkerror.c.orig
|
||||
+++ src/tk/tkerror.c
|
||||
@@ -23,7 +23,7 @@ static char rcsid[] = "$Header: /user6/ouster/wish/RCS
|
||||
#include "tkconfig.h"
|
||||
#include "tkint.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkevent_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkevent.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/tk/tkevent.c Sat Apr 22 16:13:06 2017
|
||||
$OpenBSD: patch-src_tk_tkevent_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkevent.c
|
||||
--- src/tk/tkevent.c.orig
|
||||
+++ src/tk/tkevent.c
|
||||
@@ -21,6 +21,7 @@ static char rcsid[] = "$Header: /user6/ouster/wish/RCS
|
||||
|
||||
#include "tkconfig.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkfont_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkfont.c.orig Mon Feb 4 03:52:26 2008
|
||||
+++ src/tk/tkfont.c Sat Apr 22 16:12:50 2017
|
||||
$OpenBSD: patch-src_tk_tkfont_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkfont.c
|
||||
--- src/tk/tkfont.c.orig
|
||||
+++ src/tk/tkfont.c
|
||||
@@ -228,7 +228,7 @@ Tk_NameOfFontStruct(fontStructPtr)
|
||||
|
||||
if (!initialized) {
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkoption_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkoption.c.orig Sat Apr 22 16:04:02 2017
|
||||
+++ src/tk/tkoption.c Sat Apr 22 16:04:36 2017
|
||||
$OpenBSD: patch-src_tk_tkoption_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkoption.c
|
||||
--- src/tk/tkoption.c.orig
|
||||
+++ src/tk/tkoption.c
|
||||
@@ -21,6 +21,7 @@ static char rcsid[] = "$Header: /user6/ouster/wish/RCS
|
||||
|
||||
#include "tkconfig.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkpack_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkpack.c.orig Sat Apr 22 16:04:46 2017
|
||||
+++ src/tk/tkpack.c Sat Apr 22 16:04:51 2017
|
||||
$OpenBSD: patch-src_tk_tkpack_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkpack.c
|
||||
--- src/tk/tkpack.c.orig
|
||||
+++ src/tk/tkpack.c
|
||||
@@ -95,7 +95,7 @@ static Tcl_HashTable packerHashTable;
|
||||
* Have statics in this module been initialized?
|
||||
*/
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkpixmap_c,v 1.3 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkpixmap.c.orig Sat Apr 22 16:04:56 2017
|
||||
+++ src/tk/tkpixmap.c Sat Apr 22 16:05:09 2017
|
||||
$OpenBSD: patch-src_tk_tkpixmap_c,v 1.4 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkpixmap.c
|
||||
--- src/tk/tkpixmap.c.orig
|
||||
+++ src/tk/tkpixmap.c
|
||||
@@ -516,7 +516,7 @@ Tk_GetPixmapFromData(interp, tkwin, source, width, hei
|
||||
Tk_Uid name = NULL; /* Initialization need only to prevent
|
||||
* compiler warning. */
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkrawtcp_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkrawtcp.c.orig Sat Apr 22 16:09:51 2017
|
||||
+++ src/tk/tkrawtcp.c Sat Apr 22 16:10:08 2017
|
||||
$OpenBSD: patch-src_tk_tkrawtcp_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkrawtcp.c
|
||||
--- src/tk/tkrawtcp.c.orig
|
||||
+++ src/tk/tkrawtcp.c
|
||||
@@ -43,6 +43,7 @@ static char rcsid[] = "...";
|
||||
#include <sys/un.h>
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkselect_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkselect.c.orig Sat Apr 22 16:05:15 2017
|
||||
+++ src/tk/tkselect.c Sat Apr 22 16:05:39 2017
|
||||
$OpenBSD: patch-src_tk_tkselect_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkselect.c
|
||||
--- src/tk/tkselect.c.orig
|
||||
+++ src/tk/tkselect.c
|
||||
@@ -1132,7 +1132,7 @@ SelCvtFromX(propPtr, numValues, type, tkwin)
|
||||
if (type == XA_ATOM) {
|
||||
strcpy(result+curSize, atomName);
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tksend_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tksend.c.orig Sat Apr 22 16:05:46 2017
|
||||
+++ src/tk/tksend.c Sat Apr 22 16:06:51 2017
|
||||
$OpenBSD: patch-src_tk_tksend_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tksend.c
|
||||
--- src/tk/tksend.c.orig
|
||||
+++ src/tk/tksend.c
|
||||
@@ -237,7 +237,7 @@ Tk_RegisterInterp(interp, name, tkwin)
|
||||
}
|
||||
(void) LookupName(winPtr->dispPtr, name, 1);
|
||||
|
@ -1,8 +1,9 @@
|
||||
$OpenBSD: patch-src_tk_tkshare_c,v 1.1 2017/03/18 15:55:56 tb Exp $
|
||||
$OpenBSD: patch-src_tk_tkshare_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
|
||||
fix backwards memcpy
|
||||
--- src/tk/tkshare.c.orig Sat Mar 18 06:51:20 2017
|
||||
+++ src/tk/tkshare.c Sat Mar 18 06:51:40 2017
|
||||
Index: src/tk/tkshare.c
|
||||
--- src/tk/tkshare.c.orig
|
||||
+++ src/tk/tkshare.c
|
||||
@@ -186,7 +186,7 @@ Tk_UnshareEvents(tkwin, groupId)
|
||||
continue;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkwindow_c,v 1.1 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkwindow.c.orig Sat Apr 22 16:06:58 2017
|
||||
+++ src/tk/tkwindow.c Sat Apr 22 16:07:03 2017
|
||||
$OpenBSD: patch-src_tk_tkwindow_c,v 1.2 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkwindow.c
|
||||
--- src/tk/tkwindow.c.orig
|
||||
+++ src/tk/tkwindow.c
|
||||
@@ -55,7 +55,7 @@ TkDisplay *tkDisplayList = NULL;
|
||||
* Have statics in this module been initialized?
|
||||
*/
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-src_tk_tkwm_c,v 1.3 2017/04/22 15:02:55 espie Exp $
|
||||
--- src/tk/tkwm.c.orig Sat Apr 22 16:07:15 2017
|
||||
+++ src/tk/tkwm.c Sat Apr 22 16:07:25 2017
|
||||
$OpenBSD: patch-src_tk_tkwm_c,v 1.4 2017/05/09 13:01:42 espie Exp $
|
||||
Index: src/tk/tkwm.c
|
||||
--- src/tk/tkwm.c.orig
|
||||
+++ src/tk/tkwm.c
|
||||
@@ -1246,7 +1246,7 @@ Tk_SetGrid(tkwin, reqWidth, reqHeight, widthInc, heigh
|
||||
&& (wmPtr->widthInc != widthInc)
|
||||
&& (wmPtr->heightInc != heightInc)
|
||||
|
Loading…
Reference in New Issue
Block a user