Eygene Ryabinkin wrote:
Thu, Jul 05, 2012 at 05:09:30PM +0400, Eygene Ryabinkin wrote:
I am running 1.3.4 for some time: most of my workstations are fine
with it, but one fails to start the desktop, though it has a mix
of old and new packages, so I am rebuilding them just now.

Was a problem with D-BUS an newer Xorg, unrelated to SLiM.  Any
others who had experience with my patch?

Compilation with clang fails:

In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:26: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.h:23: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/panel.h:30: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/switchuser.h:23: /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/log.h:19:17: error: call to function 'operator<<' that is neither visible in the template definition nor found by
      argument-dependent lookup
        logFile << text; logFile.flush();
                ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:233:38: note: in instantiation of function template specialization 'LogUnit::operator<<<PAM::Exception>' requested
      here
        logStream << APPNAME << ": " << e << endl;
                                     ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/PAM.h:98:15: note: 'operator<<' should be declared prior to the call site or in namespace 'PAM'
std::ostream& operator<<( std::ostream& os, const PAM::Exception& e);
              ^
In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:26: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.h:23: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/panel.h:30: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/switchuser.h:23: /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/log.h:19:17: error: call to function 'operator<<' that is neither visible in the template definition nor found by
      argument-dependent lookup
        logFile << text; logFile.flush();
                ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:431:38: note: in instantiation of function template specialization 'LogUnit::operator<<<PAM::Auth_Exception>'
      requested here
        logStream << APPNAME << ": " << e << endl;
                                     ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/PAM.h:98:15: note: 'operator<<' should be declared prior to the call site or in namespace 'PAM'
std::ostream& operator<<( std::ostream& os, const PAM::Exception& e);
              ^
In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:26: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.h:23: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/panel.h:30: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/switchuser.h:23: /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/log.h:19:17: error: call to function 'operator<<' that is neither visible in the template definition nor found by
      argument-dependent lookup
        logFile << text; logFile.flush();
                ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:524:38: note: in instantiation of function template specialization 'LogUnit::operator<<<PAM::Cred_Exception>'
      requested here
        logStream << APPNAME << ": " << e << endl;
                                     ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/PAM.h:98:15: note: 'operator<<' should be declared prior to the call site or in namespace 'PAM'
std::ostream& operator<<( std::ostream& os, const PAM::Exception& e);
              ^
In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:26: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.h:23: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/panel.h:30: In file included from /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/switchuser.h:23: /tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/log.h:19:17: error: call to function 'operator<<' that is neither visible in the template definition nor found by
      argument-dependent lookup
        logFile << text; logFile.flush();
                ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:577:38: note: in instantiation of function template specialization 'LogUnit::operator<<<Ck::Exception>' requested
      here
        logStream << APPNAME << ": " << e << endl;
                                     ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/Ck.h:44:15: note: 'operator<<' should be declared prior to the call site or in namespace 'Ck'
std::ostream& operator<<( std::ostream& os, const Ck::Exception& e);
              ^
1 warning and 4 errors generated.

Those are easily fixed. One more:

/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/image.cpp:784:23: error: member access into incomplete type 'png_struct' (aka 'png_struct_def')
    if (setjmp(png_ptr->jmpbuf)) {
                      ^
/usr/local/include/png.h:872:16: note: forward declaration of 'png_struct_def'
typedef struct png_struct_def png_struct;
               ^
1 error generated.

Dunno what to do with this one.

--
Sphinx of black quartz judge my vow.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to