summaryrefslogtreecommitdiff
path: root/games/blackjack/files
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-04-19 02:30:02 +0000
committerWill Andrews <will@FreeBSD.org>2002-04-19 02:30:02 +0000
commite05ed36727813c752300995435b0dc1aee51ecc3 (patch)
treed926f0f9b039ccf866d06988fbb956f5373cb5b9 /games/blackjack/files
parentAdd support for localization. (diff)
Say goodbye to Qt 1.x and all of its dependents. The one port I found
which probably isn't supposed to be removed is misc/instant-workstation, which had a dependency on audio/xamp (being removed), so I removed that dependency and bumped PORTREVISION. All other ports are real dependents upon Qt 1.x, including KDE 1.x stuff. Code in bsd.kde.mk supporting these ports is also removed or adjusted. Also, some adjustments made to accomodate Qt3/KDE3 ports, which will be committed Real Soon Now (TM), pending repo-copies. This commit made in impending view of Qt3/KDE3 entering ports tree.
Notes
Notes: svn path=/head/; revision=57872
Diffstat (limited to 'games/blackjack/files')
-rw-r--r--games/blackjack/files/patch-aa51
-rw-r--r--games/blackjack/files/patch-ab15
-rw-r--r--games/blackjack/files/patch-ac29
-rw-r--r--games/blackjack/files/patch-ad85
4 files changed, 0 insertions, 180 deletions
diff --git a/games/blackjack/files/patch-aa b/games/blackjack/files/patch-aa
deleted file mode 100644
index 17e62f4d87ee..000000000000
--- a/games/blackjack/files/patch-aa
+++ /dev/null
@@ -1,51 +0,0 @@
---- Makefile.orig Thu Jun 3 11:28:44 1999
-+++ Makefile Sat Jun 3 01:28:49 2000
-@@ -1,9 +1,8 @@
-
--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
- VERSION=1.2
-
- # For systems that don't have install, use this
-@@ -28,7 +27,7 @@
- INSTALL=install
- INSTALL_BIN_FLAGS=-s
-
--INSTALL_ROOT=/usr/local
-+INSTALL_ROOT=${PREFIX}
- INSTALL_BIN=$(INSTALL_ROOT)/bin
- INSTALL_MAN=$(INSTALL_ROOT)/man
-
-@@ -39,19 +38,21 @@
- user_input.o dollar_scroll_bar.o bet_option.o table_option.o \
- insurance_window.o $(METAOBJS)
-
--MOC=$(QTDIR)/bin/moc
-+MOC=$(X11BASE)/bin/moc
-
- .SUFFIXES: .cpp
-
- .cpp.o:
-- $(CXX) -c $(CFLAGS) $(INCLUDES) $<
-+ $(CXX) -c $(CXXFLAGS) $(INCLUDES) $<
-+
-+all: blackjack
-
- blackjack: main.o $(OBJS)
- $(CXX) -o $@ $(LDFLAGS) main.o $(OBJS)
-
- install:
-- $(INSTALL) $(INSTALL_BIN_FLAGS) blackjack $(INSTALL_BIN)
-- $(INSTALL) blackjack.1 $(INSTALL_MAN)/man1
-+ ${BSD_INSTALL_PROGRAM} blackjack $(INSTALL_BIN)
-+ ${BSD_INSTALL_MAN} blackjack.1 $(INSTALL_MAN)/man1
-
- mblackjack.cpp: blackjack.h
- $(MOC) -o mblackjack.cpp blackjack.h
diff --git a/games/blackjack/files/patch-ab b/games/blackjack/files/patch-ab
deleted file mode 100644
index 9180b300e0b7..000000000000
--- a/games/blackjack/files/patch-ab
+++ /dev/null
@@ -1,15 +0,0 @@
---- 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
deleted file mode 100644
index 419ffc707ef8..000000000000
--- a/games/blackjack/files/patch-ac
+++ /dev/null
@@ -1,29 +0,0 @@
---- 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);
- }
diff --git a/games/blackjack/files/patch-ad b/games/blackjack/files/patch-ad
deleted file mode 100644
index 924c19d9df1d..000000000000
--- a/games/blackjack/files/patch-ad
+++ /dev/null
@@ -1,85 +0,0 @@
---- card.cpp.orig Mon Dec 6 00:45:34 1999
-+++ card.cpp Sat Jun 3 02:47:49 2000
-@@ -201,8 +201,8 @@
- QBitmap *bitmap_p = new QBitmap(CARD_W, CARD_H, TRUE);
- QBitmap *back_bitmap_p = new QBitmap(logo_width, logo_height, logo_bits,
- TRUE);
-- QBrush fill(Qt::white);
-- QBrush pattern(Qt::CustomPattern);
-+ QBrush fill(white);
-+ QBrush pattern(CustomPattern);
- QPainter painter;
-
- if ((painter.begin(bitmap_p)) == FALSE) {
-@@ -210,7 +210,7 @@
- delete (bitmap_p);
- bitmap_p = NULL;
- } else {
-- QBrush fill_ones(Qt::color1);// make a mask so we don't paint the corners
-+ QBrush fill_ones(color1); // make a mask so we don't paint the corners
- painter.setBrush(fill_ones); // make pixmap mask for card
- painter.drawRoundRect(0, 0, CARD_W, CARD_H, x_round, y_round);
- painter.end();
-@@ -221,7 +221,7 @@
- delete (pixmap_p);
- pixmap_p = NULL;
- } else {
-- painter.setPen(Qt::black);
-+ painter.setPen(black);
-
- if (bitmap_p) // if we made a mask bitmap
- pixmap_p->setMask(*bitmap_p); // set the mask for the pixmap
-@@ -229,7 +229,7 @@
- painter.setBrush(fill);
- painter.drawRoundRect(0, 0, CARD_W, CARD_H, x_round, y_round);
- pattern.setPixmap(*back_bitmap_p);
-- pattern.setColor(Qt::red);
-+ pattern.setColor(red);
- painter.setBrush(pattern); // set up some painter options
- painter.drawRoundRect(0, 0, CARD_W, CARD_H, x_round, y_round);
- painter.end();
-@@ -255,21 +255,21 @@
- QColor color;
- QPixmap *pixmap_p = new QPixmap(CARD_W, CARD_H);
- QBitmap *bitmap_p = new QBitmap(CARD_W, CARD_H, TRUE);
-- QBrush fill(Qt::white); // make two brushes, fill and no_fill
-- QBrush no_fill(Qt::NoBrush);
-+ QBrush fill(white); // make two brushes, fill and no_fill
-+ QBrush no_fill(NoBrush);
- QPainter painter;
-
- if (_suit == HEART || _suit == DIAMOND)
-- color = Qt::red;
-+ color = red;
- else
-- color = Qt::black;
-+ color = black;
-
- if ((painter.begin(bitmap_p)) == FALSE) {
- cerr << "card::makePixmap(): Can't open bitmap paint device\n";
- delete (bitmap_p);
- bitmap_p = NULL;
- } else {
-- QBrush fill_ones(Qt::color1);// make a mask so we don't paint the corners
-+ QBrush fill_ones(color1); // make a mask so we don't paint the corners
- painter.setBrush(fill_ones); // make pixmap mask for card
- painter.drawRoundRect(0, 0, CARD_W, CARD_H, x_round, y_round);
- painter.end();
-@@ -281,7 +281,7 @@
- pixmap_p = NULL;
- } else {
- painter.setBrush(fill); // set up some painter options
-- painter.setPen(Qt::black);
-+ painter.setPen(black);
-
- if (bitmap_p) // if we made a mask bitmap
- pixmap_p->setMask(*bitmap_p); // set the mask for the pixmap
-@@ -295,7 +295,7 @@
- painter.setWorldXForm(FALSE); // disable transformation for now
-
- painter.setPen(color); // draw rank and suit in corners
-- painter.setBackgroundColor(Qt::white);
-+ painter.setBackgroundColor(white);
- painter.drawPixmap(4, 6, *_rank_bitmaps[_rank]);
- painter.drawPixmap(4, 23, *_small_suit_bitmaps[_suit]);
- painter.setWorldXForm(TRUE); // now draw flipped rank and suit