summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/id3ed/distinfo3
-rw-r--r--audio/id3ed/patches/patch-aa22
2 files changed, 24 insertions, 1 deletions
diff --git a/audio/id3ed/distinfo b/audio/id3ed/distinfo
index cbed48a35d3..46ef676a6af 100644
--- a/audio/id3ed/distinfo
+++ b/audio/id3ed/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.4 2003/01/10 17:53:06 salo Exp $
+$NetBSD: distinfo,v 1.5 2003/07/02 09:04:36 martin Exp $
SHA1 (id3ed-1.10.4.tar.gz) = b699e645fcea2fa42658886621eb10531d24008a
Size (id3ed-1.10.4.tar.gz) = 31610 bytes
+SHA1 (patch-aa) = b20838a13e1cae3217917d4f5f8023c4329aa979
diff --git a/audio/id3ed/patches/patch-aa b/audio/id3ed/patches/patch-aa
new file mode 100644
index 00000000000..b940dfcd89d
--- /dev/null
+++ b/audio/id3ed/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.7 2003/07/02 09:04:37 martin Exp $
+
+--- misc.cc.orig 2003-07-02 10:55:17.000000000 +0200
++++ misc.cc 2003-07-02 10:57:55.000000000 +0200
+@@ -8,7 +8,7 @@
+ int doread(int handle,void * buf,ssize_t len, const char * name){
+ ssize_t i;
+ if ((i=read(handle,buf,len))!=len){
+- fprintf(stderr,"Error reading %s (%i/%i): %s\n",name,i,len,strerror(errno));
++ fprintf(stderr,"Error reading %s (%li/%li): %s\n",name,(long)i,(long)len,strerror(errno));
+ return -1;
+ }
+ return 0;
+@@ -16,7 +16,7 @@
+ int dowrite(int handle, const void * buf, ssize_t len,const char *name,const char *name2){
+ ssize_t i;
+ if ((i=write(handle,buf,len))!=len){
+- fprintf(stderr,"Error writing %s %s (%i/%i): %s\n",name,name2,i,len,strerror(errno));
++ fprintf(stderr,"Error writing %s %s (%li/%li): %s\n",name,name2,(long)i,(long)len,strerror(errno));
+ return -1;
+ }
+ else return 0;