Mercurial > mxe-octave
view src/build-gcc-1-msgfmt.patch @ 6510:4b8764444acb
Create common github call define and start using it
* Makefile.in: add GITHUB_PKG_UPDATE
* src/blas_switch.mk, src/double-conversion.mk, src/libffi.mk,
src/libgeotiff.mk, src/libmodbus.mk, src/libproxy.mk,
src/librsvg.mk, src/libsndfile.mk, src/libsodium.mk,
src/libvpx.mk, src/netcdf.mk, src/of-statistics.mk,
src/openblas.mk, src/opencv.mk, src/openjpeg.mk,
src/openlibm.mk, src/paho-mqtt-c.mk, src/pcre2.mk,
src/portaudio.mk, src/rapidjson.mk, src/rtmidi.mk,
src/suitesparse.mk, src/sundials-ida.mk, src/wt.mk,
src/wxwidgets.mk, src/yasm.mk, src/zeromq.mk
: call GITHUB_PKG_UPDATE in update
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 08 Nov 2022 09:37:16 -0500 |
parents | 5f64fb928091 |
children |
line wrap: on
line source
When `msgfmt` is called after libstdc++ was built, and that existing program was linked against an incompatible version of libstdc++, it must not link to that new version of libstdc++ but to the library installed on the system. The path to the new library must not be set in LD_LIBRARY_PATH to avoid an error. Set LD_LIBRARY_PATH to an empty string to load the libraroes installed on the build system instead. diff -urN gcc-11.3.0/libstdc++-v3/po/Makefile.am.orig gcc-11.3.0/libstdc++-v3/po/Makefile.am --- gcc-11.3.0/libstdc++-v3/po/Makefile.am.orig 2022-04-21 09:58:57.000000000 +0200 +++ gcc-11.3.0/libstdc++-v3/po/Makefile.am 2022-05-04 08:47:07.588346500 +0200 @@ -38,7 +38,7 @@ EXTRA_DIST = string_literals.cc POTFILES.in $(PACKAGE).pot $(LOCALE_IN) .po.mo: - $(MSGFMT) -o $@ $< + LD_LIBRARY_PATH="" $(MSGFMT) -o $@ $< all-local: all-local-$(USE_NLS) all-local-no: diff -urN gcc-11.3.0/libstdc++-v3/po/Makefile.in.orig gcc-11.3.0/libstdc++-v3/po/Makefile.in --- gcc-11.3.0/libstdc++-v3/po/Makefile.in.orig 2022-04-21 09:58:57.000000000 +0200 +++ gcc-11.3.0/libstdc++-v3/po/Makefile.in 2022-05-04 08:46:57.356251900 +0200 @@ -553,7 +553,7 @@ .po.mo: - $(MSGFMT) -o $@ $< + LD_LIBRARY_PATH="" $(MSGFMT) -o $@ $< all-local: all-local-$(USE_NLS) all-local-no: