Skip to content

Commit

Permalink
wav2adx: no longer needs explicit lha dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Dec 31, 2015
1 parent 1f15b0f commit 654f15e
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions wav2adx.rb
Expand Up @@ -4,8 +4,6 @@ class Wav2adx < Formula
sha256 "311e868ea03aa4abd1ea2d46e08f34d5b29f436a5f51e54bb47a07fd4c77ef4f"
version "2001-01-25"

depends_on "lha" => :build

# Fix return type of convert function
patch :DATA

Expand All @@ -21,11 +19,11 @@ def install
--- a/wav2adx.c
+++ b/wav2adx.c
@@ -30,7 +30,7 @@ typedef struct {
//#define BASEVOL 0x11e0
#define BASEVOL 0x4000

-int convert(unsigned char *adx,short *wav,PREV *prev)
+void convert(unsigned char *adx,short *wav,PREV *prev)
{
int scale;
int i;
//#define BASEVOL 0x11e0
#define BASEVOL 0x4000

-int convert(unsigned char *adx,short *wav,PREV *prev)
+void convert(unsigned char *adx,short *wav,PREV *prev)
{
int scale;
int i;

0 comments on commit 654f15e

Please sign in to comment.