From e981dc41dd1eee4e335ff0176922b0fe950a0d8c Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Thu, 23 Sep 2004 16:25:26 +0000 Subject: Unbreak the build. Reported by: kris Approved by: portmgr (marcus), fjoe (mentor, implicit), maintainer --- comms/gmfsk/Makefile | 8 +------- comms/gmfsk/files/patch-src_mt63_dsp.h | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 comms/gmfsk/files/patch-src_mt63_dsp.h (limited to 'comms/gmfsk') diff --git a/comms/gmfsk/Makefile b/comms/gmfsk/Makefile index 355617fe187c..cc76b4ddefe7 100644 --- a/comms/gmfsk/Makefile +++ b/comms/gmfsk/Makefile @@ -26,13 +26,7 @@ USE_GMAKE= yes USE_AUTOCONF_VER= 253 USE_GNOME= libgnomeui -.include - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - post-install: @${CAT} pkg-message -.include +.include diff --git a/comms/gmfsk/files/patch-src_mt63_dsp.h b/comms/gmfsk/files/patch-src_mt63_dsp.h new file mode 100644 index 000000000000..b5c4459cd6de --- /dev/null +++ b/comms/gmfsk/files/patch-src_mt63_dsp.h @@ -0,0 +1,22 @@ +--- src/mt63/dsp.h.orig Thu Sep 23 16:05:14 2004 ++++ src/mt63/dsp.h Thu Sep 23 16:09:10 2004 +@@ -846,7 +846,7 @@ + Sum = Elem.Mid + Elem.Out; + Diff = Elem.Mid - Elem.Out; + Elem.Mid += W2 * Inp - W1 * Sum; +- Out += W5 * Diff; ++ Elem.Out += W5 * Diff; + } + + template < class typeInp > +@@ -856,8 +856,8 @@ + double Sum, Diff; + Sum = Elem.Mid + Elem.Out; + Diff = Elem.Mid - Elem.Out; +- Elem.Mid += Weight.W2 * Inp - Weigth.W1 * Sum; +- Out += Weight.W5 * Diff; ++ Elem.Mid += Weight.W2 * Inp - Weight.W1 * Sum; ++ Elem.Out += Weight.W5 * Diff; + } + + /* -- cgit v1.2.3