===> Building for einstein-puzzle-2.2nb2
mkdir -p ./build/
clang++ -MT build/puzgen.o -MMD -MP -MF .d/puzgen.Td -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Wall -O3   `sdl-config --cflags` -DPREFIX=L\"/opt/pkg\"  -c puzgen.cpp -o build/puzgen.o
clang++ -MT build/main.o -MMD -MP -MF .d/main.Td -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Wall -O3   `sdl-config --cflags` -DPREFIX=L\"/opt/pkg\"  -c main.cpp -o build/main.o
clang++ -MT build/screen.o -MMD -MP -MF .d/screen.Td -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Wall -O3   `sdl-config --cflags` -DPREFIX=L\"/opt/pkg\"  -c screen.cpp -o build/screen.o
screen.cpp:171:32: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                               ^~~~~~~~~~~~
screen.cpp:171:32: note: insert an explicit cast to silence this issue
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                               ^~~~~~~~~~~~
                               static_cast<Uint16>( )
screen.cpp:171:46: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                                             ^~~~~~~~~~~~
screen.cpp:171:46: note: insert an explicit cast to silence this issue
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                                             ^~~~~~~~~~~~
                                             static_cast<Uint16>( )
screen.cpp:172:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                         ^~~~~
screen.cpp:172:26: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                         ^~~~~
                         static_cast<Sint16>( )
screen.cpp:172:33: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                ^~~~~
screen.cpp:172:33: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                ^~~~~
                                static_cast<Sint16>( )
screen.cpp:172:40: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                       ^~~~~~~~~~~~
screen.cpp:172:40: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                       ^~~~~~~~~~~~
                                       static_cast<Uint16>( )
screen.cpp:172:54: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                                     ^~~~~~~~~~~~
screen.cpp:172:54: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                                     ^~~~~~~~~~~~
                                                     static_cast<Uint16>( )
screen.cpp:196:32: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                               ^~~~~~~~~~~~
screen.cpp:196:32: note: insert an explicit cast to silence this issue
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                               ^~~~~~~~~~~~
                               static_cast<Uint16>( )
screen.cpp:196:46: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                                             ^~~~~~~~~~~~
screen.cpp:196:46: note: insert an explicit cast to silence this issue
        SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                                             ^~~~~~~~~~~~
                                             static_cast<Uint16>( )
screen.cpp:197:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                         ^
screen.cpp:197:26: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                         ^
                         static_cast<Sint16>( )
screen.cpp:197:29: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                            ^
screen.cpp:197:29: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                            ^
                            static_cast<Sint16>( )
screen.cpp:197:32: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                               ^~~~~~~~~~~~~
screen.cpp:197:32: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                               ^~~~~~~~~~~~~
                               static_cast<Uint16>( )
screen.cpp:197:47: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                                              ^~~~~~~~~~~~~
screen.cpp:197:47: note: insert an explicit cast to silence this issue
        SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                                              ^~~~~~~~~~~~~
                                              static_cast<Uint16>( )
screen.cpp:271:20: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect r = { x, y, w, h };
                   ^
screen.cpp:271:20: note: insert an explicit cast to silence this issue
    SDL_Rect r = { x, y, w, h };
                   ^
                   static_cast<Sint16>( )
screen.cpp:271:23: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect r = { x, y, w, h };
                      ^
screen.cpp:271:23: note: insert an explicit cast to silence this issue
    SDL_Rect r = { x, y, w, h };
                      ^
                      static_cast<Sint16>( )
screen.cpp:271:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect r = { x, y, w, h };
                         ^
screen.cpp:271:26: note: insert an explicit cast to silence this issue
    SDL_Rect r = { x, y, w, h };
                         ^
                         static_cast<Uint16>( )
screen.cpp:271:29: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect r = { x, y, w, h };
                            ^
screen.cpp:271:29: note: insert an explicit cast to silence this issue
    SDL_Rect r = { x, y, w, h };
                            ^
                            static_cast<Uint16>( )
screen.cpp:329:22: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                     ^~~~~~~~~~
screen.cpp:329:22: note: insert an explicit cast to silence this issue
    SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                     ^~~~~~~~~~
                     static_cast<Sint16>( )
screen.cpp:329:34: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                                 ^~~~~~~~~~
screen.cpp:329:34: note: insert an explicit cast to silence this issue
    SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                                 ^~~~~~~~~~
                                 static_cast<Sint16>( )
screen.cpp:329:46: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                                             ^~~~~~~~~~~~~~
screen.cpp:329:46: note: insert an explicit cast to silence this issue
    SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                                             ^~~~~~~~~~~~~~
                                             static_cast<Uint16>( )
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake: *** [Makefile:82: build/screen.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/games/einstein-puzzle
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/games/einstein-puzzle