# HG changeset patch # User Aleksej Bobylev # Date 1448577094 -7200 # Node ID d4cb85d5a82ca9d4dfff72b94a70c4d2c6897fb2 # Parent e738791369013b73ac4b8d7eeeae8c084ae5ea1d libmms: apply patch diff -r e73879136901 -r d4cb85d5a82c libmms-dev/receipt --- a/libmms-dev/receipt Wed Nov 25 23:52:53 2015 +0200 +++ b/libmms-dev/receipt Fri Nov 27 00:31:34 2015 +0200 @@ -19,4 +19,3 @@ cp -a $install/usr/lib/*.*a $fs/usr/lib cp -a $install/usr/lib/pkgconfig $fs/usr/lib } - diff -r e73879136901 -r d4cb85d5a82c libmms/receipt --- a/libmms/receipt Wed Nov 25 23:52:53 2015 +0200 +++ b/libmms/receipt Fri Nov 27 00:31:34 2015 +0200 @@ -16,11 +16,10 @@ # Rules to configure and make the package. compile_rules() { - cd $src + patch -p1 -i $stuff/libmms.patch + ./configure \ --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } @@ -31,4 +30,3 @@ mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib } - diff -r e73879136901 -r d4cb85d5a82c libmms/stuff/libmms.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmms/stuff/libmms.patch Fri Nov 27 00:31:34 2015 +0200 @@ -0,0 +1,47 @@ +--- a/src/mmsx.h ++++ b/src/mmsx.h +@@ -55,11 +55,11 @@ + + mms_off_t mmsx_get_current_pos (mmsx_t *instance); + +-uint32_t mmsx_get_asf_header_len (mmsx_t *this); ++uint32_t mmsx_get_asf_header_len (mmsx_t *instance); + +-uint64_t mmsx_get_asf_packet_len (mmsx_t *this); ++uint64_t mmsx_get_asf_packet_len (mmsx_t *instance); + +-int mmsx_get_seekable (mmsx_t *this); ++int mmsx_get_seekable (mmsx_t *instance); + + #ifdef __cplusplus + } + +--- a/src/mmsh.h ++++ b/src/mmsh.h +@@ -41,20 +41,20 @@ + + int mmsh_read (mms_io_t *io, mmsh_t *instance, char *data, int len); + int mmsh_time_seek (mms_io_t *io, mmsh_t *instance, double time_sec); +-mms_off_t mmsh_seek (mms_io_t *io, mmsh_t *this, mms_off_t offset, int origin); ++mms_off_t mmsh_seek (mms_io_t *io, mmsh_t *instance, mms_off_t offset, int origin); + uint32_t mmsh_get_length (mmsh_t *instance); +-double mmsh_get_time_length (mmsh_t *this); +-uint64_t mmsh_get_raw_time_length (mmsh_t *this); ++double mmsh_get_time_length (mmsh_t *instance); ++uint64_t mmsh_get_raw_time_length (mmsh_t *instance); + mms_off_t mmsh_get_current_pos (mmsh_t *instance); + void mmsh_close (mmsh_t *instance); + + int mmsh_peek_header (mmsh_t *instance, char *data, int maxsize); + +-uint32_t mmsh_get_asf_header_len (mmsh_t *this); ++uint32_t mmsh_get_asf_header_len (mmsh_t *instance); + +-uint32_t mmsh_get_asf_packet_len (mmsh_t *this); ++uint32_t mmsh_get_asf_packet_len (mmsh_t *instance); + +-int mmsh_get_seekable (mmsh_t *this); ++int mmsh_get_seekable (mmsh_t *instance); + + #ifdef __cplusplus + }