update to libbdplus-0.2.0, from Brad

This commit is contained in:
sthen 2022-03-24 16:28:07 +00:00
parent 1a66968ffc
commit 3cc3781e08
4 changed files with 6 additions and 46 deletions

View File

@ -1,14 +1,12 @@
COMMENT = BD+ support library for Blu-ray playback
V = 0.1.2
V = 0.2.0
DISTNAME = libbdplus-${V}
REVISION = 0
CATEGORIES = multimedia
HOMEPAGE = http://www.videolan.org/developers/libbdplus.html
MASTER_SITES = https://download.videolan.org/pub/videolan/libbdplus/${V}/ \
ftp://ftp.videolan.org/pub/videolan/libbdplus/${V}/
MASTER_SITES = https://download.videolan.org/pub/videolan/libbdplus/${V}/
EXTRACT_SUFX = .tar.bz2
# LGPL v2.1
@ -16,8 +14,7 @@ PERMIT_PACKAGE = Yes
WANTLIB = gcrypt gpg-error iconv intl pthread
SHARED_LIBS += bdplus 0.0 # 1.0
SHARED_LIBS += bdplus 0.1 # 1.0
LIB_DEPENDS = security/libgcrypt

View File

@ -1,2 +1,2 @@
SHA256 (libbdplus-0.1.2.tar.bz2) = pjHK4800vwVNsEC2Ttv8hDCTbnYutDOxeJNYrD09yAo=
SIZE (libbdplus-0.1.2.tar.bz2) = 319828
SHA256 (libbdplus-0.2.0.tar.bz2) = uT7qPq7zPW6RVdLDSwaMUFSTqlpJNuYydPQ0KrD0Clg=
SIZE (libbdplus-0.2.0.tar.bz2) = 321743

View File

@ -1,37 +0,0 @@
convtab_dump.c:32: error: 'index' redeclared as different kind of symbol
--- src/examples/convtab_dump.c.orig Mon Jun 15 00:37:26 2015
+++ src/examples/convtab_dump.c Mon Jun 15 00:38:16 2015
@@ -29,7 +29,7 @@
// raw table
#define MAX_TAB_SIZE 64*1024*1024
uint8_t tab[MAX_TAB_SIZE];
-uint32_t index[0xffff];
+uint32_t bindex[0xffff];
static size_t _read_tab(const char *file)
{
@@ -99,7 +99,7 @@ int main(int argc, char **argv)
// read index table
for (entry = 0; entry < numEntries; entry++) {
- index[entry] = FETCH4(&tab[offset]);
+ bindex[entry] = FETCH4(&tab[offset]);
offset += 4;
}
@@ -125,12 +125,12 @@ int main(int argc, char **argv)
memcpy(patch1, &tab[ offset ], sizeof(patch1));
offset += 5;
- uint64_t off0 = (( (uint64_t)index[entry] +
+ uint64_t off0 = (( (uint64_t)bindex[entry] +
(uint64_t)patch0_address_adjust) *
(uint64_t)0xC0 +
(uint64_t)patch0_buffer_offset);
- uint64_t off1 = (( (uint64_t)index[entry] +
+ uint64_t off1 = (( (uint64_t)bindex[entry] +
(uint64_t)patch0_address_adjust +
(uint64_t)patch1_address_adjust) *
(uint64_t)0xC0 +

View File

@ -1,7 +1,7 @@
include/libbdplus/
include/libbdplus/bdplus-version.h
include/libbdplus/bdplus.h
lib/libbdplus.a
@static-lib lib/libbdplus.a
lib/libbdplus.la
@lib lib/libbdplus.so.${LIBbdplus_VERSION}
lib/pkgconfig/libbdplus.pc