Bug 116096 - games/powermanga: update to 0.90, take maintainership
Summary: games/powermanga: update to 0.90, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-04 23:50 UTC by Dmitry Marakasov
Modified: 2007-09-05 12:20 UTC (History)
0 users

See Also:


Attachments
powermanga.patch.bz2 (5.95 KB, text/plain)
2007-09-04 23:50 UTC, Dmitry Marakasov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2007-09-04 23:50:01 UTC
* Update to 0.90
* Take maintainership
* Generally improve the port
Comment 1 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2007-09-05 10:55:21 UTC
State Changed
From-To: open->feedback

Doesn't compile on amd64: 
if cc -DHAVE_CONFIG_H -I. -I. -I..    -DPREFIX="/usr/local" -DSCOREFILE="/var/games/powermanga.hi" -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -O2 -fno-strict-aliasing -pipe -MT powermanga-tools.o -MD -MP -MF ".deps/powermanga-tools.Tpo" -c -o powermanga-tools.o `test -f 'tools.c' || echo './'`tools.c;  then mv -f ".deps/powermanga-tools.Tpo" ".deps/powermanga-tools.Po"; else rm -f ".deps/powermanga-tools.Tpo"; exit 1; fi 
if cc -DHAVE_CONFIG_H -I. -I. -I..    -DPREFIX="/usr/local" -DSCOREFILE="/var/games/powermanga.hi" -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -O2 -fno-strict-aliasing -pipe -MT powermanga-gfxroutines.o -MD -MP -MF ".deps/powermanga-gfxroutines.Tpo" -c -o powermanga-gfxroutines.o `test -f 'gfxroutines.c' || echo './'`gfxroutines.c;  then mv -f ".deps/powermanga-gfxroutines.Tpo" ".deps/powermanga-gfxroutines.Po"; else rm -f ".deps/powermanga-gfxroutines.Tpo"; exit 1; fi 
gfxroutines.c: In function `draw_bitmap_char_16': 
gfxroutines.c:239: error: 'for' loop initial declaration used outside C99 mode 
gfxroutines.c:241: error: 'for' loop initial declaration used outside C99 mode 
gfxroutines.c: In function `_COPY2X8BITS_512x440': 
gfxroutines.c:697: error: 'for' loop initial declaration used outside C99 mode 
gfxroutines.c:697: error: 'for' loop initial declaration used outside C99 mode 
gfxroutines.c: In function `_COPY2X16BITS_512x440': 
gfxroutines.c:703: error: 'for' loop initial declaration used outside C99 mode 
gfxroutines.c:703: error: 'for' loop initial declaration used outside C99 mode 
gfxroutines.c: In function `_COPY2X32BITS_512x440': 
gfxroutines.c:715: error: 'for' loop initial declaration used outside C99 mode 
gfxroutines.c:715: error: 'for' loop initial declaration used outside C99 mode 
*** Error code 1 

Stop in /work/a/ports/games/powermanga/work/powermanga-0.90/src. 
*** Error code 1
Comment 2 Dmitry Marakasov 2007-09-05 11:45:20 UTC
* itetcu@FreeBSD.org (itetcu@FreeBSD.org) wrote:

> Doesn't compile on amd64:
Try this:

--- Makefile.patch begins here ---
--- Makefile.orig	Wed Sep  5 14:43:02 2007
+++ Makefile	Wed Sep  5 14:42:19 2007
@@ -25,7 +25,8 @@
 MAN6=		powermanga.6
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|^CFLAGS="-O3.*||' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|^CFLAGS="-O3.*|CFLAGS="$$CFLAGS -std=c99"|' \
+		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
 		's|/usr/share/games/powermanga|${DATADIR}|;s|/sound|&s|' \
 		${WRKSRC}/powermanga.6
--- Makefile.patch ends here ---

-- 
Best regards,
  Dmitry Marakasov               mailto:amdmi3@amdmi3.ru
Comment 3 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2007-09-05 11:58:50 UTC
State Changed
From-To: feedback->open

New patch received.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-09-05 12:11:28 UTC
itetcu      2007-09-05 11:11:21 UTC

  FreeBSD ports repository

  Modified files:
    games/powermanga     Makefile distinfo pkg-install pkg-plist 
  Removed files:
    games/powermanga/files patch-src::score.cpp 
  Log:
  * Update to 0.90
  * Pass maintainership to submitter
  * Generally improve the port
  
  PR:             ports/116096
  Submitted by:   Dmitry Marakasov
  
  Revision  Changes    Path
  1.13      +30 -38    ports/games/powermanga/Makefile
  1.6       +3 -3      ports/games/powermanga/distinfo
  1.3       +0 -11     ports/games/powermanga/files/patch-src::score.cpp (dead)
  1.2       +3 -0      ports/games/powermanga/pkg-install
  1.4       +396 -382  ports/games/powermanga/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2007-09-05 12:11:43 UTC
State Changed
From-To: open->closed

Committed. Thanks!