FreeBSD Bugzilla – Attachment 26545 Details for
Bug 45316
new-port: game, train control simulation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
tdirport
tdirport (text/plain), 5.19 KB, created by
Guido Falsi
on 2002-11-15 17:10:01 UTC
(
hide
)
Description:
tdirport
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2002-11-15 17:10:01 UTC
Size:
5.19 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># traindirector ># traindirector/Makefile ># traindirector/pkg-comment ># traindirector/pkg-descr ># traindirector/files ># traindirector/files/patch-aa ># traindirector/files/patch-ab ># traindirector/files/patch-ac ># traindirector/pkg-plist ># traindirector/distinfo ># >echo c - traindirector >mkdir -p traindirector > /dev/null 2>&1 >echo x - traindirector/Makefile >sed 's/^X//' >traindirector/Makefile << 'END-of-traindirector/Makefile' >X# New ports collection makefile for: oneko >X# Date created: 15/11/2002 >X# Whom: Guido Falsi <mad@madpilot.net> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= tdir >XPORTVERSION= 1.17f >XCATEGORIES= games >XMASTER_SITES= http://www.backerstreet.com/traindir/ >XDISTNAME= tdir117s >XEXTRACT_SUFX= .zip >X >XMAINTAINER= mad@madpilot.net >X >XUSE_ZIP= yes >XUSE_XLIB= yes >XUSE_X_PREFIX= yes >XUSE_GLIB= yes >XUSE_GTK= yes >X >XNO_WRKSUBDIR= yes >X >Xpost-patch: >X @ cd ${WRKSRC} ; ${LN} MAKEFILE Makefile ; \ >X ${MV} Gdialog.c gdialog.c ; ${MV} Gtkopen.c gtkopen.c ; \ >X ${MV} Gtkopen.h gtkopen.h ; ${MV} Html.c html.c ; \ >X ${MV} Html.h html.h >X >X.include <bsd.port.mk> >END-of-traindirector/Makefile >echo x - traindirector/pkg-comment >sed 's/^X//' >traindirector/pkg-comment << 'END-of-traindirector/pkg-comment' >XTrain controller simulation >END-of-traindirector/pkg-comment >echo x - traindirector/pkg-descr >sed 's/^X//' >traindirector/pkg-descr << 'END-of-traindirector/pkg-descr' >XTrain Director is a clone of the popular Train Dispatcher simulation >Xsoftware. Train Director is available for Windows 95 and Linux. >XWith Train Director you can simulate the work of the Centralized >XTraffic Control by controlling the movement of trains by throwing >Xswitches and clearing signals. You can also create your own territories >Xwith the included track layout editor. >X >XWWW: http://www.backerstreet.com/traindir/trdireng.htm >X >X-- >XGuido Falsi <mad@madpilot.net> >END-of-traindirector/pkg-descr >echo c - traindirector/files >mkdir -p traindirector/files > /dev/null 2>&1 >echo x - traindirector/files/patch-aa >sed 's/^X//' >traindirector/files/patch-aa << 'END-of-traindirector/files/patch-aa' >X*** MAKEFILE.orig Sat May 20 09:37:10 2000 >X--- MAKEFILE Fri Nov 15 17:35:13 2002 >X*************** >X*** 1,20 **** >X! OBJS = button.o clist.o field.o gtkask.o gtkmain.o loadsave.o \ >X! menu.o run.o table.o track.o trsim.o >X >X CC = gcc >X >X! CFLAGS = >X >X DEBUG = -g >X >X all: trsim >X >X trsim: $(OBJS) >X! $(CC) -o $@ $(OBJS) `gtk-config --libs` -lcurses >X >X .c.o: >X! $(CC) `gtk-config --cflags` $(CFLAGS) $(DEBUG) -c $< >X >X >X clean: >X rm -f *.o trsim core >X--- 1,22 ---- >X! OBJS = button.o clist.o field.o gtkask.o gtkmain.o gtkopen.o gdialog.o \ >X! loadsave.o menu.o run.o table.o track.o trsim.o html.o tgraph.o >X >X CC = gcc >X >X! CFLAGS += >X >X DEBUG = -g >X >X all: trsim >X >X trsim: $(OBJS) >X! $(CC) -o $@ $(OBJS) `gtk12-config --libs` -lcurses >X >X .c.o: >X! $(CC) `gtk12-config --cflags` $(CFLAGS) $(DEBUG) -c $< >X >X+ install: trsim >X+ $(INSTALL) -o bin -g bin -m 555 trsim $(PREFIX)/bin >X >X clean: >X rm -f *.o trsim core >END-of-traindirector/files/patch-aa >echo x - traindirector/files/patch-ab >sed 's/^X//' >traindirector/files/patch-ab << 'END-of-traindirector/files/patch-ab' >X*** gtkmain.c.orig Sat Jul 20 16:44:24 2002 >X--- gtkmain.c Fri Nov 15 16:51:15 2002 >X*************** >X*** 143,149 **** >X >X #ifdef unix >X if(getenv("TDHOME")) >X! chdir(getenv("TDHOME")) >X #endif >X screen_width = gdk_screen_width(); >X >X--- 143,149 ---- >X >X #ifdef unix >X if(getenv("TDHOME")) >X! chdir(getenv("TDHOME")); >X #endif >X screen_width = gdk_screen_width(); >X >END-of-traindirector/files/patch-ab >echo x - traindirector/files/patch-ac >sed 's/^X//' >traindirector/files/patch-ac << 'END-of-traindirector/files/patch-ac' >X*** run.c.orig Sat Jul 20 18:10:32 2002 >X--- run.c Fri Nov 15 17:01:17 2002 >X*************** >X*** 23,28 **** >X--- 23,33 ---- >X #include <malloc.h> >X #include "ask.h" >X #include "trsim.h" >X+ >X+ #if (defined(__unix__) || defined(unix)) && !defined(USG) >X+ #include <sys/param.h> >X+ #endif >X+ >X >X int assign_ok = 1; >X >X*************** >X*** 56,62 **** >X--- 61,71 ---- >X { >X if(i >= v->size) { >X printf("Bad index %d: only %d elements in vector!\n", i, v->size); >X+ #if (defined(BSD) && (BSD >= 199103)) >X+ abort(); >X+ #else >X abort(0); >X+ #endif >X } >X return v->ptr[i]; >X } >X*************** >X*** 65,71 **** >X--- 74,84 ---- >X { >X if(i >= v->size) { >X printf("Bad index %d: only %d elements in vector!\n", i, v->size); >X+ #if (defined(BSD) && (BSD >= 199103)) >X+ abort(); >X+ #else >X abort(0); >X+ #endif >X } >X return v->flags[i]; >X } >END-of-traindirector/files/patch-ac >echo x - traindirector/pkg-plist >sed 's/^X//' >traindirector/pkg-plist << 'END-of-traindirector/pkg-plist' >Xbin/trsim >END-of-traindirector/pkg-plist >echo x - traindirector/distinfo >sed 's/^X//' >traindirector/distinfo << 'END-of-traindirector/distinfo' >XMD5 (tdir117s.zip) = a395243f384798de3e1a0bd6af40a3c5 >END-of-traindirector/distinfo >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45316
: 26545