Hi guys!
I just received the following message: freesci currently does not build
with GCC 3.0. A patch is attached. The problem with the architectures
line is Debian-specific and has already been fixed in CVS.
Lamont: thanx for reporting this.
Grtx,
Bas.
----- Forwarded message from LaMont Jones <[EMAIL PROTECTED]> -----
From: LaMont Jones <[EMAIL PROTECTED]>
Date: Mon, 28 May 2001 10:53:07 -0600 (MDT)
To: [EMAIL PROTECTED]
Subject: Bug#99039: freesci: Build failure with GCC 3.0, PARISC
Package: freesci
Version: 0.3.2a-1
Severity: normal
Tags: patch
Two problems:
1. As of gcc 3.0, printf is a macro. patch attached.
2. As far as I can tell, freesci should be 'Architecture: any', not the
specific list. Again, patch attached.
======================================================================
--- src/tools/sciunpack.c.save Mon May 28 10:21:32 2001
+++ src/tools/sciunpack.c Mon May 28 10:22:44 2001
@@ -169,6 +169,15 @@
exit(0);
case 'h':
+#ifdef DRAW_GRAPHICS
+#define DRAW_PRINT_1 " --palette-dither Forces colors in 16 color
+games to be dithered\n" \
+ " --palette-interpolate Does color interpolation when
+drawing picture resources\n" \
+ " --palette-dither256 Does dithering in 256 colors\n"
+#define DRAW_PRINT_2 " picture resources: Will be converted to PNG, stored
+in <number>.png\n"
+#else
+#define DRAW_PRINT_1
+#define DRAW_PRINT_2
+#endif /* DRAW_GRAPHICS */
printf("Usage: sciunpack [options] [-U] <resource.number>\n"
" sciunpack [options] [-U] <resource> <number>\n"
"Unpacks resource data\n"
@@ -202,19 +211,12 @@
" --gamedir -d Read game resources from dir\n"
" --with-header Forces the SCI header to be
written (default)\n"
" --without-header Prevents the two SCI header
bytes from being written\n"
-#ifdef DRAW_GRAPHICS
- " --palette-dither Forces colors in 16 color
games to be dithered\n"
- " --palette-interpolate Does color interpolation when
drawing picture resources\n"
- " --palette-dither256 Does dithering in 256 colors\n"
-#endif /* DRAW_GRAPHICS */
+ DRAW_PRINT_1
"\nAs a default, 'resource.number' is the output
filename.\n"
"If conversion is enabled, the following resources will
be treated specially:\n"
" sound resources: Will be converted to MIDI, stored
in <number>.midi\n"
" script resources: Will be dissected and stored in
<number>.script\n"
-#ifdef DRAW_GRAPHICS
- " picture resources: Will be converted to PNG, stored
in <number>.png\n"
-
-#endif /* DRAW_GRAPHICS */
+ DRAW_PRINT_2
);
exit(0);
--- debian/control.save Mon May 28 10:34:01 2001
+++ debian/control Mon May 28 10:34:15 2001
@@ -6,7 +6,7 @@
Build-Depends: debhelper (>=3.0.15),sgmltools-2, libggi2-dev, libncurses5-dev,
libpng2-dev, libreadline4-dev (>=4.1), zlib1g-dev, flex, libasound1-dev
Package: freesci
-Architecture: alpha arm i386 powerpc sparc
+Architecture: any
Depends: ${shlibs:Depends}, libggi2, libggi-target-x, zlib1g
Suggests: freesci-doc
Description: a portable interpreter for SCI games like Space Quest 3
======================================================================
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux smallone 2.4.0 #39 Fri May 18 22:42:04 MDT 2001 parisc64 unknown
----- End forwarded message -----
--
Kind regards,
+---------------------------------------------------------------+
| Bas Zoetekouw | Si l'on sait exactement ce |
|--------------------------------| que l'on va faire, a quoi |
| [EMAIL PROTECTED] | bon le faire? |
| [EMAIL PROTECTED] | Pablo Picasso |
+---------------------------------------------------------------+