Hi Khem,

On 24/09/2021 17:15, Khem Raj wrote:
> 
> 
> On 9/24/21 5:47 AM, Tom Pollard wrote:
>> Manually patch SHARED_VERSION_INFO, which was missed in
>> the 0.1.9 release and later incorrectly fixed until 0.2.1
>>
>> Signed-off-by: Tom Pollard <[email protected]>
>> ---
>>   .../libsamplerate0/shared_version_info.patch        | 13 +++++++++++++
>>   .../libsamplerate/libsamplerate0_0.1.9.bb           |  1 +
>>   2 files changed, 14 insertions(+)
>>   create mode 100644 
>> meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch
>>
>> diff --git 
>> a/meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch
>>  
>> b/meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch
>> new file mode 100644
>> index 0000000000..b42d564b4b
>> --- /dev/null
>> +++ 
>> b/meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch
>> @@ -0,0 +1,13 @@
>> +Index: libsamplerate-0.1.8/configure.ac
>> +===================================================================
>> +--- libsamplerate-0.1.8.orig/configure.ac
>> ++++ libsamplerate-0.1.8/configure.ac
>> +@@ -53,7 +53,7 @@ AC_PROG_LN_S
>> + #  6. If any interfaces have been removed since the last public release, 
>> then set age
>> + #     to 0.
>> +
>> +-SHARED_VERSION_INFO="1:8:1"
>> ++SHARED_VERSION_INFO="1:9:1"
>> +
> 
> it can be synthesized from PV, that will be better, since we dont have 
> to change it manually everytime version upgrade is done.

This patch is only required for this specific 0.1.9 release, it was
incorrectly 'fixed' across a number of commits going into the following
release 0.2.0, which is marked as do not use because of the issue:

https://github.com/libsndfile/libsamplerate/releases/tag/0.2.0

Once the recipe is bumped to the next release 0.2.1 and thus targets
github releases it the patch be dropped.

> 
>> +
>> +
>> diff --git a/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb 
>> b/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb
>> index 6dfc42b436..8345d6880f 100644
>> --- a/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb
>> +++ b/meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb
>> @@ -10,6 +10,7 @@ PR = "r1"
>>   
>>   SRC_URI = "http://www.mega-nerd.com/SRC/libsamplerate-${PV}.tar.gz \
>>              file://0001-configure.ac-improve-alsa-handling.patch \
>> +           file://shared_version_info.patch \
>>   "
>>   
>>   SRC_URI[md5sum] = "2b78ae9fe63b36b9fbb6267fad93f259"
>>
>>
>>
>>
>>
>>
>>
>> 
>>

-- 
https://www.codethink.co.uk/privacy.html
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156383): 
https://lists.openembedded.org/g/openembedded-core/message/156383
Mute This Topic: https://lists.openembedded.org/mt/85838060/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to