~singpolyma/asterisk

2bc037b7037514ad790fc5b29f8bf9eaf15fcf9a — Bernhard Schmidt 4 years ago e530283
Update autoconf files for pjproject

Last-Update: 2018-12-21

config.guess and config.sub for pjproject are six years old, this
makes the build FTBFS on newer architectures like ppc64el.

Unfortunately the sources are only unpacked during the toplevel
./configure run, so we cannot solve this with dh_autoreconf

Gbp-Pq: Name autoreconf-pjproject
1 files changed, 5 insertions(+), 0 deletions(-)

M third-party/pjproject/Makefile
M third-party/pjproject/Makefile => third-party/pjproject/Makefile +5 -0
@@ 100,6 100,11 @@ source/.unpacked: $(DOWNLOAD_DIR)/$(TARBALL_FILE)
	@mv pjproject-$(PJPROJECT_VERSION) source
	$(ECHO_PREFIX) Applying patches "$(realpath patches)" "$(realpath .)/source"
	$(CMD_PREFIX) ../apply_patches $(QUIET_CONFIGURE) "$(realpath patches)" "$(realpath .)/source"
	# Debian patch: Update autoconf files to support newer architectures
	cd source && autoconf aconfigure.ac >aconfigure
	cp /usr/share/misc/config.guess source/config.guess
	cp /usr/share/misc/config.sub source/config.sub
	# End Debian patch
	-@touch source/.unpacked

source/version.mak: source/.unpacked