view src/msys-libintl.mk @ 5579:2734b3818171

Avoid double-free with librsb (bug #58957). * src/librsb.mk: Add work-around to avoid double-free (provided by Michele Martone). * src/mingw-of-sparsersb-1-no-render.patch: Remove patch. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 02 Nov 2020 08:55:18 +0100
parents d95b8b84cea7
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := msys-libintl
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 0.18.1.1-1
$(PKG)_CHECKSUM := 4000b935a5bc30b4c757fde69d27716fa3c2c269
$(PKG)_REMOTE_SUBDIR := gettext/gettext-$($(PKG)_VERSION)
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := libintl-$($(PKG)_VERSION)-msys-1.0.17-dll-8.tar.lzma
$(PKG)_URL      := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    $(WGET) -q -O- '$(MSYS_BASE_URL)/gettext' | \
    $(SED) -n 's,.*title="gettext-\([0-9][^"]*\)".*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    mkdir -p '$(MSYS_BASE_DIR)'
    cd '$(1)' && tar cf - . | ( cd '$(MSYS_BASE_DIR)'; tar xpf - )
    mkdir -p '$(MSYS_INFO_DIR)'
    cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list
endef