diff options
author | rm <rm@FreeBSD.org> | 2012-08-12 16:53:27 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2012-08-12 16:53:27 +0800 |
commit | 72a9c8e74e62a2bdb853f3b59bc16fe47cea0d13 (patch) | |
tree | b44cc1ef5fa287bb6e7dbc4adf60b126817621de /audio/ctronome | |
parent | 6ca9d733e77a39cab90f1dee2f5b544e2e13a9a7 (diff) | |
download | freebsd-ports-gnome-72a9c8e74e62a2bdb853f3b59bc16fe47cea0d13.tar.gz freebsd-ports-gnome-72a9c8e74e62a2bdb853f3b59bc16fe47cea0d13.tar.zst freebsd-ports-gnome-72a9c8e74e62a2bdb853f3b59bc16fe47cea0d13.zip |
- 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)
Diffstat (limited to 'audio/ctronome')
-rw-r--r-- | audio/ctronome/Makefile | 1 | ||||
-rw-r--r-- | audio/ctronome/files/patch-ctronome.h | 22 | ||||
-rw-r--r-- | audio/ctronome/pkg-descr | 2 |
3 files changed, 24 insertions, 1 deletions
diff --git a/audio/ctronome/Makefile b/audio/ctronome/Makefile index 30a19925b515..9d19e5eee011 100644 --- a/audio/ctronome/Makefile +++ b/audio/ctronome/Makefile @@ -7,6 +7,7 @@ PORTNAME= ctronome PORTVERSION= 0.5.3 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://ctronome.kign.org/source/ diff --git a/audio/ctronome/files/patch-ctronome.h b/audio/ctronome/files/patch-ctronome.h new file mode 100644 index 000000000000..b895721818c0 --- /dev/null +++ b/audio/ctronome/files/patch-ctronome.h @@ -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; diff --git a/audio/ctronome/pkg-descr b/audio/ctronome/pkg-descr index b5e093bc221d..376fe563370f 100644 --- a/audio/ctronome/pkg-descr +++ b/audio/ctronome/pkg-descr @@ -1,3 +1,3 @@ A very simple yet powerful programmable console metronome. -WWW: http://ctronome.kign.org/ +WWW: http://ctronome.kign.org/ |