mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Fix on 64bit platforms
This commit is contained in:
parent
6ef53926e2
commit
deb9e5e87e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249148
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= REminiscence
|
||||
PORTVERSION= 0.1.9
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://cyxdown.free.fr/reminiscence/ \
|
||||
http://mirror.amdmi3.ru/distfiles/
|
||||
@ -45,10 +45,4 @@ post-install:
|
||||
.endif
|
||||
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != i386
|
||||
IGNORE= Doesn't work on !i386 (ERROR: Bad CRC for bank data 38!)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
23
games/reminiscence/files/patch-sys.h
Normal file
23
games/reminiscence/files/patch-sys.h
Normal file
@ -0,0 +1,23 @@
|
||||
--- sys.h.orig 2007-03-17 00:45:52.000000000 +0300
|
||||
+++ sys.h 2010-02-02 20:23:49.000000000 +0300
|
||||
@@ -19,12 +19,14 @@
|
||||
#ifndef __SYS_H__
|
||||
#define __SYS_H__
|
||||
|
||||
-typedef unsigned char uint8;
|
||||
-typedef signed char int8;
|
||||
-typedef unsigned short uint16;
|
||||
-typedef signed short int16;
|
||||
-typedef unsigned long uint32;
|
||||
-typedef signed long int32;
|
||||
+#include <stdint.h>
|
||||
+
|
||||
+typedef uint8_t uint8;
|
||||
+typedef int8_t int8;
|
||||
+typedef uint16_t uint16;
|
||||
+typedef int16_t int16;
|
||||
+typedef uint32_t uint32;
|
||||
+typedef int32_t int32;
|
||||
|
||||
inline uint16 READ_BE_UINT16(const void *ptr) {
|
||||
const uint8 *b = (const uint8 *)ptr;
|
Loading…
Reference in New Issue
Block a user