Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2002 17:40:04 -0700 (PDT)
From:      Jon Noack <noackjr@compgeek.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/43877: Ogle port broken on STABLE
Message-ID:  <200210100040.g9A0e4gx026596@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/43877; it has been noted by GNATS.

From: Jon Noack <noackjr@compgeek.com>
To: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Cc: Jose Marques <noway@nohow.demon.co.uk>,
	freebsd-gnats-submit@FreeBSD.ORG,
	Kim Scarborough <sluggo@unknown.nu>, mbr@FreeBSD.org,
	eivind@FreeBSD.org
Subject: Re: ports/43877: Ogle port broken on STABLE
Date: Wed, 09 Oct 2002 19:38:09 -0500

 I am running 4.7-RC:
 $ uname -a
 FreeBSD optimator.dnsalias.org 4.7-RC FreeBSD 4.7-RC #6: Fri Oct  4 
 03:48:44 CDT 2002 
 noackjr@optimator.dnsalias.org:/usr/obj/usr/src/sys/OPTIMATOR  i386
 
 
 I have <sys/endian.h>:
 $ find /usr/src /usr/include /usr/X11R6/include /usr/local/include/ 
 -name endian.h
 /usr/src/sys/alpha/include/endian.h
 /usr/src/sys/i386/boot/dosboot/endian.h
 /usr/src/sys/i386/include/endian.h
 /usr/src/sys/netatalk/endian.h
 /usr/src/sys/sys/endian.h
 /usr/include/machine/endian.h
 /usr/include/netatalk/endian.h
 /usr/include/sys/endian.h
 
 After running a 'make -DWITH_OPTIMIZED_BYTESWAP patch' with the latest 
 version of the port (after a cvsup), I made the following changes to 
 ogle_endian.h to make it compile:
 
 $ diff -u ogle_endian.h.orig ogle_endian.h
 --- ogle_endian.h.orig  Wed Oct  9 19:27:33 2002
 +++ ogle_endian.h       Wed Oct  9 19:25:11 2002
 @@ -36,17 +36,6 @@
   #elif defined(HAVE_SYS_BSWAP_H)
   #  include <sys/bswap.h>
   #  define FROM_BE_32(x) (bswap32(x))
 -#elif defined(HAVE_SYS_ENDIAN_H)
 -#  include <sys/endian.h>
 -#if defined(__FreeBSD__)
 -#if __FreeBSD_version >= 500000
 -#  define FROM_BE_32(x) (bswap32(x))
 -#else
 -#  define FROM_BE_32(x) (swap32(x))
 -#endif
 -#else
 -#  define FROM_BE_32(x) (swap32(x))
 -#endif
   #elif defined(__FreeBSD__)
   #  define _KERNEL
   #  define I486_CPU     /* Will crash unless 486+ */
 
 Haven't tested it yet, but hopefully all is well...
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210100040.g9A0e4gx026596>