View | Details | Raw Unified | Return to bug 85711
Collapse All | Expand All

(-)generator-cbiere/Makefile (-3 / +3 lines)
Lines 2-18 Link Here
2
# Date created:        7 Jun 2005
2
# Date created:        7 Jun 2005
3
# Whom:                Alejandro Pulver <alejandro@varnet.biz>
3
# Whom:                Alejandro Pulver <alejandro@varnet.biz>
4
#
4
#
5
# $FreeBSD: ports/emulators/generator-cbiere/Makefile,v 1.3 2005/08/30 01:10:02 ahze Exp $
5
# $FreeBSD: ports/emulators/generator-cbiere/Makefile,v 1.2 2005/07/15 18:50:55 lesi Exp $
6
#
6
#
7
7
8
PORTNAME=	generator
8
PORTNAME=	generator
9
PORTVERSION=	0.35.r1
9
PORTVERSION=	0.35.r2
10
PORTEPOCH=	1
10
PORTEPOCH=	1
11
CATEGORIES=	emulators
11
CATEGORIES=	emulators
12
MASTER_SITES=	http://www.ghostwhitecrab.com/generator/ \
12
MASTER_SITES=	http://www.ghostwhitecrab.com/generator/ \
13
		http://www.ghostwhitecrab.de/generator/
13
		http://www.ghostwhitecrab.de/generator/
14
PKGNAMESUFFIX=	-cbiere
14
PKGNAMESUFFIX=	-cbiere
15
DISTNAME=	${PORTNAME}-0.35${PKGNAMESUFFIX}-r1
15
DISTNAME=	${PORTNAME}-0.35${PKGNAMESUFFIX}-r2
16
16
17
MAINTAINER=	alejandro@varnet.biz
17
MAINTAINER=	alejandro@varnet.biz
18
COMMENT=	SEGA Genesis emulator
18
COMMENT=	SEGA Genesis emulator
(-)generator-cbiere/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (generator-0.35-cbiere-r1.tar.bz2) = 94cbc31f778f5ec6cc2979520aae26d6
1
MD5 (generator-0.35-cbiere-r2.tar.bz2) = 2076c20e0ad1b20d9ac15cab8cb12ad5
2
SIZE (generator-0.35-cbiere-r1.tar.bz2) = 445802
2
SIZE (generator-0.35-cbiere-r2.tar.bz2) = 446101
(-)generator-cbiere/files/patch-hdr_generator.h (-30 lines)
Lines 1-30 Link Here
1
--- hdr/generator.h.orig	Sun Aug 28 14:44:26 2005
2
+++ hdr/generator.h	Sun Aug 28 22:33:12 2005
3
@@ -257,17 +257,26 @@
4
 #include "registers.h"
5
 #endif
6
 
7
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
8
+#include <sys/param.h>
9
+#endif
10
+
11
 #if defined(linux)
12
 
13
 #include <byteswap.h>
14
 #define SWAP16(x) bswap_16((x))
15
 #define SWAP32(x) bswap_32((x))
16
 
17
-#elif defined(__FreeBSD__)
18
+#elif defined(__FreeBSD__) && __FreeBSD_version >=500000
19
 
20
 #include <sys/endian.h>
21
 #define SWAP16(x) bswap16((x))
22
 #define SWAP32(x) bswap32((x))
23
+
24
+#elif defined(__FreeBSD__)
25
+#include <sys/endian.h>
26
+#define SWAP16(x) (be16toh(x))
27
+#define SWAP32(x) (be32toh(x))
28
 
29
 #elif defined(__NetBSD__)
30
 

Return to bug 85711