Use upstream utf8proc package, as suggested in http://source.netsurf-browser.org/libutf8proc.git/commit/?id=770e329cceaf0620c7b482589a9b17ed1d19c16d Work around upstream's lack of a pkg-config file and update API. --- netsurf-3.6/Makefile +++ netsurf-3.6/Makefile @@ -527,10 +527,9 @@ $(eval $(call pkg_config_find_and_add,libcss,CSS)) $(eval $(call pkg_config_find_and_add,libdom,DOM)) $(eval $(call pkg_config_find_and_add,libnsutils,nsutils)) -$(eval $(call pkg_config_find_and_add,libutf8proc,utf8proc)) # Common libraries without pkg-config support -LDFLAGS += -lz +LDFLAGS += -lz -lutf8proc # Optional libraries with pkgconfig --- netsurf-3.8/utils/idna.c +++ netsurf-3.8/utils/idna.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "netsurf/inttypes.h" --- netsurf-3.8/test/Makefile +++ netsurf-3.8/test/Makefile @@ -142,14 +142,15 @@ -Itest -Iinclude -Icontent/handlers -Ifrontends -I. -I.. \ -Dnsgtk \ $(SAN_FLAGS) \ - $(shell pkg-config --cflags libcurl libparserutils libwapcaplet libdom libnsutils libutf8proc) \ + $(shell pkg-config --cflags libcurl libparserutils libwapcaplet libdom libnsutils) \ $(LIB_CFLAGS) TESTCFLAGS := $(BASE_TESTCFLAGS) \ $(COV_CFLAGS) \ $(COV_CPPFLAGS) TESTLDFLAGS := -L$(TESTROOT) \ - $(shell pkg-config --libs libcurl libparserutils libwapcaplet libdom libnsutils libutf8proc) -lz \ + $(shell pkg-config --libs libcurl libparserutils libwapcaplet libdom libnsutils) \ + $(LDFLAGS) \ $(SAN_FLAGS) \ $(LIB_LDFLAGS)\ $(COV_LDFLAGS) nput type='hidden' name='id' value='a8c1d812a030f07dbc22afa12f82539c3152a9e2'/>
AgeCommit message (Expand)Author
2023-12-07gnu: dub: update to 1.33.0....* gnu/packages/dlang.scm (dub): Update to 1.33.0. Change-Id: Ie09f43329fa4a8d79f201f4b617e498d39adec6f Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Hugo Nobrega
2023-12-02gnu: ldc: Update to 1.35.0....* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.35.0. [arguments]: Adjust configure-flags to not build shared libraries. (ldc)[arguments]: Adjust configure-flags to remove defaults. Adjust 'patch-paths-in-tests phase for another hardcoded /bin/bash. Delete another test. Change-Id: Ie284a97ecda2689e6ed84a902eff990cfae8c195 Efraim Flashner
2023-12-02gnu: ldc: Enable building on more architectures....* gnu/packages/dlang.scm (ldc)[arguments]: In the custom phase 'fix-compiler-rt-library-discovery rewrite gnu-triplet->clang-arch to pass-through unmatched architectures. Efraim Flashner
2023-12-02gnu: d-tools: Update to 2.105.3....The previous version 2.100 was failing in `check` due to changes to the Phobos stdlib * gnu/packages/dlang.scm (d-tools): Update to 2.105.3. Change-Id: Id9e4580d555c735fb0eebe880928ef2f558f959e Signed-off-by: Ludovic Courtès <ludo@gnu.org> Hugo Nobrega