Package: mygui
Followup-For: Bug #984248
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
Control: tags -1 patch

Attached please find a small patch to fix this build failure with gcc-11.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru mygui-3.2.2+dfsg/debian/rules mygui-3.2.2+dfsg/debian/rules
--- mygui-3.2.2+dfsg/debian/rules       2018-10-11 05:30:43.000000000 -0700
+++ mygui-3.2.2+dfsg/debian/rules       2021-11-21 20:00:13.000000000 -0800
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export DEB_CPPFLAGS_MAINT_APPEND = -DMYGUI_DONT_REPLACE_NULLPTR
+
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: 
([^+]+).*-.*,\1,p')
 #export DH_VERBOSE=1
 %:

Reply via email to