diff options
author | wiz <wiz> | 2002-01-21 11:34:56 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-01-21 11:34:56 +0000 |
commit | cf050b45e248fd25cbc808754dddf8ac65556412 (patch) | |
tree | 6088030eb59177036773802b8459e6ba762d0d61 /audio/mp3_check | |
parent | 6d98692442d2620d5c76ac0d731837f85e488996 (diff) | |
download | pkgsrc-cf050b45e248fd25cbc808754dddf8ac65556412.tar.gz |
Buildlink'ify; make compile on -current, and perhaps on alpha too.
Diffstat (limited to 'audio/mp3_check')
-rw-r--r-- | audio/mp3_check/Makefile | 4 | ||||
-rw-r--r-- | audio/mp3_check/distinfo | 5 | ||||
-rw-r--r-- | audio/mp3_check/patches/patch-aa | 13 | ||||
-rw-r--r-- | audio/mp3_check/patches/patch-ab | 13 | ||||
-rw-r--r-- | audio/mp3_check/patches/patch-ac | 13 |
5 files changed, 46 insertions, 2 deletions
diff --git a/audio/mp3_check/Makefile b/audio/mp3_check/Makefile index 0447a797827..7520d34a670 100644 --- a/audio/mp3_check/Makefile +++ b/audio/mp3_check/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/08/02 17:50:25 drochner Exp $ +# $NetBSD: Makefile,v 1.2 2002/01/21 11:34:56 wiz Exp $ # DISTNAME= mp3_check-1.98 @@ -9,6 +9,8 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://mp3check.sourceforge.net/ COMMENT= mp3 file checker +USE_BUILDLINK_ONLY= YES + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mp3_check ${PREFIX}/bin diff --git a/audio/mp3_check/distinfo b/audio/mp3_check/distinfo index d88365fcc6d..c7c95ae3bc9 100644 --- a/audio/mp3_check/distinfo +++ b/audio/mp3_check/distinfo @@ -1,4 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/08/02 17:50:25 drochner Exp $ +$NetBSD: distinfo,v 1.2 2002/01/21 11:34:56 wiz Exp $ SHA1 (mp3_check-1.98.tar.gz) = 64f796d9b29fecb34ce05b05d75404aadd8fdb52 Size (mp3_check-1.98.tar.gz) = 83098 bytes +SHA1 (patch-aa) = 9423112f485d586de118da3af78980ec352bfa03 +SHA1 (patch-ab) = 6c63b7addb3721d392a00d36e8efef8464b66ebd +SHA1 (patch-ac) = f3e348cbab998e4247f5e6630e55966df8bc6899 diff --git a/audio/mp3_check/patches/patch-aa b/audio/mp3_check/patches/patch-aa new file mode 100644 index 00000000000..58f347f38d8 --- /dev/null +++ b/audio/mp3_check/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2002/01/21 11:34:56 wiz Exp $ + +--- Makefile.orig Sat Jul 29 08:41:38 2000 ++++ Makefile +@@ -3,7 +3,7 @@ + CC ?= gcc + LOCALBASE ?= /usr/local + CFLAGS += -Wall -Werror +-OPT_FLAGS = -L${LOCALBASE}/lib ++OPT_FLAGS = + OBJS = mp3_check.o \ + mp3_check_misc.o + diff --git a/audio/mp3_check/patches/patch-ab b/audio/mp3_check/patches/patch-ab new file mode 100644 index 00000000000..8f9a9f73e3e --- /dev/null +++ b/audio/mp3_check/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2002/01/21 11:34:57 wiz Exp $ + +--- mp3_check_misc.c.orig Sat Sep 16 05:36:01 2000 ++++ mp3_check_misc.c +@@ -631,6 +631,8 @@ + int error_count = 0; + int found_file = FALSE; + ++ fp = NULL; ++ filename = NULL; + + do { + if (*argv) { diff --git a/audio/mp3_check/patches/patch-ac b/audio/mp3_check/patches/patch-ac new file mode 100644 index 00000000000..6b7826741ad --- /dev/null +++ b/audio/mp3_check/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2002/01/21 11:34:57 wiz Exp $ + +--- support_functions.h.orig Sat Jul 29 08:41:38 2000 ++++ support_functions.h +@@ -680,7 +680,7 @@ + printf("%-20s%d\n", "BitRate", mp3_i->BIT_RATE); + printf("%-20s%d\n", "SampRate", mp3_i->SAMPLE_FREQ); + printf("%-20s%s\n", "BinString", mp3_i->BIN_STRING); +- printf("%-20s%d\n", "BinLen", strlen(mp3_i->BIN_STRING)); ++ printf("%-20s%llu\n", "BinLen", (unsigned long long)strlen(mp3_i->BIN_STRING)); + printf("%-20s%u\n", "IntHeader", mp3_i->INT_HEADER); + printf("%-20s0x%x\n", "CRC16Value", mp3_i->CRC16_VALUE); + printf("%-20s0x%x\n", "Correct_CRC16Value", mp3_i->CORRECT_CRC16_VALUE); |