pkgsrc/multimedia/dvb-apps/patches/patch-lib_libucsi_mpeg_registration__descriptor.h
jmcneill f236f6ffc0 add the following to the dvb-apps build:
- libdvbapi
 - libucsi
 - atsc_epg
 - azap / czap / szap / tzap
 - dvbdate
2011-07-15 22:59:20 +00:00

13 lines
494 B
C

$NetBSD: patch-lib_libucsi_mpeg_registration__descriptor.h,v 1.1 2011/07/15 22:59:21 jmcneill Exp $
--- lib/libucsi/mpeg/registration_descriptor.h.orig 2011-06-28 05:50:24.000000000 +0000
+++ lib/libucsi/mpeg/registration_descriptor.h
@@ -52,7 +52,7 @@ static inline struct mpeg_registration_d
if (d->len < (sizeof(struct mpeg_registration_descriptor) - 2))
return NULL;
- bswap32((uint8_t*) d + 2);
+ ubswap32((uint8_t*) d + 2);
return (struct mpeg_registration_descriptor*) d;
}