diff --git a/srcpkgs/cdparanoia/patches/byteswap-null-check.diff b/srcpkgs/cdparanoia/patches/byteswap-null-check.diff new file mode 100644 index 00000000000..77f61474a6a --- /dev/null +++ b/srcpkgs/cdparanoia/patches/byteswap-null-check.diff @@ -0,0 +1,13 @@ +Index: interface/interface.c +=================================================================== +--- a/interface/interface.c (revision 15338) ++++ b/interface/interface.c (revision 15356) +@@ -118,7 +118,7 @@ + if(d->bigendianp==-1) /* not determined yet */ + d->bigendianp=data_bigendianp(d); + +- if(d->bigendianp!=bigendianp()){ ++ if(buffer && d->bigendianp!=bigendianp()){ + int i; + u_int16_t *p=(u_int16_t *)buffer; + long els=sectors*CD_FRAMESIZE_RAW/2; diff --git a/srcpkgs/cdparanoia/template b/srcpkgs/cdparanoia/template index 3cf09587f21..3566b6a62e7 100644 --- a/srcpkgs/cdparanoia/template +++ b/srcpkgs/cdparanoia/template @@ -1,7 +1,7 @@ # Template file for 'cdparanoia' pkgname=cdparanoia version=10.2 -revision=14 +revision=15 wrksrc="${pkgname}-III-${version}" build_style=gnu-configure hostmakedepends="libtool automake"