diff options
author | taoka <taoka@FreeBSD.org> | 1999-03-30 22:22:44 +0800 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 1999-03-30 22:22:44 +0800 |
commit | 20c97b0cec161803880c7407a2459014a79a50b6 (patch) | |
tree | d7529db8690ceb0d655e29f070acbf45ff98e3ad /games/CaribbeanStud/files | |
parent | 1746d8253adbc5abad1f6bf1e3aa268ebd55b716 (diff) | |
download | freebsd-ports-gnome-20c97b0cec161803880c7407a2459014a79a50b6.tar.gz freebsd-ports-gnome-20c97b0cec161803880c7407a2459014a79a50b6.tar.zst freebsd-ports-gnome-20c97b0cec161803880c7407a2459014a79a50b6.zip |
Caribbean Stud gambling game for X Window System
PR: ports/7409
Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Diffstat (limited to 'games/CaribbeanStud/files')
-rw-r--r-- | games/CaribbeanStud/files/patch-aa | 51 | ||||
-rw-r--r-- | games/CaribbeanStud/files/patch-ab | 11 | ||||
-rw-r--r-- | games/CaribbeanStud/files/patch-ac | 15 |
3 files changed, 77 insertions, 0 deletions
diff --git a/games/CaribbeanStud/files/patch-aa b/games/CaribbeanStud/files/patch-aa new file mode 100644 index 000000000000..600d9248a85e --- /dev/null +++ b/games/CaribbeanStud/files/patch-aa @@ -0,0 +1,51 @@ +--- Xmakefile Fri Jan 31 22:47:59 1997 ++++ /home/andy/tmp/wrk/Xmakefile Sat Jul 4 19:07:47 1998 +@@ -77,17 +77,27 @@ + #UILFLAGS=-I/usr/include/uil -I/usr/include/Motif1.2/uil + ### + ++## FreeBSD ++## ++XINCLUDES=-I$(X11BASE)/include ++UILFLAGS= ++CFLAGS+= -fhandle-exceptions -fno-for-scope ++CXXFLAGS+= $(XINCLUDES) ++LDFLAGS+=-L$(X11BASE)/lib ++LDLIBS= ++MOTIFLIBS=-lXm -lXmu -lXt -lX11 ++ + #LDLIBS = -lPW + # Program configuration + # --------------------- + +-LDFLAGS = ${XLIBS} $(MRMLIBS) +-MOTIFLIBS = -lXm -lXmu -lXt -lX11 ++#LDFLAGS = ${XLIBS} $(MRMLIBS) ++#MOTIFLIBS = -lXm -lXmu -lXt -lX11 + +-CFLAGS= -g -I. ${XINCLUDES} $(UILFLAGS) +-CCFLAGS=${CFLAGS} ++#CFLAGS+= ${XINCLUDES} $(UILFLAGS) ++#CCFLAGS=${CFLAGS} + +-UIL=uil ++#UIL=uil + + #MOTIFLIBS = -lXm -lXt -lX11 -lPW + +@@ -122,7 +132,7 @@ + + CaribbeanStud: $(OBJS) + rm -f $@ +- $(CCC) $(CCFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) $(MOTIFLIBS) ++ $(CXX) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) $(MOTIFLIBS) + + depend:: $(SRCS) $(HEADERS) + makedepend $(CFLAGS) $(CPPFLAGS) -- $(ALLDEFINES) -- $(SRCS) +@@ -134,5 +144,5 @@ + + .SUFFIXES: .cpp $(SUFFIXES) + .cpp.o: +- $(COMPILE.cc) $(OUTPUT_OPTION) $< ++ $(CXX) -c $(CXXFLAGS) $(OUTPUT_OPTION) $< + diff --git a/games/CaribbeanStud/files/patch-ab b/games/CaribbeanStud/files/patch-ab new file mode 100644 index 000000000000..2a4caf05266e --- /dev/null +++ b/games/CaribbeanStud/files/patch-ab @@ -0,0 +1,11 @@ +--- Hands.cpp Fri Jan 31 22:47:58 1997 ++++ /home/andy/tmp/wrk/Hands.cpp Sat Jul 4 18:54:30 1998 +@@ -46,7 +46,7 @@ + _next = 0; + } + +-Hand Hands::HandValue() const ++enum Hands::Hand Hands::HandValue() const + { + return _hand; + } diff --git a/games/CaribbeanStud/files/patch-ac b/games/CaribbeanStud/files/patch-ac new file mode 100644 index 000000000000..3f9db57ca58a --- /dev/null +++ b/games/CaribbeanStud/files/patch-ac @@ -0,0 +1,15 @@ +--- Seat.cpp Fri Jan 31 22:47:58 1997 ++++ /home/andy/tmp/wrk/Seat.cpp Sat Jul 4 19:48:21 1998 +@@ -151,10 +151,10 @@ + gcv.font = XLoadFont(_dpy, "10x20"); + gcflags = GCForeground | GCBackground | GCGraphicsExposures; + _redgc = XCreateGC(_dpy, RootWindow(_dpy, _screen), gcflags, &gcv); ++ // allocate drawing area background color, set areas ++ XAllocNamedColor(_dpy, cmap, "Forest Green", &color, &color); + + } +- // allocate drawing area background color, set areas +- XAllocNamedColor(_dpy, cmap, "Forest Green", &color, &color); + i = 0; + XtSetArg(args[i], XmNbackground, color.pixel); i++; + XtSetArg(args[i], XmNforeground, whitepixel); i++; |