Your message dated Wed, 08 Aug 2007 08:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#436527: fixed in openocd 0.0+r188-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: openocd
Version: 0.0+r184-1
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Just for bookkeeping purposes: the current openocd package FTBFS on
Debian GNU/kFreeBSD, but I already have a patch ready which I'll
apply in the next upload (and also send upstream).


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
--- openocd_orig/src/jtag/parport.c	2007-07-26 11:36:17.232136000 +0200
+++ openocd/src/jtag/parport.c	2007-08-08 06:20:19.000000000 +0200
@@ -28,7 +28,7 @@
 
 /* system includes */
 // -ino: 060521-1036
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 
 #include <sys/types.h>
 #include <machine/sysarch.h>
@@ -49,7 +49,7 @@
 #include <stdio.h>
 
 #if PARPORT_USE_PPDEV == 1
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include <dev/ppbus/ppi.h>
 #include <dev/ppbus/ppbconf.h>
 #define PPRSTATUS	PPIGSTATUS
@@ -200,7 +200,7 @@
 #if PARPORT_USE_PPDEV == 1
 		ioctl(device_handle, PPWDATA, &output);
 #else
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	outb(dataport, output);
 #else
 	outb(output, dataport);
@@ -229,7 +229,7 @@
 #if PARPORT_USE_PPDEV == 1
 	ioctl(device_handle, PPWDATA, &output);
 #else
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	outb(dataport, output);
 #else
 	outb(output, dataport);
@@ -322,17 +322,17 @@
 		return ERROR_JTAG_INIT_FAILED;
 	}
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	DEBUG("opening /dev/ppi%d...", parport_port);
 
 	snprintf(buffer, 256, "/dev/ppi%d", parport_port);
 	device_handle = open(buffer, O_WRONLY);
-#else /* not __Free_BSD */
+#else /* not __FreeBSD__, __FreeBSD_kernel__ */
 	DEBUG("opening /dev/parport%d...", parport_port);
 
 	snprintf(buffer, 256, "/dev/parport%d", parport_port);
 	device_handle = open(buffer, O_WRONLY);
-#endif /* __FreeBSD__ */
+#endif /* __FreeBSD__, __FreeBSD_kernel__ */
 
 	if (device_handle < 0)
 	{
@@ -342,7 +342,7 @@
 
 	DEBUG("...open");
 
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)
 	i=ioctl(device_handle, PPCLAIM);
 	if (i<0)
 	{
@@ -365,7 +365,7 @@
 		ERROR("cannot set compatible 1284 mode to device");
 		return ERROR_JTAG_INIT_FAILED;
 	}
-#endif /* not __Free_BSD__ */
+#endif /* not __FreeBSD__, __FreeBSD_kernel__ */
 
 #else /* not PARPORT_USE_PPDEV */
 	if (parport_port == 0)
@@ -390,7 +390,7 @@
 	DEBUG("...privileges granted");
 	
 	/* make sure parallel port is in right mode (clear tristate and interrupt */
-	#ifdef __FreeBSD__
+	#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 		outb(parport_port + 2, 0x0);
 	#else
 		outb(0x0, parport_port + 2);

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: openocd
Source-Version: 0.0+r188-1

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

openocd_0.0+r188-1.diff.gz
  to pool/main/o/openocd/openocd_0.0+r188-1.diff.gz
openocd_0.0+r188-1.dsc
  to pool/main/o/openocd/openocd_0.0+r188-1.dsc
openocd_0.0+r188-1_i386.deb
  to pool/main/o/openocd/openocd_0.0+r188-1_i386.deb
openocd_0.0+r188.orig.tar.gz
  to pool/main/o/openocd/openocd_0.0+r188.orig.tar.gz



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.
Uwe Hermann <[EMAIL PROTECTED]> (supplier of updated openocd 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.7
Date: Wed, 08 Aug 2007 09:52:50 +0200
Source: openocd
Binary: openocd
Architecture: source i386
Version: 0.0+r188-1
Distribution: unstable
Urgency: low
Maintainer: Uwe Hermann <[EMAIL PROTECTED]>
Changed-By: Uwe Hermann <[EMAIL PROTECTED]>
Description: 
 openocd    - Open on-chip JTAG debug solution for ARM7 and ARM9 systems
Closes: 434842 436527
Changes: 
 openocd (0.0+r188-1) unstable; urgency=low
 .
   * New upstream release.
   * Add armel to the list of architectures (Closes: #434842).
   * Fix the build on Debian GNU/kFreeBSD (Closes: #436527).
   * Do not supply --enable-gw16012 and --enable-amtjtagaccel on
     Debian GNU/kFreeBSD, as that code doesn't support kFreeBSD (yet).
   * Remove unneeded '#include <sys/io.h>' lines, as sys/io.h is not
     available on all architectures. Trying to include the file anyway
     would result in a FTBFS on those architectures.
     With this fix, at least powerpc and mips/mipsel should build fine now.
Files: 
 09f2da4d26d05ed2d2f96c803f45d04b 754 embedded extra openocd_0.0+r188-1.dsc
 fb9bba745914e1441493782a70ef2f64 293386 embedded extra 
openocd_0.0+r188.orig.tar.gz
 3837f200820ffd2315cb3742eb756f64 4453 embedded extra openocd_0.0+r188-1.diff.gz
 1863d4cb772afcaa4e357e4220732445 186462 embedded extra 
openocd_0.0+r188-1_i386.deb

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

iD8DBQFGuXc9XdVoV3jWIbQRApYDAKCNdy90zLbQV2pkffSI3b01FV0ctACgjA6v
/Q9qTQUL5RNgy9vyVOWio6g=
=GjLE
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to