wok rev 18633

libmms: apply patch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 27 00:31:34 2015 +0200 (2015-11-27)
parents e73879136901
children 1ea9701ce3ca
files libmms-dev/receipt libmms/receipt libmms/stuff/libmms.patch
line diff
     1.1 --- a/libmms-dev/receipt	Wed Nov 25 23:52:53 2015 +0200
     1.2 +++ b/libmms-dev/receipt	Fri Nov 27 00:31:34 2015 +0200
     1.3 @@ -19,4 +19,3 @@
     1.4  	cp -a $install/usr/lib/*.*a $fs/usr/lib
     1.5  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
     1.6  }
     1.7 -
     2.1 --- a/libmms/receipt	Wed Nov 25 23:52:53 2015 +0200
     2.2 +++ b/libmms/receipt	Fri Nov 27 00:31:34 2015 +0200
     2.3 @@ -16,11 +16,10 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	cd $src
     2.8 +	patch -p1 -i $stuff/libmms.patch
     2.9 +
    2.10  	./configure \
    2.11  		--prefix=/usr \
    2.12 -		--infodir=/usr/share/info \
    2.13 -		--mandir=/usr/share/man \
    2.14  		$CONFIGURE_ARGS &&
    2.15  	make && make DESTDIR=$DESTDIR install
    2.16  }
    2.17 @@ -31,4 +30,3 @@
    2.18  	mkdir -p $fs/usr/lib
    2.19  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.20  }
    2.21 -
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libmms/stuff/libmms.patch	Fri Nov 27 00:31:34 2015 +0200
     3.3 @@ -0,0 +1,47 @@
     3.4 +--- a/src/mmsx.h
     3.5 ++++ b/src/mmsx.h
     3.6 +@@ -55,11 +55,11 @@
     3.7 + 
     3.8 + mms_off_t mmsx_get_current_pos (mmsx_t *instance);
     3.9 + 
    3.10 +-uint32_t  mmsx_get_asf_header_len (mmsx_t *this);
    3.11 ++uint32_t  mmsx_get_asf_header_len (mmsx_t *instance);
    3.12 + 
    3.13 +-uint64_t  mmsx_get_asf_packet_len (mmsx_t *this);
    3.14 ++uint64_t  mmsx_get_asf_packet_len (mmsx_t *instance);
    3.15 + 
    3.16 +-int       mmsx_get_seekable (mmsx_t *this);
    3.17 ++int       mmsx_get_seekable (mmsx_t *instance);
    3.18 + 
    3.19 + #ifdef __cplusplus
    3.20 + }
    3.21 +
    3.22 +--- a/src/mmsh.h
    3.23 ++++ b/src/mmsh.h
    3.24 +@@ -41,20 +41,20 @@
    3.25 + 
    3.26 + int      mmsh_read (mms_io_t *io, mmsh_t *instance, char *data, int len);
    3.27 + int      mmsh_time_seek (mms_io_t *io, mmsh_t *instance, double time_sec);
    3.28 +-mms_off_t mmsh_seek (mms_io_t *io, mmsh_t *this, mms_off_t offset, int origin);
    3.29 ++mms_off_t mmsh_seek (mms_io_t *io, mmsh_t *instance, mms_off_t offset, int origin);
    3.30 + uint32_t mmsh_get_length (mmsh_t *instance);
    3.31 +-double   mmsh_get_time_length (mmsh_t *this);
    3.32 +-uint64_t mmsh_get_raw_time_length (mmsh_t *this);
    3.33 ++double   mmsh_get_time_length (mmsh_t *instance);
    3.34 ++uint64_t mmsh_get_raw_time_length (mmsh_t *instance);
    3.35 + mms_off_t mmsh_get_current_pos (mmsh_t *instance);
    3.36 + void     mmsh_close (mmsh_t *instance);
    3.37 + 
    3.38 + int      mmsh_peek_header (mmsh_t *instance, char *data, int maxsize);
    3.39 + 
    3.40 +-uint32_t mmsh_get_asf_header_len (mmsh_t *this);
    3.41 ++uint32_t mmsh_get_asf_header_len (mmsh_t *instance);
    3.42 + 
    3.43 +-uint32_t mmsh_get_asf_packet_len (mmsh_t *this);
    3.44 ++uint32_t mmsh_get_asf_packet_len (mmsh_t *instance);
    3.45 + 
    3.46 +-int      mmsh_get_seekable (mmsh_t *this);
    3.47 ++int      mmsh_get_seekable (mmsh_t *instance);
    3.48 + 
    3.49 + #ifdef __cplusplus
    3.50 + }