# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # $(eval $(call gb_CustomTarget_CustomTarget,readlicense_oo/license)) readlicense_oo_DIR := $(gb_CustomTarget_workdir)/readlicense_oo/license readlicense_oo_LICENSE_xml := $(SRCDIR)/readlicense_oo/license/license.xml $(call gb_CustomTarget_get_target,readlicense_oo/license) : $(readlicense_oo_DIR)/LICENSE.html ifeq ($(OS),WNT) $(call gb_CustomTarget_get_target,readlicense_oo/license) : $(readlicense_oo_DIR)/license.txt else $(call gb_CustomTarget_get_target,readlicense_oo/license) : $(readlicense_oo_DIR)/LICENSE endif $(readlicense_oo_DIR)/LICENSE.html : \ $(SRCDIR)/readlicense_oo/license/license_html.xsl \ $(readlicense_oo_LICENSE_xml) \ | $(readlicense_oo_DIR)/.dir \ $(call gb_ExternalExecutable_get_dependencies,xsltproc) $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XSL,1) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),XSL) $(call gb_Helper_abbreviate_dirs, \ $(call gb_ExternalExecutable_get_command,xsltproc) --nonet --novalid -o $@ \ --stringparam build_type "$(BUILD_TYPE)" \ --stringparam os "$(OS)" \ --stringparam themes "$(WITH_THEMES)" \ $(if $(MPL_SUBSET),,--stringparam no_mpl_subset no_mpl_subset) \ $< \ $(readlicense_oo_LICENSE_xml) \ $(if $(filter WNT,$(OS)), \ && $(gb_AWK) 'sub("$$","\r")' $@ > $@.tmp \ && mv $@.tmp $@ \ ) \ ) $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),XSL) $(readlicense_oo_DIR)/LICENSE : \ $(SRCDIR)/readlicense_oo/license/license_plain_text.xsl \ $(readlicense_oo_LICENSE_xml) \ | $(readlicense_oo_DIR)/.dir \ $(call gb_ExternalExecutable_get_dependencies,xsltproc) $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XSL,1) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),XSL) $(call gb_Helper_abbreviate_dirs, \ $(call gb_ExternalExecutable_get_command,xsltproc) --nonet --novalid -o $@ \ --stringparam build_type "$(BUILD_TYPE)" \ --stringparam os "$(OS)" \ --stringparam themes "$(WITH_THEMES)" \ $(if $(MPL_SUBSET),,--stringparam no_mpl_subset no_mpl_subset) \ $< \ $(readlicense_oo_LICENSE_xml) \ ) $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),XSL) ifeq ($(OS),WNT) $(readlicense_oo_DIR)/license.txt : \ $(readlicense_oo_DIR)/LICENSE \ | $(readlicense_oo_DIR)/.dir $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),AWK,1) $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),AWK) $(call gb_Helper_abbreviate_dirs, \ $(gb_AWK) 'sub("$$","\r")' $< > $@.tmp && mv $@.tmp $@ \ ) $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),AWK) endif # vim:set shiftwidth=4 tabstop=4 noexpandtab: -9.2.24.tar.bz2> is a copy of <https://ftp.postgresql.org/pub/source/v9.2.24/postgresql-9.2.24.tar.bz2>; `sha256sum postgresql-9.2.24.tar.bz2` reports the same a754c02f7051c2f21e52f8669a421b50485afcde9a581674d6106326b189d126 as recorded in <https://ftp.postgresql.org/pub/source/v9.2.24/postgresql-9.2.24.tar.bz2.sha256> Change-Id: I196dd93aa03471042efba57ea639e1bb6655de98 Reviewed-on: https://gerrit.libreoffice.org/64730 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
...which is the latest 9.2.x currently listed at
<https://www.postgresql.org/ftp/source/>.  9.2.1 doesn't build against
OpenSSL 1.1 which dropped SSL_library_init (cf. <https://wiki.openssl.org/
index.php/Library_Initialization#libssl_Initialization>), and 9.2.24 apparently
has that covered.  (Ran into this when trying to upgrade the LibreOffice flatpak
build to org.freedesktop.Sdk//18.08, which has OpenSSL 1.1.)

On Windows, the new tarball as-is fails with

> ..\..\port\chklocale.c(214): error C2037: left of 'lc_codepage' specifies undefined struct/union '__crt_locale_data'

because at least in Windows Kits/10/Include/10.0.17763.0/ucrt/corecrt.h
(included from Windows Kits/10/Include/10.0.17763.0/ucrt/locale.h), the relevant
definitions are now

> typedef struct __crt_locale_data_public
> {
>       unsigned short const* _locale_pctype;
>     _Field_range_(1, 2) int _locale_mb_cur_max;
>                unsigned int _locale_lc_codepage;
> } __crt_locale_data_public;
>
> typedef struct __crt_locale_pointers
> {
>     struct __crt_locale_data*    locinfo;
>     struct __crt_multibyte_data* mbcinfo;
> } __crt_locale_pointers;
>
> typedef __crt_locale_pointers* _locale_t;

which presumably has changed from a past state where that lc_codepage member was
directly publicly accessible.

<https://dev-www.libreoffice.org/src/postgresql-9.2.24.tar.bz2> is a copy of
<https://ftp.postgresql.org/pub/source/v9.2.24/postgresql-9.2.24.tar.bz2>;
`sha256sum postgresql-9.2.24.tar.bz2` reports the same
a754c02f7051c2f21e52f8669a421b50485afcde9a581674d6106326b189d126 as recorded in
<https://ftp.postgresql.org/pub/source/v9.2.24/postgresql-9.2.24.tar.bz2.sha256>

Change-Id: I196dd93aa03471042efba57ea639e1bb6655de98
Reviewed-on: https://gerrit.libreoffice.org/64730
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>