Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 1999 00:38:22 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/15159: new port: games/blackpenguin
Message-ID:  <199911290538.AAA38519@shadow.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         15159
>Category:       ports
>Synopsis:       new port: games/blackpenguin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 28 21:40:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #2: Tue Nov 16 05:42:45 EST 1999     will@:/usr/src/sys/compile/ARGON  i386
FreeBSD shadow.blackdawn.com 3.3-STABLE FreeBSD 3.3-STABLE #0: Sun Nov 14 00:08:42 EST 1999     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:

Blackpenguin - neat game. That's all I have to say about this. Read pkg/DESCR.

This program compiles fine under 4.0-CURRENT, but for some reason,
it fails to compile under 3.3-STABLE:

===>  Building for blackpenguin-0.2
g++ -c -pipe -Wall -W -O2 -fno-strength-reduce -I/usr/X11R6/include/X11/qt -o main.o main.cpp
g++ -c -pipe -Wall -W -O2 -fno-strength-reduce -I/usr/X11R6/include/X11/qt -o appwindow.o appwindow.cpp
appwindow.cpp: In method `ApplicationWindow::ApplicationWindow()':
appwindow.cpp:51: conversion from `char **' to non-scalar type `QPixmap' requested
appwindow.cpp:52: conversion from `char **' to non-scalar type `QPixmap' requested
appwindow.cpp:53: conversion from `char **' to non-scalar type `QPixmap' requested
appwindow.cpp:54: conversion from `char **' to non-scalar type `QPixmap' requested
appwindow.cpp:55: conversion from `char **' to non-scalar type `QPixmap' requested
*** Error code 1

Yes, this is using Qt 1.42 and kdelibs 1.1 compiled under gcc 2.95.2.

This problem is not only because of the faulty assumption that GMAKE reads /usr/bin/env
environment variables. When I force it to use g++295 under -STABLE, it gives the exact
same above error.

Any ideas? g++295 should work if g++ 2.91.66 (on -CURRENT) works.

>How-To-Repeat:

Use the shar below to import the new port to the tree. Perhaps a little feedback
regarding -STABLE breakage would be good, first.

>Fix:

# 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:
#
#	blackpenguin
#	blackpenguin/files
#	blackpenguin/files/md5
#	blackpenguin/pkg
#	blackpenguin/pkg/COMMENT
#	blackpenguin/pkg/DESCR
#	blackpenguin/pkg/PLIST
#	blackpenguin/patches
#	blackpenguin/patches/patch-aa
#	blackpenguin/Makefile
#
echo c - blackpenguin
mkdir -p blackpenguin > /dev/null 2>&1
echo c - blackpenguin/files
mkdir -p blackpenguin/files > /dev/null 2>&1
echo x - blackpenguin/files/md5
sed 's/^X//' >blackpenguin/files/md5 << 'END-of-blackpenguin/files/md5'
XMD5 (blackpenguin-0.2.tar.gz) = 91ac8ac0f5588122c469e3f65b98c3df
END-of-blackpenguin/files/md5
echo c - blackpenguin/pkg
mkdir -p blackpenguin/pkg > /dev/null 2>&1
echo x - blackpenguin/pkg/COMMENT
sed 's/^X//' >blackpenguin/pkg/COMMENT << 'END-of-blackpenguin/pkg/COMMENT'
XThis arcade-style game, while rather Linux-oriented, is addicting
Xand reminds me of an old game I used to play on my old 486.. what
Xgame was that? Somebody remind me.
X
XAnyway, this game is a LOT of fun and has been well-programmed,
Xand it seems rather complete.
X
XWWW: http://www.priebs.de/blackpenguin.html
XAuthor: pengu@pribs.de
END-of-blackpenguin/pkg/COMMENT
echo x - blackpenguin/pkg/DESCR
sed 's/^X//' >blackpenguin/pkg/DESCR << 'END-of-blackpenguin/pkg/DESCR'
XArcade style jump-on-cubes game.
END-of-blackpenguin/pkg/DESCR
echo x - blackpenguin/pkg/PLIST
sed 's/^X//' >blackpenguin/pkg/PLIST << 'END-of-blackpenguin/pkg/PLIST'
Xbin/blackpenguin
Xshare/blackpenguin/README
END-of-blackpenguin/pkg/PLIST
echo c - blackpenguin/patches
mkdir -p blackpenguin/patches > /dev/null 2>&1
echo x - blackpenguin/patches/patch-aa
sed 's/^X//' >blackpenguin/patches/patch-aa << 'END-of-blackpenguin/patches/patch-aa'
X--- Makefile	Tue Nov 23 12:50:14 1999
X+++ Makefile.new	Sun Nov 28 23:49:14 1999
X@@ -11,7 +11,7 @@
X CXX	=	g++
X CFLAGS	=	-pipe -Wall -W -O2 -fno-strength-reduce
X CXXFLAGS=	-pipe -Wall -W -O2 -fno-strength-reduce
X-INCPATH	=	-I$(QTDIR)/include
X+INCPATH	=	-I$(QTDIR)/include/X11/qt
X LINK	=	g++
X LFLAGS	=	
X LIBS	=	-L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11 -lXext
END-of-blackpenguin/patches/patch-aa
echo x - blackpenguin/Makefile
sed 's/^X//' >blackpenguin/Makefile << 'END-of-blackpenguin/Makefile'
X# New ports collection makefile for:	blackpenguin
X# Version required:	0.2
X# Date created:		19 Nov 1999
X# Whom:			Will Andrews <andrews@technologist.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	blackpenguin-0.2
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=	games/arcade
X
XMAINTAINER=	andrews@technologist.com
X
XLIB_DEPENDS=	kdeui.2:${PORTSDIR}/x11/kdelibs11
X
XUSE_QT=		yes
XUSE_X_PREFIX=	yes
XMAKE_ENV=	QTDIR=${PREFIX}
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/src
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/blackpenguin
X	@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/README ${PREFIX}/share/blackpenguin
X	@${ECHO}
X	@${ECHO} "Docs are installed in ${PREFIX}/share/blackpenguin/."
X	@${ECHO}
X.endif
X	@${INSTALL_PROGRAM} ${WRKSRC}/blackpenguin ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-blackpenguin/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911290538.AAA38519>