diff options
author | martin <martin@pkgsrc.org> | 2003-07-02 09:04:36 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2003-07-02 09:04:36 +0000 |
commit | 3b89eaf2075ff383bb5de01455668924503bd816 (patch) | |
tree | 5c5ebee873333b0d6b789a1f5280f946f567309d /audio/id3ed | |
parent | 4f10de034b46e00b486498c9aa7035bae65f8542 (diff) | |
download | pkgsrc-3b89eaf2075ff383bb5de01455668924503bd816.tar.gz |
Make this work on platforms where sizeof(size_t) != sizeof(int)
Diffstat (limited to 'audio/id3ed')
-rw-r--r-- | audio/id3ed/distinfo | 3 | ||||
-rw-r--r-- | audio/id3ed/patches/patch-aa | 22 |
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; |