1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Simple fix to unbreak this port

This commit is contained in:
Diane Bruce 2014-06-09 01:19:32 +00:00
parent 4c946cb3bb
commit b3287bd068
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357081
2 changed files with 13 additions and 5 deletions

View File

@ -11,8 +11,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lambert@lambertfam.org
COMMENT= Morse code training program
BROKEN= Does not build with modern compilers
LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao
GNU_CONFIGURE= yes

View File

@ -1,6 +1,16 @@
--- src/audioworkspace.cc.orig 2010-06-06 14:43:58.000000000 +0200
+++ src/audioworkspace.cc 2010-06-06 14:44:27.000000000 +0200
@@ -104,6 +104,7 @@ oastream AudioWorkSpace::create_output_s
--- src/audioworkspace.cc.orig 2007-11-05 03:58:46.000000000 -0500
+++ src/audioworkspace.cc 2014-06-08 20:17:26.477449983 -0400
@@ -31,7 +31,8 @@
#include <cmath>
#include <iostream>
#include <limits>
-
+#include <string.h>
+
using namespace std;
using namespace libaudiostream;
@@ -104,6 +105,7 @@
{
ao_sample_format format;