Attempting to emerge blackbox (0.65.0-r1) and was getting "assert not assigned" blah blah blah.. fix was to put #include <assert.h> into src/Window.cc --- blackbox-0.65.0-mousewheel_focus-workspace.patch.orig 2003-09-25 21:15:42.000000000 -0700 +++ blackbox-0.65.0-mousewheel_focus-workspace.patch 2003-09-25 21:28:18.000000000 -0700 @@ -311,6 +311,15 @@ diff -urN blackbox-0.65.0/src/Window.cc blackbox-0.65.0-wheel/src/Window.cc --- blackbox-0.65.0/src/Window.cc 2002-09-17 10:23:35.000000000 -0500 +++ blackbox-0.65.0-wheel/src/Window.cc 2002-09-25 02:54:17.000000000 -0500 +@@ -55,7 +55,7 @@ + #include "Window.hh" + #include "Windowmenu.hh" + #include "Workspace.hh" +- ++#include <assert.h> + + /* + * Initializes the class with default values/the window's set initial values. @@ -2663,6 +2663,12 @@ XRaiseWindow(blackbox->getXDisplay(), windowmenu->getSendToMenu()->getWindowID()); Reproducible: Always Steps to Reproduce: 1. 2. 3.
I believe this is related to the same assert issue. Here is the tail of the emerge log: g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DNDEBUG -DTIMEDCACHE -DLOCALEPA \"/usr/share/locale\" -DDEFAULTMENU=\"/usr/share/commonbox/menu\" -DDEFAULTST =\"/usr/share/commonbox/styles/Fury-NG\" -march=athlon-xp -O3 -pipe -I/usr/ R6/include -Wall -W -pedantic -c Window.cc Window.cc: In member function `bool BlackboxWindow::setInputFocus()': Window.cc:1396: error: `assert' undeclared (first use this function) Window.cc:1396: error: (Each undeclared identifier is reported only once for each function it appears in.) Window.cc: In member function `void BlackboxWindow::constrain(BlackboxWindow::Corner, unsigned int*, unsigned int*)': Window.cc:3240: error: `assert' undeclared (first use this function) make[2]: *** [Window.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r1/work/blackbox 65.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r1/work/blackbox 65.0' make: *** [all-recursive-am] Error 2 !!! ERROR: x11-wm/blackbox-0.65.0-r1 failed. !!! Function commonbox_src_compile, Line 114, Exitcode 2 !!! (no error message)
-r2 includes a patch to add assert.h include