From will@shadow.blackdawn.com Sun Nov 28 21:38:28 1999
Return-Path: <will@shadow.blackdawn.com>
Received: from pluto.psn.net (pluto.psn.net [207.211.58.12])
	by hub.freebsd.org (Postfix) with ESMTP id 23A4715493
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Nov 1999 21:38:27 -0800 (PST)
	(envelope-from will@shadow.blackdawn.com)
Received: from 5042-243.008.popsite.net ([209.224.140.243] helo=shadow.blackdawn.com)
	by pluto.psn.net with esmtp (PSN Internet Service 3.03 #1)
	for FreeBSD-gnats-submit@FreeBSD.ORG
	id 11sJW5-00035H-00; Sun, 28 Nov 1999 22:38:26 -0700
Received: (from will@localhost)
	by shadow.blackdawn.com (8.9.3/8.9.3) id AAA38519;
	Mon, 29 Nov 1999 00:38:22 -0500 (EST)
	(envelope-from will)
Message-Id: <199911290538.AAA38519@shadow.blackdawn.com>
Date: Mon, 29 Nov 1999 00:38:22 -0500 (EST)
From: Will Andrews <andrews@technologist.com>
Sender: will@shadow.blackdawn.com
Reply-To: Will Andrews <andrews@technologist.com>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: new port: games/blackpenguin
X-Send-Pr-Version: 3.2

>Number:         15159
>Category:       ports
>Synopsis:       New port: games/blackpenguin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    will
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 28 21:40:01 PST 1999
>Closed-Date:    Wed Mar 22 16:38:41 PST 2000
>Last-Modified:  Wed Mar 22 16:40:15 PST 2000
>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:

From: Will Andrews <andrews@TECHNOLOGIST.COM>
To: Will Andrews <andrews@TECHNOLOGIST.COM>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: RE: ports/15159: new port: games/blackpenguin
Date: Mon, 29 Nov 1999 00:56:43 -0500 (EST)

 On 29-Nov-99 Will Andrews wrote:
 > 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
 
 OK, THAT'S IT Will! NO MORE PORTING TONIGHT!
 
 My apologies, I didn't use portlint this time and ended up switching pkg/DESCR
 and pkg/COMMENT as you see here. :\
 
 I also didn't include my traditional..
 "-- Will <andrews@technologist.com>"
 ..at the end. :-\
 
 *spank*
 
 --
 Will Andrews <andrews@technologist.com>
 GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
 ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
 G++>+++ e->++++ h! r-->+++ y?
 
Responsible-Changed-From-To: freebsd-ports->will 
Responsible-Changed-By: billf 
Responsible-Changed-When: Mon Mar 20 17:28:12 PST 2000 
Responsible-Changed-Why:  
Submitter is now a committer. 
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Wed Mar 22 16:38:41 PST 2000 
State-Changed-Why:  
I was unable to get this program working again after my initial port 
creation.. I'll sit on this port and see if the author ever updates 
his program in the future. While I had it running, it was fun, but 
for now it looks like everyone else is going to miss out. :-( 
>Unformatted:
