- add patch to fix runtime on amd64

I also got an response from upstream maintainer that this change
will be included into the next release.

PR:		170207
Submitted by:	Dmitry Kazarov <d.y.kazarov at mail dot ru>
Approved by:	maintainer timeout (>2 weeks)
This commit is contained in:
Ruslan Makhmatkhanov 2012-08-12 08:53:27 +00:00
parent 50eadf7862
commit 11d227f84c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302428
3 changed files with 24 additions and 1 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= ctronome
PORTVERSION= 0.5.3
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://ctronome.kign.org/source/

View file

@ -0,0 +1,22 @@
--- ctronome.h.orig 2012-07-22 15:14:52.000000000 +0400
+++ ctronome.h 2012-07-22 15:15:31.000000000 +0400
@@ -1,4 +1,6 @@
#include <sys/soundcard.h>
+#include <stdint.h>
+
#define MYNAME "ctronome"
#define VERSION "0.5.3"
#define CREDITS "homepage: http://ctronome.kign.org/\n"
@@ -28,9 +30,9 @@
for defaults/limits and required WAV format see README\n"
/* my lazy type definitions */
-typedef unsigned long int DWORD;
-typedef unsigned short int WORD;
-typedef unsigned char BYTE;
+typedef uint32_t DWORD;
+typedef uint16_t WORD;
+typedef uint8_t BYTE;
typedef DWORD dword;
typedef WORD word;
typedef BYTE byte;

View file

@ -1,3 +1,3 @@
A very simple yet powerful programmable console metronome.
WWW: http://ctronome.kign.org/
WWW: http://ctronome.kign.org/