Commit 09e6f408 authored by Graham Inggs's avatar Graham Inggs

Fix segfault due to not returning true in AOgpu2::init(), upload to unstable

parent feaec850
qutemol (0.4.1~cvs20081111-12) unstable; urgency=high
[ Adrian Bunk ]
* Build with default g++ again, enable all warnings
* Fix segfault due to not returning true in AOgpu2::init()
(Closes: #921510)
-- Graham Inggs <ginggs@debian.org> Thu, 07 Feb 2019 06:30:38 +0000
qutemol (0.4.1~cvs20081111-11) unstable; urgency=medium
* Build with g++-7 to avoid segfault at startup, see #921510
......
......@@ -6,7 +6,6 @@ Uploaders: Morten Kjeldgaard <mok0@ubuntu.com>,
Section: science
Priority: optional
Build-Depends: debhelper (>= 12~),
g++-7,
libgif-dev (>= 5),
libglew-dev,
libpng-dev,
......
Description: Fix segfault due to not returning true in AOgpu2::init()
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/921510
Last-Update: 2019-02-06
--- qutemol-0.4.1~cvs20081111.orig/src/ShadowMap.cpp
+++ qutemol-0.4.1~cvs20081111/src/ShadowMap.cpp
@@ -248,6 +248,7 @@ bool ShadowMap::initHalo(){
bool AOgpu2::init(){
if (!moltextureCanvas.Test()) return false;
mainCanvas.SetAsOutput();
+ return true;
}
float myrand();
......@@ -36,3 +36,4 @@
38_libpng15.patch
39_reproducible_build.patch
40_c++11_compatibility.patch
41_aogpu2_init_return.patch
......@@ -2,7 +2,7 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export CXX = g++-7
export DEB_CXXFLAGS_MAINT_APPEND = -Wall
%:
dh $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment