From 0e6c7286db4e9337fb08dbe8c741f688421ebac8 Mon Sep 17 00:00:00 2001 From: kris Date: Fri, 24 May 2002 11:08:24 +0000 Subject: Add back the blackjack, pp and xlines ports, which were prematurely deleted by will. --- games/pp/files/patch-aa | 284 ++++++++++++++++++++++++++++++++++++++++++++++++ games/pp/files/patch-ab | 11 ++ games/pp/files/patch-ac | 11 ++ games/pp/files/pp.sh | 2 + 4 files changed, 308 insertions(+) create mode 100644 games/pp/files/patch-aa create mode 100644 games/pp/files/patch-ab create mode 100644 games/pp/files/patch-ac create mode 100644 games/pp/files/pp.sh (limited to 'games/pp/files') diff --git a/games/pp/files/patch-aa b/games/pp/files/patch-aa new file mode 100644 index 000000000000..d67e224323b9 --- /dev/null +++ b/games/pp/files/patch-aa @@ -0,0 +1,284 @@ +--- Makefile.orig Sat Apr 5 09:08:26 1997 ++++ Makefile Fri May 24 03:59:44 2002 +@@ -1,12 +1,15 @@ + ####### This section was automatically generated from + +-INCDIR = $(QTDIR)/include +-CFLAGS = -O2 -fno-strength-reduce -Wall -W ++INCDIR = ${X11BASE}/include/X11/qt1 ++CFLAGS += -fno-strength-reduce -Wall -W + LIBCFLAGS = -fPIC + YACCCFLAGS = -Wno-unused -Wno-parentheses +-LFLAGS = -L$(QTDIR)/lib -lqt +-CC = gcc +-MOC = moc ++LFLAGS = -L${X11BASE}/lib -lqt1 ++.if ${PORTOBJFORMAT} == "elf" ++LFLAGS+= -Wl,-rpath,${X11BASE}/lib ++.endif ++CC ?= gcc ++MOC = ${X11BASE]/bin/moc1 + SHELL = /bin/sh + + ####### End of automatically generated section +@@ -30,14 +33,14 @@ + .SUFFIXES: .cpp + + .cpp.o: +- $(CC) -c $(CFLAGS) -I$(INCDIR) $< ++ $(CXX) -c $(CXXFLAGS) -I$(INCDIR) $< + + ####### Build rules + + all: $(TARGET) + + $(TARGET): $(OBJECTS) $(OBJMETA) +- $(CC) $(OBJECTS) $(OBJMETA) -o $(TARGET) $(LFLAGS) -lm ++ $(CXX) $(OBJECTS) $(OBJMETA) -o $(TARGET) $(LFLAGS) -lm + + depend: + @makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null +@@ -66,243 +69,3 @@ + m_main.cpp: main.h + $(MOC) -o $@ main.h + +-# DO NOT DELETE THIS LINE -- make depend depends on it. +- +-pic2.o: pic2.h /usr/X11R6/lib/qt/include/qapp.h +-pic2.o: /usr/X11R6/lib/qt/include/qwidget.h +-pic2.o: /usr/X11R6/lib/qt/include/qwindefs.h +-pic2.o: /usr/X11R6/lib/qt/include/qobjdefs.h +-pic2.o: /usr/X11R6/lib/qt/include/qglobal.h +-pic2.o: /usr/X11R6/lib/qt/include/qobject.h +-pic2.o: /usr/X11R6/lib/qt/include/qstring.h +-pic2.o: /usr/X11R6/lib/qt/include/qarray.h +-pic2.o: /usr/X11R6/lib/qt/include/qgarray.h +-pic2.o: /usr/X11R6/lib/qt/include/qshared.h +-pic2.o: /usr/X11R6/lib/qt/include/qgeneric.h /usr/include/string.h +-pic2.o: /usr/include/features.h /usr/include/sys/cdefs.h +-pic2.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h +-pic2.o: /usr/X11R6/lib/qt/include/qevent.h /usr/X11R6/lib/qt/include/qrect.h +-pic2.o: /usr/X11R6/lib/qt/include/qsize.h /usr/X11R6/lib/qt/include/qpoint.h +-pic2.o: /usr/X11R6/lib/qt/include/qpaintd.h +-pic2.o: /usr/X11R6/lib/qt/include/qpalette.h +-pic2.o: /usr/X11R6/lib/qt/include/qcolor.h +-pic2.o: /usr/X11R6/lib/qt/include/qcursor.h /usr/X11R6/lib/qt/include/qfont.h +-pic2.o: /usr/X11R6/lib/qt/include/qfontmet.h +-pic2.o: /usr/X11R6/lib/qt/include/qfontinf.h +-pic2.o: /usr/X11R6/lib/qt/include/qpainter.h +-pic2.o: /usr/X11R6/lib/qt/include/qregion.h /usr/X11R6/lib/qt/include/qpen.h +-pic2.o: /usr/X11R6/lib/qt/include/qbrush.h +-pic2.o: /usr/X11R6/lib/qt/include/qpntarry.h +-pic2.o: /usr/X11R6/lib/qt/include/qwmatrix.h +-pic2.o: /usr/X11R6/lib/qt/include/qpixmap.h +-pic2.o: /usr/X11R6/lib/qt/include/qtooltip.h +-pic2.o: /usr/X11R6/lib/qt/include/qtimer.h stepp.h /usr/include/stdlib.h +-pic2.o: /usr/include/errno.h /usr/include/linux/errno.h +-pic2.o: /usr/include/asm/errno.h /usr/include/alloca.h +-pic2.o: /usr/X11R6/lib/qt/include/qfile.h /usr/X11R6/lib/qt/include/qiodev.h +-pic2.o: /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h +-pic2.o: /usr/X11R6/lib/qt/include/qdstream.h +-stepp.o: stepp.h /usr/include/string.h /usr/include/features.h +-stepp.o: /usr/include/sys/cdefs.h +-stepp.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h +-stepp.o: /usr/X11R6/lib/qt/include/qwidget.h +-stepp.o: /usr/X11R6/lib/qt/include/qwindefs.h +-stepp.o: /usr/X11R6/lib/qt/include/qobjdefs.h +-stepp.o: /usr/X11R6/lib/qt/include/qglobal.h +-stepp.o: /usr/X11R6/lib/qt/include/qobject.h +-stepp.o: /usr/X11R6/lib/qt/include/qstring.h +-stepp.o: /usr/X11R6/lib/qt/include/qarray.h +-stepp.o: /usr/X11R6/lib/qt/include/qgarray.h +-stepp.o: /usr/X11R6/lib/qt/include/qshared.h +-stepp.o: /usr/X11R6/lib/qt/include/qgeneric.h +-stepp.o: /usr/X11R6/lib/qt/include/qevent.h /usr/X11R6/lib/qt/include/qrect.h +-stepp.o: /usr/X11R6/lib/qt/include/qsize.h /usr/X11R6/lib/qt/include/qpoint.h +-stepp.o: /usr/X11R6/lib/qt/include/qpaintd.h +-stepp.o: /usr/X11R6/lib/qt/include/qpalette.h +-stepp.o: /usr/X11R6/lib/qt/include/qcolor.h +-stepp.o: /usr/X11R6/lib/qt/include/qcursor.h +-stepp.o: /usr/X11R6/lib/qt/include/qfont.h +-stepp.o: /usr/X11R6/lib/qt/include/qfontmet.h +-stepp.o: /usr/X11R6/lib/qt/include/qfontinf.h +-leiste.o: leiste.h /usr/X11R6/lib/qt/include/qpushbt.h +-leiste.o: /usr/X11R6/lib/qt/include/qbutton.h +-leiste.o: /usr/X11R6/lib/qt/include/qwidget.h +-leiste.o: /usr/X11R6/lib/qt/include/qwindefs.h +-leiste.o: /usr/X11R6/lib/qt/include/qobjdefs.h +-leiste.o: /usr/X11R6/lib/qt/include/qglobal.h +-leiste.o: /usr/X11R6/lib/qt/include/qobject.h +-leiste.o: /usr/X11R6/lib/qt/include/qstring.h +-leiste.o: /usr/X11R6/lib/qt/include/qarray.h +-leiste.o: /usr/X11R6/lib/qt/include/qgarray.h +-leiste.o: /usr/X11R6/lib/qt/include/qshared.h +-leiste.o: /usr/X11R6/lib/qt/include/qgeneric.h /usr/include/string.h +-leiste.o: /usr/include/features.h /usr/include/sys/cdefs.h +-leiste.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h +-leiste.o: /usr/X11R6/lib/qt/include/qevent.h +-leiste.o: /usr/X11R6/lib/qt/include/qrect.h /usr/X11R6/lib/qt/include/qsize.h +-leiste.o: /usr/X11R6/lib/qt/include/qpoint.h +-leiste.o: /usr/X11R6/lib/qt/include/qpaintd.h +-leiste.o: /usr/X11R6/lib/qt/include/qpalette.h +-leiste.o: /usr/X11R6/lib/qt/include/qcolor.h +-leiste.o: /usr/X11R6/lib/qt/include/qcursor.h +-leiste.o: /usr/X11R6/lib/qt/include/qfont.h +-leiste.o: /usr/X11R6/lib/qt/include/qfontmet.h +-leiste.o: /usr/X11R6/lib/qt/include/qfontinf.h +-leiste.o: /usr/X11R6/lib/qt/include/qpixmap.h +-leiste.o: /usr/X11R6/lib/qt/include/qlabel.h +-leiste.o: /usr/X11R6/lib/qt/include/qframe.h +-main.o: main.h pic2.h /usr/X11R6/lib/qt/include/qapp.h +-main.o: /usr/X11R6/lib/qt/include/qwidget.h +-main.o: /usr/X11R6/lib/qt/include/qwindefs.h +-main.o: /usr/X11R6/lib/qt/include/qobjdefs.h +-main.o: /usr/X11R6/lib/qt/include/qglobal.h +-main.o: /usr/X11R6/lib/qt/include/qobject.h +-main.o: /usr/X11R6/lib/qt/include/qstring.h +-main.o: /usr/X11R6/lib/qt/include/qarray.h +-main.o: /usr/X11R6/lib/qt/include/qgarray.h +-main.o: /usr/X11R6/lib/qt/include/qshared.h +-main.o: /usr/X11R6/lib/qt/include/qgeneric.h /usr/include/string.h +-main.o: /usr/include/features.h /usr/include/sys/cdefs.h +-main.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h +-main.o: /usr/X11R6/lib/qt/include/qevent.h /usr/X11R6/lib/qt/include/qrect.h +-main.o: /usr/X11R6/lib/qt/include/qsize.h /usr/X11R6/lib/qt/include/qpoint.h +-main.o: /usr/X11R6/lib/qt/include/qpaintd.h +-main.o: /usr/X11R6/lib/qt/include/qpalette.h +-main.o: /usr/X11R6/lib/qt/include/qcolor.h +-main.o: /usr/X11R6/lib/qt/include/qcursor.h /usr/X11R6/lib/qt/include/qfont.h +-main.o: /usr/X11R6/lib/qt/include/qfontmet.h +-main.o: /usr/X11R6/lib/qt/include/qfontinf.h +-main.o: /usr/X11R6/lib/qt/include/qpainter.h +-main.o: /usr/X11R6/lib/qt/include/qregion.h /usr/X11R6/lib/qt/include/qpen.h +-main.o: /usr/X11R6/lib/qt/include/qbrush.h +-main.o: /usr/X11R6/lib/qt/include/qpntarry.h +-main.o: /usr/X11R6/lib/qt/include/qwmatrix.h +-main.o: /usr/X11R6/lib/qt/include/qpixmap.h +-main.o: /usr/X11R6/lib/qt/include/qtooltip.h +-main.o: /usr/X11R6/lib/qt/include/qtimer.h stepp.h /usr/include/stdlib.h +-main.o: /usr/include/errno.h /usr/include/linux/errno.h +-main.o: /usr/include/asm/errno.h /usr/include/alloca.h +-main.o: /usr/X11R6/lib/qt/include/qfile.h /usr/X11R6/lib/qt/include/qiodev.h +-main.o: /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h +-main.o: /usr/X11R6/lib/qt/include/qdstream.h leiste.h +-main.o: /usr/X11R6/lib/qt/include/qpushbt.h +-main.o: /usr/X11R6/lib/qt/include/qbutton.h +-main.o: /usr/X11R6/lib/qt/include/qlabel.h /usr/X11R6/lib/qt/include/qframe.h +-main.o: minikarte.h sbarv.h /usr/X11R6/lib/qt/include/qscrbar.h +-main.o: /usr/X11R6/lib/qt/include/qrangect.h +-main.o: /usr/X11R6/lib/qt/include/qdrawutl.h sbarh.h +-main.o: /usr/X11R6/lib/qt/include/qlayout.h +-main.o: /usr/X11R6/lib/qt/include/qgmanagr.h +-main.o: /usr/X11R6/lib/qt/include/qintdict.h +-main.o: /usr/X11R6/lib/qt/include/qgdict.h +-main.o: /usr/X11R6/lib/qt/include/qcollect.h +-main.o: /usr/X11R6/lib/qt/include/qlist.h /usr/X11R6/lib/qt/include/qglist.h +-main.o: /usr/X11R6/lib/qt/include/qdialog.h +-main.o: /usr/X11R6/lib/qt/include/qpopmenu.h +-main.o: /usr/X11R6/lib/qt/include/qtablevw.h +-main.o: /usr/X11R6/lib/qt/include/qmenudta.h +-main.o: /usr/X11R6/lib/qt/include/qmenubar.h +-main.o: /usr/X11R6/lib/qt/include/qmovie.h +-main.o: /usr/X11R6/lib/qt/include/qtabdlg.h +-main.o: /usr/X11R6/lib/qt/include/qslider.h +-main.o: /usr/X11R6/lib/qt/include/qradiobt.h +-main.o: /usr/X11R6/lib/qt/include/qbttngrp.h +-main.o: /usr/X11R6/lib/qt/include/qgrpbox.h +-main.o: /usr/X11R6/lib/qt/include/qfiledlg.h /usr/X11R6/lib/qt/include/qdir.h +-main.o: /usr/X11R6/lib/qt/include/qstrlist.h +-main.o: /usr/X11R6/lib/qt/include/qfileinf.h +-main.o: /usr/X11R6/lib/qt/include/qdatetm.h +-main.o: /usr/X11R6/lib/qt/include/qmsgbox.h +-main.o: /usr/X11R6/lib/qt/include/qlistbox.h +-main.o: /usr/X11R6/lib/qt/include/qcombo.h +-main.o: /usr/X11R6/lib/qt/include/qkeycode.h +-minikarte.o: minikarte.h /usr/X11R6/lib/qt/include/qpushbt.h +-minikarte.o: /usr/X11R6/lib/qt/include/qbutton.h +-minikarte.o: /usr/X11R6/lib/qt/include/qwidget.h +-minikarte.o: /usr/X11R6/lib/qt/include/qwindefs.h +-minikarte.o: /usr/X11R6/lib/qt/include/qobjdefs.h +-minikarte.o: /usr/X11R6/lib/qt/include/qglobal.h +-minikarte.o: /usr/X11R6/lib/qt/include/qobject.h +-minikarte.o: /usr/X11R6/lib/qt/include/qstring.h +-minikarte.o: /usr/X11R6/lib/qt/include/qarray.h +-minikarte.o: /usr/X11R6/lib/qt/include/qgarray.h +-minikarte.o: /usr/X11R6/lib/qt/include/qshared.h +-minikarte.o: /usr/X11R6/lib/qt/include/qgeneric.h /usr/include/string.h +-minikarte.o: /usr/include/features.h /usr/include/sys/cdefs.h +-minikarte.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h +-minikarte.o: /usr/X11R6/lib/qt/include/qevent.h +-minikarte.o: /usr/X11R6/lib/qt/include/qrect.h +-minikarte.o: /usr/X11R6/lib/qt/include/qsize.h +-minikarte.o: /usr/X11R6/lib/qt/include/qpoint.h +-minikarte.o: /usr/X11R6/lib/qt/include/qpaintd.h +-minikarte.o: /usr/X11R6/lib/qt/include/qpalette.h +-minikarte.o: /usr/X11R6/lib/qt/include/qcolor.h +-minikarte.o: /usr/X11R6/lib/qt/include/qcursor.h +-minikarte.o: /usr/X11R6/lib/qt/include/qfont.h +-minikarte.o: /usr/X11R6/lib/qt/include/qfontmet.h +-minikarte.o: /usr/X11R6/lib/qt/include/qfontinf.h +-minikarte.o: /usr/X11R6/lib/qt/include/qpixmap.h +-minikarte.o: /usr/X11R6/lib/qt/include/qpainter.h +-minikarte.o: /usr/X11R6/lib/qt/include/qregion.h +-minikarte.o: /usr/X11R6/lib/qt/include/qpen.h +-minikarte.o: /usr/X11R6/lib/qt/include/qbrush.h +-minikarte.o: /usr/X11R6/lib/qt/include/qpntarry.h +-minikarte.o: /usr/X11R6/lib/qt/include/qwmatrix.h +-sbarv.o: sbarv.h /usr/X11R6/lib/qt/include/qwidget.h +-sbarv.o: /usr/X11R6/lib/qt/include/qwindefs.h +-sbarv.o: /usr/X11R6/lib/qt/include/qobjdefs.h +-sbarv.o: /usr/X11R6/lib/qt/include/qglobal.h +-sbarv.o: /usr/X11R6/lib/qt/include/qobject.h +-sbarv.o: /usr/X11R6/lib/qt/include/qstring.h +-sbarv.o: /usr/X11R6/lib/qt/include/qarray.h +-sbarv.o: /usr/X11R6/lib/qt/include/qgarray.h +-sbarv.o: /usr/X11R6/lib/qt/include/qshared.h +-sbarv.o: /usr/X11R6/lib/qt/include/qgeneric.h /usr/include/string.h +-sbarv.o: /usr/include/features.h /usr/include/sys/cdefs.h +-sbarv.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h +-sbarv.o: /usr/X11R6/lib/qt/include/qevent.h /usr/X11R6/lib/qt/include/qrect.h +-sbarv.o: /usr/X11R6/lib/qt/include/qsize.h /usr/X11R6/lib/qt/include/qpoint.h +-sbarv.o: /usr/X11R6/lib/qt/include/qpaintd.h +-sbarv.o: /usr/X11R6/lib/qt/include/qpalette.h +-sbarv.o: /usr/X11R6/lib/qt/include/qcolor.h +-sbarv.o: /usr/X11R6/lib/qt/include/qcursor.h +-sbarv.o: /usr/X11R6/lib/qt/include/qfont.h +-sbarv.o: /usr/X11R6/lib/qt/include/qfontmet.h +-sbarv.o: /usr/X11R6/lib/qt/include/qfontinf.h +-sbarv.o: /usr/X11R6/lib/qt/include/qscrbar.h +-sbarv.o: /usr/X11R6/lib/qt/include/qrangect.h +-sbarv.o: /usr/X11R6/lib/qt/include/qdrawutl.h +-sbarv.o: /usr/X11R6/lib/qt/include/qpainter.h +-sbarv.o: /usr/X11R6/lib/qt/include/qregion.h /usr/X11R6/lib/qt/include/qpen.h +-sbarv.o: /usr/X11R6/lib/qt/include/qbrush.h +-sbarv.o: /usr/X11R6/lib/qt/include/qpntarry.h +-sbarv.o: /usr/X11R6/lib/qt/include/qwmatrix.h +-sbarh.o: sbarh.h /usr/X11R6/lib/qt/include/qwidget.h +-sbarh.o: /usr/X11R6/lib/qt/include/qwindefs.h +-sbarh.o: /usr/X11R6/lib/qt/include/qobjdefs.h +-sbarh.o: /usr/X11R6/lib/qt/include/qglobal.h +-sbarh.o: /usr/X11R6/lib/qt/include/qobject.h +-sbarh.o: /usr/X11R6/lib/qt/include/qstring.h +-sbarh.o: /usr/X11R6/lib/qt/include/qarray.h +-sbarh.o: /usr/X11R6/lib/qt/include/qgarray.h +-sbarh.o: /usr/X11R6/lib/qt/include/qshared.h +-sbarh.o: /usr/X11R6/lib/qt/include/qgeneric.h /usr/include/string.h +-sbarh.o: /usr/include/features.h /usr/include/sys/cdefs.h +-sbarh.o: /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/stddef.h +-sbarh.o: /usr/X11R6/lib/qt/include/qevent.h /usr/X11R6/lib/qt/include/qrect.h +-sbarh.o: /usr/X11R6/lib/qt/include/qsize.h /usr/X11R6/lib/qt/include/qpoint.h +-sbarh.o: /usr/X11R6/lib/qt/include/qpaintd.h +-sbarh.o: /usr/X11R6/lib/qt/include/qpalette.h +-sbarh.o: /usr/X11R6/lib/qt/include/qcolor.h +-sbarh.o: /usr/X11R6/lib/qt/include/qcursor.h +-sbarh.o: /usr/X11R6/lib/qt/include/qfont.h +-sbarh.o: /usr/X11R6/lib/qt/include/qfontmet.h +-sbarh.o: /usr/X11R6/lib/qt/include/qfontinf.h +-sbarh.o: /usr/X11R6/lib/qt/include/qscrbar.h +-sbarh.o: /usr/X11R6/lib/qt/include/qrangect.h +-sbarh.o: /usr/X11R6/lib/qt/include/qdrawutl.h +-sbarh.o: /usr/X11R6/lib/qt/include/qpainter.h +-sbarh.o: /usr/X11R6/lib/qt/include/qregion.h /usr/X11R6/lib/qt/include/qpen.h +-sbarh.o: /usr/X11R6/lib/qt/include/qbrush.h +-sbarh.o: /usr/X11R6/lib/qt/include/qpntarry.h +-sbarh.o: /usr/X11R6/lib/qt/include/qwmatrix.h diff --git a/games/pp/files/patch-ab b/games/pp/files/patch-ab new file mode 100644 index 000000000000..a726d4b856f9 --- /dev/null +++ b/games/pp/files/patch-ab @@ -0,0 +1,11 @@ +--- leiste.h Thu Apr 3 14:44:12 1997 ++++ leiste.h.new Sat Jan 29 04:47:18 2000 +@@ -38,7 +38,7 @@ + + class leiste : public QWidget { + +-const int buttonHoehe=104, buttonBreite=140; ++const int buttonHoehe, buttonBreite; + //const QString picPfad2="./pic"; + + Q_OBJECT diff --git a/games/pp/files/patch-ac b/games/pp/files/patch-ac new file mode 100644 index 000000000000..6940b5b2200b --- /dev/null +++ b/games/pp/files/patch-ac @@ -0,0 +1,11 @@ +--- leiste.cpp Thu Apr 3 14:44:26 1997 ++++ leiste.cpp.new Sat Jan 29 04:48:38 2000 +@@ -32,7 +32,7 @@ + + leiste::leiste(QWidget *parent=0, const char *name=0, + QString picPfad="") +- :QWidget (parent, name) ++ :QWidget (parent, name), buttonHoehe(104), buttonBreite(140) + { + sci=0; + setMouseTracking (TRUE); diff --git a/games/pp/files/pp.sh b/games/pp/files/pp.sh new file mode 100644 index 000000000000..3f901b8cc95d --- /dev/null +++ b/games/pp/files/pp.sh @@ -0,0 +1,2 @@ +#! /bin/sh +exec %%PREFIX%%/bin/pp.bin %%PREFIX%%/share/pp -- cgit