diff --git a/ports/libcroco/build.sh b/ports/libcroco/build.sh new file mode 100755 index 00000000..d82ecd18 --- /dev/null +++ b/ports/libcroco/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash ../install.sh + +NAME='libcroco' +VERSION='0.6.13' +DOWNLOAD_URL="https://download.gnome.org/sources/libcroco/${VERSION%.*}/libcroco-$VERSION.tar.xz#767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4" +DEPENDENCIES=('glib' 'libxml2') +CONFIG_SUB=('config.sub') +CONFIGURE_OPTIONS=( + '--disable-static' + '--enable-shared' +) diff --git a/ports/libcroco/patches/0001-add-shared-library-support.patch b/ports/libcroco/patches/0001-add-shared-library-support.patch new file mode 100644 index 00000000..7234396b --- /dev/null +++ b/ports/libcroco/patches/0001-add-shared-library-support.patch @@ -0,0 +1,31 @@ +diff -ruN libcroco-0.6.13/configure libcroco-0.6.13-banan_os/configure +--- libcroco-0.6.13/configure 2019-04-06 20:28:06.000000000 +0300 ++++ libcroco-0.6.13-banan_os/configure 2026-08-24 18:29:35.868215552 +0300 +@@ -5609,6 +5609,10 @@ + lt_cv_deplibs_check_method=pass_all + ;; + ++banan_os*) ++ lt_cv_deplibs_check_method=pass_all ++ ;; ++ + beos*) + lt_cv_deplibs_check_method=pass_all + ;; +@@ -10822,6 +10826,16 @@ + esac + ;; + ++banan_os*) ++ version_type=linux # correct to gnu/linux during the next big refactor ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ++ soname_spec='$libname$release$shared_ext$major' ++ dynamic_linker="$host_os DynamicLoader.so" ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ + beos*) + library_names_spec='$libname$shared_ext' + dynamic_linker="$host_os ld.so"