]> dgit.raspbian.org Git - solvespace.git/commit
Include solvespace.h before spnav.h in the GTK frontend
authorAnton Gladky <gladk@debian.org>
Sat, 3 Oct 2026 17:07:41 +0000 (19:07 +0200)
committerAnton Gladky <gladk@debian.org>
Sat, 3 Oct 2026 17:07:41 +0000 (19:07 +0200)
commit52539173c10ec8bbf3819e79e47db738116c5e39
treeb002bf023a815b11d3bf8cb55ac5bd3756d123bf
parent915ec56690e1713125e20ac3b2c0b4b35a405dee
Include solvespace.h before spnav.h in the GTK frontend

Forwarded: no
Last-Update: 2026-10-03

spnav.h includes <X11/Xlib.h>, which does "#define Complex 0". When Eigen
is included afterwards, its AltiVec backend (used on ppc64el) fails to
compile because it uses "bool Complex" as a template parameter name.
Include solvespace.h, and therefore Eigen, before the X11 headers.

Gbp-Pq: Name 08-Include-Eigen-before-X11-headers.patch
src/platform/guigtk.cpp