diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-09 08:01:00 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-09 08:01:00 +0000 |
commit | 86fdc9cadaa5fbf26dfc0f4cd341319b915f4c5b (patch) | |
tree | 8dcccf1f564ad958e47e46c6c33d8086eec66952 /games | |
parent | Update to dsniff 1.2 which now builds out of the box of FreeBSD. How's (diff) |
Fix for new compiler and respect CC/CXX/CXXFLAGS/CFLAGS
Notes
Notes:
svn path=/head/; revision=24582
Diffstat (limited to 'games')
-rw-r--r-- | games/blackjack/files/patch-aa | 22 | ||||
-rw-r--r-- | games/blackjack/files/patch-ab | 15 | ||||
-rw-r--r-- | games/blackjack/files/patch-ac | 29 |
3 files changed, 57 insertions, 9 deletions
diff --git a/games/blackjack/files/patch-aa b/games/blackjack/files/patch-aa index 17f9d6df8caa..64252af6cd78 100644 --- a/games/blackjack/files/patch-aa +++ b/games/blackjack/files/patch-aa @@ -1,11 +1,14 @@ ---- Makefile.orig Wed Feb 11 21:42:00 1998 -+++ Makefile Sun Sep 27 18:38:34 1998 -@@ -2,8 +2,11 @@ - CC=gcc - CXX=g++ - CFLAGS= +--- Makefile.orig Wed Feb 11 19:42:00 1998 ++++ Makefile Sat Jan 8 23:59:30 2000 +@@ -1,9 +1,11 @@ + +-CC=gcc +-CXX=g++ +-CFLAGS= -INCLUDES=-I$(QTDIR)/include -LDFLAGS=-L$(QTDIR)/lib -lqt ++CC?=gcc ++CXX?=g++ +INCLUDES=-I$(X11BASE)/include/X11/qt +LDFLAGS=-L$(X11BASE)/lib -lqt +.if $(PORTOBJFORMAT) == "elf" @@ -14,7 +17,7 @@ VERSION=1.1 # For systems that don't have install, use this -@@ -25,7 +28,7 @@ +@@ -25,7 +27,7 @@ blackjack/*.cpp \ blackjack/*.bm @@ -23,7 +26,7 @@ INSTALL_BIN_FLAGS=-s INSTALL_ROOT=/usr/local -@@ -39,12 +42,14 @@ +@@ -39,12 +41,14 @@ user_input.o dollar_scroll_bar.o bet_option.o table_option.o \ insurance_window.o $(METAOBJS) @@ -33,7 +36,8 @@ .SUFFIXES: .cpp .cpp.o: - $(CXX) -c $(CFLAGS) $(INCLUDES) $< +- $(CXX) -c $(CFLAGS) $(INCLUDES) $< ++ $(CXX) -c $(CXXFLAGS) $(INCLUDES) $< + +all: blackjack diff --git a/games/blackjack/files/patch-ab b/games/blackjack/files/patch-ab new file mode 100644 index 000000000000..9180b300e0b7 --- /dev/null +++ b/games/blackjack/files/patch-ab @@ -0,0 +1,15 @@ +--- bet_option.h.orig Sat Jan 8 23:58:22 2000 ++++ bet_option.h Sat Jan 8 23:53:45 2000 +@@ -63,9 +63,9 @@ + void setInc(float inc); + + private slots: +- minBetPressed(int id); +- maxBetPressed(int id); +- betIncPressed(int id); ++ int minBetPressed(int id); ++ int maxBetPressed(int id); ++ int betIncPressed(int id); + }; + + #endif diff --git a/games/blackjack/files/patch-ac b/games/blackjack/files/patch-ac new file mode 100644 index 000000000000..419ffc707ef8 --- /dev/null +++ b/games/blackjack/files/patch-ac @@ -0,0 +1,29 @@ +--- bet_option.cpp.orig Sat Jan 8 23:58:15 2000 ++++ bet_option.cpp Sat Jan 8 23:56:09 2000 +@@ -221,7 +221,7 @@ + + //***************************************************************************** + +-BetOption:: ++int BetOption:: + minBetPressed(int id) { + int i; + QButton *qb; +@@ -256,7 +256,7 @@ + + //***************************************************************************** + +-BetOption:: ++int BetOption:: + maxBetPressed(int id) { + QButton *rb; + +@@ -271,7 +271,7 @@ + + //***************************************************************************** + +-BetOption:: ++int BetOption:: + betIncPressed(int id) { + _bet_inc = *_bet_inc_list.at(id); + } |