diff options
Diffstat (limited to 'multimedia/minidlna/patches/patch-inline')
-rw-r--r-- | multimedia/minidlna/patches/patch-inline | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/multimedia/minidlna/patches/patch-inline b/multimedia/minidlna/patches/patch-inline new file mode 100644 index 00000000000..a73e8ac0040 --- /dev/null +++ b/multimedia/minidlna/patches/patch-inline @@ -0,0 +1,25 @@ +$NetBSD: patch-inline,v 1.1 2012/10/15 22:48:02 drochner Exp $ + +--- tagutils/misc.h 2009-02-25 16:16:51.000000000 -0500 ++++ tagutils/misc.h 2010-07-08 07:30:12.000000000 -0400 +@@ -38,13 +38,12 @@ + #endif + ++__u16 le16_to_cpu(__u16 le16); ++__u32 le32_to_cpu(__u32 le32); ++__u64 le64_to_cpu(__u64 le64); ++__u8 fget_byte(FILE *fp); ++__u16 fget_le16(FILE *fp); ++__u32 fget_le32(FILE *fp); + +-inline __u16 le16_to_cpu(__u16 le16); +-inline __u32 le32_to_cpu(__u32 le32); +-inline __u64 le64_to_cpu(__u64 le64); +-inline __u8 fget_byte(FILE *fp); +-inline __u16 fget_le16(FILE *fp); +-inline __u32 fget_le32(FILE *fp); +- +-inline __u32 cpu_to_be32(__u32 cpu32); ++__u32 cpu_to_be32(__u32 cpu32); + + extern char * sha1_hex(char *key); |