On 2021/12/30 14:24, Matthias Schmidt wrote:
> Hi,
> 
> attached is a diff to upgrade musikcube to 0.96.10.  The changelog is too
> much to mention here, so here's the link:
> https://github.com/clangen/musikcube/releases
> 
> Important is that upstream fixed the build on OpenBSD in 0.96.9 so
> compared to 0.96.6 it builds now out of the box.  I had to regenerate
> the Cmake patch.  Tested here and works fine.
> 
> Cheers
> 
>       Matthias
> 
> 
> diff -ur musikcube.orig/Makefile musikcube/Makefile
> --- musikcube.orig/Makefile   Thu Dec 30 14:14:03 2021
> +++ musikcube/Makefile        Thu Dec 30 14:15:51 2021
> @@ -4,7 +4,7 @@
>  
>  GH_ACCOUNT = clangen
>  GH_PROJECT = musikcube
> -GH_TAGNAME = 0.96.5
> +GH_TAGNAME = 0.96.10
>  
>  CATEGORIES = audio
>  
> diff -ur musikcube.orig/distinfo musikcube/distinfo
> --- musikcube.orig/distinfo   Thu Dec 30 14:14:03 2021
> +++ musikcube/distinfo        Thu Dec 30 14:15:51 2021
> @@ -1,2 +1,2 @@
> -SHA256 (musikcube-0.96.5.tar.gz) = 
> 7gBmfqFypVfADeSF+7qj/ePrXsGGfJS18XBcG3KAdJA=
> -SIZE (musikcube-0.96.5.tar.gz) = 9474635
> +SHA256 (musikcube-0.96.10.tar.gz) = 
> kf2YTmi272bxvh7N8MhGB0U+xuyAYy7OaIrHRcdxnqU=
> +SIZE (musikcube-0.96.10.tar.gz) = 9509759
> diff -ur musikcube.orig/patches/patch-CMakeLists_txt 
> musikcube/patches/patch-CMakeLists_txt
> --- musikcube.orig/patches/patch-CMakeLists_txt       Thu Dec 30 14:14:03 2021
> +++ musikcube/patches/patch-CMakeLists_txt    Thu Dec 30 14:15:51 2021
> @@ -1,14 +1,13 @@
> -$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2021/08/29 13:04:47 solene Exp $
> +$OpenBSD$
>  
> -Index: CMakeLists.txt
> ---- CMakeLists.txt.orig
> -+++ CMakeLists.txt
> -@@ -98,7 +98,7 @@ endif()
> - # we use a bundled version of taglib because the latest release is from 
> 2016,
> - # and the upstream git repo is hundreds of commits ahead and has a number of
> - # important bugfixes.
> --set(USE_BUNDLED_TAGLIB "true")
> -+set(USE_BUNDLED_TAGLIB "false")
> - 
> - add_subdirectory(src/musikcore)
> - add_subdirectory(src/core_c_demo)
> +--- CMakeLists.txt.orig      Tue Dec 28 23:55:45 2021
> ++++ CMakeLists.txt   Thu Dec 30 14:17:32 2021

Don't hand-generate the patch files, use "make update-patches", but...

> +@@ -101,7 +101,7 @@
> + # has a number of important bugfixes.
> + if (NOT DEFINED ENABLE_BUNDLED_TAGLIB)
> +   message(STATUS "[build] ENABLE_BUNDLED_TAGLIB not defined, setting to 
> 'true'")
> +-  set(ENABLE_BUNDLED_TAGLIB "true")
> ++  set(ENABLE_BUNDLED_TAGLIB "false")

...no need to patch for this any more. They have added the "if (NOT DEFINED..."
above so you can set -DENABLE_BUNDLED_TAGLIB=false in CONFIGURE_ARGS.

> + else()
> +   message(STATUS "[build] ENABLE_BUNDLED_TAGLIB specified as 
> '${ENABLE_BUNDLED_TAGLIB}'")
> + endif()
> 

Reply via email to