diff options
author | wiz <wiz@pkgsrc.org> | 2003-01-09 01:19:10 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-01-09 01:19:10 +0000 |
commit | e01ff101f88ff3b0b9b6dbb403528db6ae107eff (patch) | |
tree | 86b4f5f4be2758010abf72e8f722e67b4709a09d /audio/easytag | |
parent | 70fb5765020f6d9995597fe0ac92c975b29c211d (diff) | |
download | pkgsrc-e01ff101f88ff3b0b9b6dbb403528db6ae107eff.tar.gz |
Fix id3lib detection.
Diffstat (limited to 'audio/easytag')
-rw-r--r-- | audio/easytag/distinfo | 3 | ||||
-rw-r--r-- | audio/easytag/patches/patch-aa | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/audio/easytag/distinfo b/audio/easytag/distinfo index 51784afd0cb..339f1216299 100644 --- a/audio/easytag/distinfo +++ b/audio/easytag/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.10 2003/01/03 15:24:58 wiz Exp $ +$NetBSD: distinfo,v 1.11 2003/01/09 01:19:10 wiz Exp $ SHA1 (easytag-0.26.tar.gz) = 34c6e7803eb06bf2f291a7e513dddfa2e6220a91 Size (easytag-0.26.tar.gz) = 1310948 bytes +SHA1 (patch-aa) = 76d47be8fa443cedfa97ab4087f0a56f0fa0a308 diff --git a/audio/easytag/patches/patch-aa b/audio/easytag/patches/patch-aa new file mode 100644 index 00000000000..aec780a53e5 --- /dev/null +++ b/audio/easytag/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.10 2003/01/09 01:19:11 wiz Exp $ + +--- configure.orig Tue Dec 31 14:24:37 2002 ++++ configure +@@ -8312,8 +8312,7 @@ int + main () + { + FILE *output; +- dnl output=fopen("conftest.id3","w"); dnl doesn't work on NetBSD. +- output=fopen("/tmp/conftest.id3","w"); ++ output=fopen("conftest.id3","w"); + fprintf(output,"ID3LIB_MAJOR=%d\nID3LIB_MINOR=%d\nID3LIB_PATCH=%d\n",ID3LIB_MAJOR_VERSION,ID3LIB_MINOR_VERSION,ID3LIB_PATCH_VERSION); + fclose(output); + exit(0); +@@ -8331,7 +8330,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then +- . conftest.id3; echo "${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}" ++ . ./conftest.id3; echo "${ID3LIB_MAJOR}.${ID3LIB_MINOR}.${ID3LIB_PATCH}" + else + echo "$as_me: program exited with status $ac_status" >&5 + echo "$as_me: failed program was:" >&5 |