[Bug 226541] games/minetest: add clang fixes, missing dependencies, luajit 2.1 compatibility

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 11 21:59:47 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226541

            Bug ID: 226541
           Summary: games/minetest: add clang fixes, missing dependencies,
                    luajit 2.1 compatibility
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3 at FreeBSD.org
          Reporter: greg at unrelenting.technology
          Assignee: amdmi3 at FreeBSD.org
             Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)

Created attachment 191433
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=191433&action=edit
minetest-fixes.patch

Dependencies suggested by stage-qa + fix for luajit 2.1 + fixes for C++ errors
that were happening with base clang in -CURRENT:

src/content_mapblock.cpp:46:24: error: constexpr variable cannot have
non-literal type 'v3s16 const[8]'                               
static constexpr v3s16 light_dirs[8] = {                                        
                       ^                                                        
/usr/local/include/irrlicht/vector3d.h:22:8: note: 'vector3d<short>' is not
literal because it is not an aggregate and has no constexpr
constructors other than copy or move constructors
        class vector3d 

and

src/content_mapblock.cpp:358:38: error: use of undeclared identifier 'NULL'     
                drawCuboid(box, tiles, tile_count, NULL, txc);                  
                                                   ^                            
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'                
#define NULL    nullptr                                                         
                ^                                                               
src/util/cpp11.h:29:17: note: expanded from macro 'nullptr'                     
#define nullptr NULL                                                            
                ^                                                               
src/content_mapblock.cpp:1193:29: error: use of undeclared identifier 'NULL'    
                drawAutoLightedCuboid(*i, NULL, tiles, 6);                      
                                          ^                                     
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'                
#define NULL    nullptr                                                         
                ^                                                               
src/util/cpp11.h:29:17: note: expanded from macro 'nullptr'                     
#define nullptr NULL

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list