pkgsrc/audio/id3lib/patches/patch-af
drochner ca77633070 solve the strings.h problem in a better way -
The library contains a header file "strings.h" which gets pulled in
by <string.h>, leading to lossage. Defining ANSI_SOURCE used to help,
but now we don't get an mkstemp() prototype anymore if this is defined,
leading to compile problems at another place...
So finally rename the pkg's strings.h.
Being here, update to ...pre2, the changelog is
* Many bug fixes -- mostly compilation problems -- more detailed info will be
  provided in a later release.
2002-01-08 17:49:12 +00:00

13 lines
372 B
Text

$NetBSD: patch-af,v 1.2 2002/01/08 17:49:13 drochner Exp $
--- include/id3/reader.h.orig Mon Jul 30 20:22:53 2001
+++ include/id3/reader.h Tue Jan 8 18:27:06 2002
@@ -33,7 +33,7 @@
class ID3_CPP_EXPORT ID3_Reader
{
public:
- typedef uint32 size_type;
+ typedef size_t size_type;
typedef uint8 char_type;
typedef uint32 pos_type;
typedef int32 off_type;