diff options
author | danfe <danfe@FreeBSD.org> | 2004-09-24 00:25:26 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2004-09-24 00:25:26 +0800 |
commit | 6eb5892f315ba589cf452eb5062b4949fffab89c (patch) | |
tree | 25c97f40233d88d50d921da0de5b9d36956bdeff | |
parent | 501279c602d6b3f7531066f56c1e4ae2a370bd08 (diff) | |
download | freebsd-ports-gnome-6eb5892f315ba589cf452eb5062b4949fffab89c.tar.gz freebsd-ports-gnome-6eb5892f315ba589cf452eb5062b4949fffab89c.tar.zst freebsd-ports-gnome-6eb5892f315ba589cf452eb5062b4949fffab89c.zip |
Unbreak the build.
Reported by: kris
Approved by: portmgr (marcus), fjoe (mentor, implicit), maintainer
-rw-r--r-- | comms/gmfsk/Makefile | 8 | ||||
-rw-r--r-- | comms/gmfsk/files/patch-src_mt63_dsp.h | 22 |
2 files changed, 23 insertions, 7 deletions
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 <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - post-install: @${CAT} pkg-message -.include <bsd.port.post.mk> +.include <bsd.port.mk> 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; + } + + /* |