Your message dated Mon, 08 Jun 2009 21:32:21 +0000
with message-id <[email protected]>
and subject line Bug#532358: fixed in brandy 1.20~pre5-3
has caused the Debian Bug report #532358,
regarding brandy: FTBFS on Debian GNU/Hurd [Patch]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
532358: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532358
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: brandy
Version: 1.20~pre5-2
Severity: normal

Hi,

Brandy currently fails to build on Debian GNU/Hurd because the platform is not supported. Here is a patch to make it build.

Thank you,

Barry deFreese


diff -urN repo/brandy-1.20~pre5/src/keyboard.c ./brandy-1.20~pre5/src/keyboard.c
--- repo/brandy-1.20~pre5/src/keyboard.c        2007-12-26 10:01:29.830000000 
-0500
+++ ./brandy-1.20~pre5/src/keyboard.c   2009-06-08 16:01:11.920000000 -0400
@@ -162,7 +162,7 @@
 #if defined(TARGET_LINUX) | defined(TARGET_NETBSD) | defined(TARGET_MACOSX)\
  | defined(TARGET_DJGPP) | defined(TARGET_FREEBSD) | defined(TARGET_OPENBSD)\
  | defined(TARGET_AMIGA) & defined(__GNUC__)\
- | defined(TARGET_GNUKFREEBSD)
+ | defined(TARGET_GNUKFREEBSD) | defined(TARGET_GNU)
 #include <sys/time.h>
 #include <sys/types.h>
 #include <errno.h>
@@ -286,6 +286,8 @@
 #define OSVERSION 0xF5
 #elif defined(TARGET_GNUKFREEBSD)
 #define OSVERSION 0xF4
+#elif defined(TARGET_GNU)
+#define OSVERSION 0xF3
 #else
 #error Target operating system is either not defined or not supported
 #endif
@@ -333,7 +335,7 @@
 
 #if defined(TARGET_LINUX) | defined(TARGET_NETBSD) | defined(TARGET_MACOSX)\
  | defined(TARGET_FREEBSD) |defined(TARGET_OPENBSD) | defined(TARGET_AMIGA) & 
defined(__GNUC__)\
- | defined(TARGET_GNUKFREEBSD)
+ | defined(TARGET_GNUKFREEBSD) | defined(TARGET_GNU)
 
 static struct termios origtty; /* Copy of original keyboard parameters */
 static int32 keyboard;         /* File descriptor for keyboard */
@@ -410,7 +412,7 @@
 
 #if defined(TARGET_LINUX) | defined(TARGET_NETBSD) | defined(TARGET_MACOSX)\
  | defined(TARGET_FREEBSD) | defined(TARGET_OPENBSD) | defined(TARGET_AMIGA) & 
defined(__GNUC__)\
- | defined(TARGET_GNUKFREEBSD)
+ | defined(TARGET_GNUKFREEBSD) | defined(TARGET_GNU)
 
 /* ----- Linux-, *BSD- and MACOS-specific keyboard input functions ----- */
 
@@ -1502,7 +1504,7 @@
 
 #elif defined(TARGET_LINUX) | defined(TARGET_NETBSD) | defined(TARGET_MACOSX)\
  | defined(TARGET_FREEBSD) | defined(TARGET_OPENBSD) | defined(TARGET_AMIGA) & 
defined(__GNUC__)\
- | defined(TARGET_GNUKFREEBSD)
+ | defined(TARGET_GNUKFREEBSD) | defined(TARGET_GNU)
 
 /*
 ** 'init_keyboard' initialises the keyboard code. It checks to
diff -urN repo/brandy-1.20~pre5/src/target.h ./brandy-1.20~pre5/src/target.h
--- repo/brandy-1.20~pre5/src/target.h  2007-12-26 07:35:26.940000000 -0500
+++ ./brandy-1.20~pre5/src/target.h     2009-06-08 16:07:12.830000000 -0400
@@ -89,6 +89,12 @@
 #define BRANDY_OS "GNU/kFreeBSD"
 #endif
 
+#if (defined __GNU__)
+#define TARGET_GNU
+#define USE_SDL
+#define BRANDY_OS "GNU/Hurd"
+#endif
+
 #ifdef DJGPP
 #define TARGET_DJGPP
 #define BRANDY_OS "DJGPP"
@@ -163,7 +169,7 @@
 #define EDITOR_VARIABLE "EDITOR"
 #define DEFAULT_EDITOR "edit"
 #elif defined(TARGET_LINUX) | defined(TARGET_NETBSD) | defined(TARGET_FREEBSD)\
- | defined(TARGET_OPENBSD) | defined(TARGET_GNUKFREEBSD)
+ | defined(TARGET_OPENBSD) | defined(TARGET_GNUKFREEBSD) | defined(TARGET_GNU)
 #define EDITOR_VARIABLE "EDITOR"
 #define DEFAULT_EDITOR "vi"
 #elif defined(TARGET_MACOSX)
@@ -189,7 +195,7 @@
 #define DIR_SEPS "\\/:"
 #define DIR_SEP '\\'
 #elif defined(TARGET_LINUX) | defined(TARGET_NETBSD) | defined(TARGET_MACOSX)\
- | defined(TARGET_FREEBSD) | defined(TARGET_OPENBSD) | 
defined(TARGET_GNUKFREEBSD)
+ | defined(TARGET_FREEBSD) | defined(TARGET_OPENBSD) | 
defined(TARGET_GNUKFREEBSD) | defined(TARGET_GNU)
 #define DIR_SEPS "/"
 #define DIR_SEP '/'
 #elif defined(TARGET_RISCOS)
@@ -206,7 +212,7 @@
 #define MACTYPE 0x600
 #elif defined(TARGET_LINUX) | defined(TARGET_NETBSD) | defined(TARGET_MACOSX)\
  | defined(TARGET_FREEBSD) | defined(TARGET_OPENBSD) | defined(TARGET_AMIGA)\
- | defined(TARGET_GNUKFREEBSD)
+ | defined(TARGET_GNUKFREEBSD) | defined(TARGET_GNU)
 #define MACTYPE 0x800
 #elif defined(TARGET_DJGPP) | defined(TARGET_WIN32) | defined(TARGET_BCC32)
 #define MACTYPE 0x2000

--- End Message ---
--- Begin Message ---
Source: brandy
Source-Version: 1.20~pre5-3

We believe that the bug you reported is fixed in the latest version of
brandy, which is due to be installed in the Debian FTP archive:

brandy_1.20~pre5-3.diff.gz
  to pool/main/b/brandy/brandy_1.20~pre5-3.diff.gz
brandy_1.20~pre5-3.dsc
  to pool/main/b/brandy/brandy_1.20~pre5-3.dsc
brandy_1.20~pre5-3_i386.deb
  to pool/main/b/brandy/brandy_1.20~pre5-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Tuckley <[email protected]> (supplier of updated brandy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 08 Jun 2009 21:26:50 +0100
Source: brandy
Binary: brandy
Architecture: source i386
Version: 1.20~pre5-3
Distribution: unstable
Urgency: low
Maintainer: Colin Tuckley <[email protected]>
Changed-By: Colin Tuckley <[email protected]>
Description: 
 brandy     - BBC BASIC V interpreter
Closes: 532358
Changes: 
 brandy (1.20~pre5-3) unstable; urgency=low
 .
   * Fix FTBFS on GNU/Hurd with patch from Barry deFreese Closes: #532358
   * Bump standards version to 3.8.1 (no changes required).
Checksums-Sha1: 
 5a7763ac20f70cf6bf118b1d70ee88c167da8ef8 1025 brandy_1.20~pre5-3.dsc
 12fd21cd140c1fd340c5d7d5337bb3a39463619a 5545 brandy_1.20~pre5-3.diff.gz
 dc64c3ead7ab57a05909a3748f7725321ad89c46 228038 brandy_1.20~pre5-3_i386.deb
Checksums-Sha256: 
 d9e00193e2b36bd4e26b51c3168c3393ff0c746fd477779763d69a56f57beb59 1025 
brandy_1.20~pre5-3.dsc
 13edb7f340d8d0e30d5c382f9497b2344746904b0f6d1b4fcd5f13443962fae3 5545 
brandy_1.20~pre5-3.diff.gz
 1bd726b2950a6d0dff9f0172e1f012cef29052cc3c6105ae53f3632a04f4fc4a 228038 
brandy_1.20~pre5-3_i386.deb
Files: 
 c68ebd626baa851de53e0a0503b2c1c9 1025 interpreters optional 
brandy_1.20~pre5-3.dsc
 12b389ba02ec70921574671f08134b54 5545 interpreters optional 
brandy_1.20~pre5-3.diff.gz
 82c76faaee96e76ed28fb2fa7a38e3f4 228038 interpreters optional 
brandy_1.20~pre5-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoteucACgkQj2OPlhswRc4IeQCgo1PHNSXI69swI0Awpn21Qd++
Yq4An2yeouidc8zkQLK5C0VIv7TLP3Gy
=XqUt
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to