Package: wxhexeditor Version: 0.23+repack-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu wily ubuntu-patch
Dear Maintainer, While handling the gcc-5 transitions it was found that wxhexeditor no longer builds due to --as-needed no longer being the default. We reordered the link line to avoid this issue. Thanks for considering the patch. -- System Information: Debian Release: jessie/sid APT prefers wily-updates APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily'), (100, 'wily-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.0-3-generic (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru wxhexeditor-0.23+repack/debian/patches/50-reorder-link-line-to-fix-FTBFS-against-libgomp.patch wxhexeditor-0.23+repack/debian/patches/50-reorder-link-line-to-fix-FTBFS-against-libgomp.patch --- wxhexeditor-0.23+repack/debian/patches/50-reorder-link-line-to-fix-FTBFS-against-libgomp.patch 1970-01-01 01:00:00.000000000 +0100 +++ wxhexeditor-0.23+repack/debian/patches/50-reorder-link-line-to-fix-FTBFS-against-libgomp.patch 2015-08-10 14:29:13.000000000 +0100 @@ -0,0 +1,18 @@ +Description: reorder link line to avoid FTBFS against libgomp + We are failing to link libgomp as it is presented too early on the link + line shift the linker flags later to ensure it is considered. +Author: Andy Whitcroft <a...@canonical.com> + +Index: wxhexeditor-0.23+repack/Makefile +=================================================================== +--- wxhexeditor-0.23+repack.orig/Makefile ++++ wxhexeditor-0.23+repack/Makefile +@@ -46,7 +46,7 @@ $(OBJECTS): $(LIBS) $(SOURCES) + MOBJECTS=$(LANGUAGES:.po=.mo) + + $(EXECUTABLE): $(OBJECTS) +- $(CXX) ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} $(OBJECTS) $(LIBS) $(WXLDFLAGS) -o $@ ++ $(CXX) ${CXXFLAGS} ${CPPFLAGS} $(OBJECTS) $(LIBS) $(WXLDFLAGS) ${LDFLAGS} -o $@ + + .cpp.o: $(LIBS) + $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $(WXCXXFLAGS) $< -o $@ diff -Nru wxhexeditor-0.23+repack/debian/patches/series wxhexeditor-0.23+repack/debian/patches/series --- wxhexeditor-0.23+repack/debian/patches/series 2015-06-10 07:25:58.000000000 +0100 +++ wxhexeditor-0.23+repack/debian/patches/series 2015-08-10 14:15:21.000000000 +0100 @@ -4,3 +4,4 @@ 08-remove-debug.patch 11-wx3.0-fix-ftbfs-on-arm.patch 12-disable-newer-upstream-version-check.patch +50-reorder-link-line-to-fix-FTBFS-against-libgomp.patch