tar: /usr/src/slapt-src/graphics/grafx2/grafx2-2.5.1960-src.tgz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now 100%100%100%100%100%Done Fetching grafx2.SlackBuild... 0%100%100%100%100%100%Done Fetching grafx2.info... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done grafx2/src/SFont.c grafx2/src/brush.c grafx2/src/brush_ops.c grafx2/src/buttons.c grafx2/src/buttons_effects.c grafx2/src/colorred.c grafx2/src/engine.c grafx2/src/factory.c grafx2/src/fileformats.c grafx2/src/filesel.c grafx2/src/graph.c grafx2/src/help.c grafx2/src/hotkeys.c grafx2/src/init.c grafx2/src/input.c grafx2/src/io.c grafx2/src/keyboard.c grafx2/src/layers.c grafx2/src/libraw2crtc.c grafx2/src/loadrecoil.c grafx2/src/loadsave.c grafx2/src/main.c grafx2/src/misc.c grafx2/src/miscfileformats.c grafx2/src/mountlist.c grafx2/src/oldies.c grafx2/src/op_c.c grafx2/src/operatio.c grafx2/src/pages.c grafx2/src/palette.c grafx2/src/pversion.c grafx2/src/pxdouble.c grafx2/src/pxquad.c grafx2/src/pxsimple.c grafx2/src/pxtall.c grafx2/src/pxtall2.c grafx2/src/pxtall3.c grafx2/src/pxtriple.c grafx2/src/pxwide.c grafx2/src/pxwide2.c grafx2/src/readini.c grafx2/src/readline.c grafx2/src/realpath.c grafx2/src/recoil.c grafx2/src/saveini.c grafx2/src/sdlscreen.c grafx2/src/setup.c grafx2/src/shade.c grafx2/src/special.c grafx2/src/text.c grafx2/src/tiles.c grafx2/src/transform.c grafx2/src/unicode.c grafx2/src/version.c grafx2/src/windows.c grafx2/src/haiku.cpp grafx2/src/SDLMain.h grafx2/src/SFont.h grafx2/src/brush.h grafx2/src/buttons.h grafx2/src/colorred.h grafx2/src/const.h grafx2/src/engine.h grafx2/src/errors.h grafx2/src/factory.h grafx2/src/fileformats.h grafx2/src/filesel.h grafx2/src/global.h grafx2/src/graph.h grafx2/src/haiku.h grafx2/src/help.h grafx2/src/helpfile.h grafx2/src/hotkeys.h grafx2/src/init.h grafx2/src/input.h grafx2/src/io.h grafx2/src/keyboard.h grafx2/src/layers.h grafx2/src/libraw2crtc.h grafx2/src/loadsave.h grafx2/src/misc.h grafx2/src/mountlist.h grafx2/src/oldies.h grafx2/src/op_c.h grafx2/src/operatio.h grafx2/src/pages.h grafx2/src/palette.h grafx2/src/pxdouble.h grafx2/src/pxquad.h grafx2/src/pxsimple.h grafx2/src/pxtall.h grafx2/src/pxtall2.h grafx2/src/pxtall3.h grafx2/src/pxtriple.h grafx2/src/pxwide.h grafx2/src/pxwide2.h grafx2/src/readini.h grafx2/src/readline.h grafx2/src/realpath.h grafx2/src/recoil.h grafx2/src/saveini.h grafx2/src/sdlscreen.h grafx2/src/setup.h grafx2/src/shade.h grafx2/src/special.h grafx2/src/struct.h grafx2/src/text.h grafx2/src/tiles.h grafx2/src/transform.h grafx2/src/unicode.h grafx2/src/windows.h grafx2/src/Makefile grafx2/src/Makefile.dep grafx2/share/grafx2/gfx2def.ini grafx2/share/grafx2/scripts/samples_2.4/brush/ApplyColor.lua grafx2/share/grafx2/scripts/samples_2.4/brush/Fisheye.lua grafx2/share/grafx2/scripts/samples_2.4/brush/GrayscaleAvg.lua grafx2/share/grafx2/scripts/samples_2.4/brush/GrayscaleDesat.lua grafx2/share/grafx2/scripts/samples_2.4/brush/Halfsmooth.lua grafx2/share/grafx2/scripts/samples_2.4/brush/Waves.lua grafx2/share/grafx2/scripts/samples_2.4/demo/3DPalette.lua grafx2/share/grafx2/scripts/samples_2.4/demo/Ellipse.lua grafx2/share/grafx2/scripts/samples_2.4/demo/FlipPicture.lua grafx2/share/grafx2/scripts/samples_2.4/demo/SierpinskyCarpet.lua grafx2/share/grafx2/scripts/samples_2.4/demo/SierpinskyTriangle.lua grafx2/share/grafx2/scripts/samples_2.4/demo/Spritesheet.lua grafx2/share/grafx2/scripts/samples_2.4/demo/brush/Amigaball.lua grafx2/share/grafx2/scripts/samples_2.4/demo/brush/ColorSphere.lua grafx2/share/grafx2/scripts/samples_2.4/demo/brush/FindAA.lua grafx2/share/grafx2/scripts/samples_2.4/demo/brush/Mandelbrot.lua grafx2/share/grafx2/scripts/samples_2.4/libs/dawnbringer_lib.lua grafx2/share/grafx2/scripts/samples_2.4/libs/memory.lua grafx2/share/grafx2/scripts/samples_2.4/palette/Desaturate.lua grafx2/share/grafx2/scripts/samples_2.4/palette/ExpandColors.lua grafx2/share/grafx2/scripts/samples_2.4/palette/FillColorCube.lua grafx2/share/grafx2/scripts/samples_2.4/palette/InvertedRGB.lua grafx2/share/grafx2/scripts/samples_2.4/palette/Set3bit.lua grafx2/share/grafx2/scripts/samples_2.4/palette/Set6bit.lua grafx2/share/grafx2/scripts/samples_2.4/palette/SetC64Palette.lua grafx2/share/grafx2/scripts/samples_2.4/palette/ShiftHue.lua grafx2/share/grafx2/scripts/samples_2.4/picture/CellColourReducer.lua grafx2/share/grafx2/scripts/samples_2.4/picture/DrawGridIsometric.lua grafx2/share/grafx2/scripts/samples_2.4/picture/DrawgridOrthogonal_Index.lua grafx2/share/grafx2/scripts/samples_2.4/picture/DrawGridOrthogonal_RGB.lua grafx2/share/grafx2/scripts/samples_2.4/picture/GlassGridFilter.lua grafx2/share/grafx2/scripts/samples_2.4/picture/PaletteToPicture.lua grafx2/share/grafx2/scripts/samples_2.4/picture/Pic2isometric.lua grafx2/share/grafx2/scripts/samples_2.4/picture/Rainbow-Dark2Bright.lua grafx2/share/grafx2/scripts/samples_2.4/picture/RemapImage2RGB.lua grafx2/share/grafx2/scripts/samples_2.4/picture/RemapImage2RGB_ed.lua grafx2/share/grafx2/scripts/samples_2.4/picture/RemapImageTo3bitPal.lua grafx2/share/grafx2/scripts/samples_2.4/picture/XBitColourXpaceFromPalette.lua grafx2/share/grafx2/scripts/samples_2.4/picture/Tiler.lua grafx2/share/grafx2/scripts/samples_2.4/picture/FontConvert.lua grafx2/share/grafx2/scripts/samples_2.4/picture/others-8bit/ostro_oric.lua grafx2/share/grafx2/scripts/samples_2.4/picture/others-8bit/ostro_zx.lua grafx2/share/grafx2/scripts/samples_2.4/picture/others-8bit/lib/ostro_other.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/bayer4_mo5.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/bayer4_to8.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/none_mo5.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/none_to8.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/none_to9.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/ostro_mo5.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/ostro_to7.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/ostro_to8.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/ostro_to9.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/lib/bayer.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/lib/color.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/lib/color_reduction.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/lib/convex_hull.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/lib/ostromoukhov.lua grafx2/share/grafx2/scripts/samples_2.4/picture/thomson/lib/thomson.lua grafx2/share/grafx2/skins/skin_classic.png grafx2/share/grafx2/skins/skin_modern.png grafx2/share/grafx2/skins/skin_DPaint.png grafx2/share/grafx2/skins/font_Classic.png grafx2/share/grafx2/skins/font_Fun.png grafx2/share/grafx2/skins/font_Fairlight.png grafx2/share/grafx2/skins/font_Melon.png grafx2/share/grafx2/skins/font_DPaint.png grafx2/share/grafx2/skins/skin_scenish.png grafx2/share/grafx2/skins/font_Seen.png grafx2/share/grafx2/skins/skin_Aurora.png grafx2/share/grafx2/skins/unicode_0410-044F.png grafx2/src/gfx2.ico grafx2/share/grafx2/gfx2.gif grafx2/share/icons/grafx2.svg grafx2/doc/README.txt grafx2/doc/COMPILING.txt grafx2/doc/gpl-2.0.txt grafx2/doc/PF_fonts.txt grafx2/misc/unix/grafx2.1 grafx2/misc/unix/grafx2.xpm grafx2/misc/unix/grafx2.desktop grafx2/misc/morphos/grafx2.info grafx2/share/grafx2/fonts/8pxfont.png grafx2/share/grafx2/fonts/Tuffy.ttf grafx2/share/grafx2/fonts/PF_Arma_5__.png grafx2/share/grafx2/fonts/PF_Easta_7_.png grafx2/share/grafx2/fonts/PF_Easta_7__.png grafx2/share/grafx2/fonts/PF_Ronda_7__.png grafx2/share/grafx2/fonts/PF_Tempesta_5.png grafx2/share/grafx2/fonts/PF_Tempesta_5_.png grafx2/share/grafx2/fonts/PF_Tempesta_5__.png grafx2/share/grafx2/fonts/PF_Tempesta_5___.png grafx2/share/grafx2/fonts/PF_Tempesta_7.png grafx2/share/grafx2/fonts/PF_Tempesta_7_.png grafx2/share/grafx2/fonts/PF_Tempesta_7__.png grafx2/share/grafx2/fonts/PF_Tempesta_7___.png grafx2/share/grafx2/fonts/PF_Westa_7_.png grafx2/share/grafx2/fonts/PF_Westa_7__.png grafx2/src/Grafx2_Prefix.pch grafx2/src/SDLMain.m fatal: not a git repository (or any of the parent directories): .git mkdir -p ../obj/unix gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c main.c -o ../obj/unix/main.o main.c: In function ‘Init_program’: main.c:972:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 972 | Button_Page(-1); | ^~~~~~~~~~~~~~~ main.c:974:9: note: here 974 | case 1: | ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c init.c -o ../obj/unix/init.o init.c: In function ‘Load_graphics’: init.c:685:43: warning: ‘%s’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 685 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); | ^~ init.c:685:3: note: ‘snprintf’ output 7 or more bytes (assuming 4102) into a destination of size 4096 685 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function ‘Load_font’: init.c:772:43: warning: ‘%s’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 772 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); | ^~ init.c:772:3: note: ‘snprintf’ output 7 or more bytes (assuming 4102) into a destination of size 4096 772 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function ‘Load_Unicode_fonts’: init.c:815:44: warning: ‘%s’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 815 | snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); | ^~ init.c:815:3: note: ‘snprintf’ output between 6 and 4101 bytes into a destination of size 4096 815 | snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function ‘Define_icon’: init.c:3199:27: warning: ‘%s’ directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 3199 | sprintf(icon_path, "%s%s", Data_directory, "gfx2.gif"); | ^~ ~~~~~~~~~~ init.c:3199:5: note: ‘sprintf’ output between 9 and 4104 bytes into a destination of size 4096 3199 | sprintf(icon_path, "%s%s", Data_directory, "gfx2.gif"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c graph.c -o ../obj/unix/graph.o graph.c: In function ‘Draw_line_preview_xor’: graph.c:1850:16: warning: cast between incompatible function types from ‘void (*)(short int, short int, byte)’ {aka ‘void (*)(short int, short int, unsigned char)’} to ‘void (*)(word, word, byte)’ {aka ‘void (*)(short unsigned int, short unsigned int, unsigned char)’} [-Wcast-function-type] 1850 | Pixel_figure=(Func_pixel)Pixel_figure_preview_xor; | ^ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c sdlscreen.c -o ../obj/unix/sdlscreen.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c misc.c -o ../obj/unix/misc.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c special.c -o ../obj/unix/special.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c buttons.c -o ../obj/unix/buttons.o buttons.c: In function ‘Button_Gradients’: buttons.c:2727:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 2727 | Display_cursor(); | ^~~~~~~~~~~~~~~~ buttons.c:2728:7: note: here 2728 | case 8 : // Speed | ^~~~ In file included from buttons.c:57: buttons.c: In function ‘Button_Resolution’: misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:1996:3: note: in expansion of macro ‘Num2str’ 1996 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 6 bytes into a destination of size 5 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:1996:3: note: in expansion of macro ‘Num2str’ 1996 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2000:3: note: in expansion of macro ‘Num2str’ 2000 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 6 bytes into a destination of size 5 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2000:3: note: in expansion of macro ‘Num2str’ 2000 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2061:13: note: in expansion of macro ‘Num2str’ 2061 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 6 bytes into a destination of size 5 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2061:13: note: in expansion of macro ‘Num2str’ 2061 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2065:13: note: in expansion of macro ‘Num2str’ 2065 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 6 bytes into a destination of size 5 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2065:13: note: in expansion of macro ‘Num2str’ 2065 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2032:9: note: in expansion of macro ‘Num2str’ 2032 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 6 bytes into a destination of size 5 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2032:9: note: in expansion of macro ‘Num2str’ 2032 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2018:9: note: in expansion of macro ‘Num2str’ 2018 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 6 bytes into a destination of size 5 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2018:9: note: in expansion of macro ‘Num2str’ 2018 | Num2str(chosen_width,str,4); | ^~~~~~~ buttons.c: In function ‘Refresh_airbrush_settings’: misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:4143:3: note: in expansion of macro ‘Num2str’ 4143 | Num2str(Airbrush_multi_flow[selected_color],str,2); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 3 and 4 bytes into a destination of size 3 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:4143:3: note: in expansion of macro ‘Num2str’ 4143 | Num2str(Airbrush_multi_flow[selected_color],str,2); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c palette.c -o ../obj/unix/palette.o In file included from palette.c:29: palette.c: In function ‘Button_Secondary_palette’: misc.h:132:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2914:3: note: in expansion of macro ‘Num2str’ 2914 | Num2str(Config.Palette_cells_X,str,3); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2914:3: note: in expansion of macro ‘Num2str’ 2914 | Num2str(Config.Palette_cells_X,str,3); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 4 and 6 bytes into a destination of size 4 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2914:3: note: in expansion of macro ‘Num2str’ 2914 | Num2str(Config.Palette_cells_X,str,3); | ^~~~~~~ misc.h:132:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2918:3: note: in expansion of macro ‘Num2str’ 2918 | Num2str(Config.Palette_cells_Y,str,3); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2918:3: note: in expansion of macro ‘Num2str’ 2918 | Num2str(Config.Palette_cells_Y,str,3); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 4 and 6 bytes into a destination of size 4 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2918:3: note: in expansion of macro ‘Num2str’ 2918 | Num2str(Config.Palette_cells_Y,str,3); | ^~~~~~~ misc.h:132:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2997:9: note: in expansion of macro ‘Num2str’ 2997 | Num2str(rgb_scale_slider->Position,str,3); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [1, 32767] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2997:9: note: in expansion of macro ‘Num2str’ 2997 | Num2str(rgb_scale_slider->Position,str,3); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 4 and 6 bytes into a destination of size 4 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2997:9: note: in expansion of macro ‘Num2str’ 2997 | Num2str(rgb_scale_slider->Position,str,3); | ^~~~~~~ palette.c: In function ‘Button_Palette’: misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2234:13: note: in expansion of macro ‘Num2str’ 2234 | Num2str( Color_max-red_slider->Position ,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2234:13: note: in expansion of macro ‘Num2str’ 2234 | Num2str( Color_max-red_slider->Position ,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2228:13: note: in expansion of macro ‘Num2str’ 2228 | Num2str(-(Color_max-red_slider->Position),str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2228:13: note: in expansion of macro ‘Num2str’ 2228 | Num2str(-(Color_max-red_slider->Position),str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2255:13: note: in expansion of macro ‘Num2str’ 2255 | Num2str( Color_max-green_slider->Position ,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2255:13: note: in expansion of macro ‘Num2str’ 2255 | Num2str( Color_max-green_slider->Position ,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2249:13: note: in expansion of macro ‘Num2str’ 2249 | Num2str(-(Color_max-green_slider->Position),str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2249:13: note: in expansion of macro ‘Num2str’ 2249 | Num2str(-(Color_max-green_slider->Position),str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2276:13: note: in expansion of macro ‘Num2str’ 2276 | Num2str( Color_max-blue_slider->Position ,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2276:13: note: in expansion of macro ‘Num2str’ 2276 | Num2str( Color_max-blue_slider->Position ,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2270:13: note: in expansion of macro ‘Num2str’ 2270 | Num2str(-(Color_max-blue_slider->Position),str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2270:13: note: in expansion of macro ‘Num2str’ 2270 | Num2str(-(Color_max-blue_slider->Position),str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2108:13: note: in expansion of macro ‘Num2str’ 2108 | Num2str( Color_max-red_slider->Position ,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2108:13: note: in expansion of macro ‘Num2str’ 2108 | Num2str( Color_max-red_slider->Position ,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2102:13: note: in expansion of macro ‘Num2str’ 2102 | Num2str(-(Color_max-red_slider->Position),str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2102:13: note: in expansion of macro ‘Num2str’ 2102 | Num2str(-(Color_max-red_slider->Position),str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2129:13: note: in expansion of macro ‘Num2str’ 2129 | Num2str( Color_max-green_slider->Position ,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2129:13: note: in expansion of macro ‘Num2str’ 2129 | Num2str( Color_max-green_slider->Position ,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2123:13: note: in expansion of macro ‘Num2str’ 2123 | Num2str(-(Color_max-green_slider->Position),str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2123:13: note: in expansion of macro ‘Num2str’ 2123 | Num2str(-(Color_max-green_slider->Position),str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2150:13: note: in expansion of macro ‘Num2str’ 2150 | Num2str( Color_max-blue_slider->Position ,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2150:13: note: in expansion of macro ‘Num2str’ 2150 | Num2str( Color_max-blue_slider->Position ,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2144:13: note: in expansion of macro ‘Num2str’ 2144 | Num2str(-(Color_max-blue_slider->Position),str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2144:13: note: in expansion of macro ‘Num2str’ 2144 | Num2str(-(Color_max-blue_slider->Position),str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1692:13: note: in expansion of macro ‘Num2str’ 1692 | Num2str( Color_max-blue_slider->Position ,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1692:13: note: in expansion of macro ‘Num2str’ 1692 | Num2str( Color_max-blue_slider->Position ,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1686:13: note: in expansion of macro ‘Num2str’ 1686 | Num2str(-(Color_max-blue_slider->Position),str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1686:13: note: in expansion of macro ‘Num2str’ 1686 | Num2str(-(Color_max-blue_slider->Position),str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1611:13: note: in expansion of macro ‘Num2str’ 1611 | Num2str( Color_max-green_slider->Position ,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1611:13: note: in expansion of macro ‘Num2str’ 1611 | Num2str( Color_max-green_slider->Position ,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1605:13: note: in expansion of macro ‘Num2str’ 1605 | Num2str(-(Color_max-green_slider->Position),str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1605:13: note: in expansion of macro ‘Num2str’ 1605 | Num2str(-(Color_max-green_slider->Position),str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1530:13: note: in expansion of macro ‘Num2str’ 1530 | Num2str( Color_max-red_slider->Position ,str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1530:13: note: in expansion of macro ‘Num2str’ 1530 | Num2str( Color_max-red_slider->Position ,str,4); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1524:13: note: in expansion of macro ‘Num2str’ 1524 | Num2str(-(Color_max-red_slider->Position),str,4); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 10 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1524:13: note: in expansion of macro ‘Num2str’ 1524 | Num2str(-(Color_max-red_slider->Position),str,4); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c help.c -o ../obj/unix/help.o help.c: In function ‘Window_set_shortcut’: help.c:229:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | shortcut_ptr[1]=backup_shortcut[1]; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ help.c:230:7: note: here 230 | case 2: // OK | ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c operatio.c -o ../obj/unix/operatio.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pages.c -o ../obj/unix/pages.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c loadsave.c -o ../obj/unix/loadsave.o In function ‘Look_for_alternate_ext’, inlined from ‘Look_for_alternate_ext’ at loadsave.c:1786:13: loadsave.c:1819:5: warning: ‘strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation] 1819 | strncpy(params->foundname, filename, MAX_PATH_CHARACTERS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadsave.c:1836:5: warning: ‘strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation] 1836 | strncpy(params->foundname, filename, MAX_PATH_CHARACTERS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadsave.c: In function ‘Rotate_safety_backups’: loadsave.c:1628:32: warning: ‘%6.6d’ directive writing 6 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 1628 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~ loadsave.c:1628:27: note: directive argument in the range [0, 999999] 1628 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~~~~~~~ loadsave.c:1628:5: note: ‘sprintf’ output between 12 and 4107 bytes into a destination of size 4096 1628 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1629 | Config_directory, | ~~~~~~~~~~~~~~~~~ 1630 | Main.safety_backup_prefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1631 | (Uint32)(Main.safety_number + 1000000l - Rotation_safety_backup) % (Uint32)1000000l); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadsave.c: In function ‘Open_file_read_with_alternate_ext’: loadsave.c:1847:3: warning: ‘strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation] 1847 | strncpy(params.basename, context->File_name, MAX_PATH_CHARACTERS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c readline.c -o ../obj/unix/readline.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c engine.c -o ../obj/unix/engine.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c filesel.c -o ../obj/unix/filesel.o filesel.c: In function ‘Print_filename_in_fileselector’: filesel.c:1268:3: warning: ‘strncpy’ output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation] 1268 | strncpy(filename, Selector_filename, sizeof(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filesel.c: In function ‘Button_Load_or_Save’: filesel.c:2269:11: warning: ‘strncpy’ output may be truncated copying 256 bytes from a string of length 4095 [-Wstringop-truncation] 2269 | strncpy(Selector_filename, save_filename, sizeof(Selector_filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c op_c.c -o ../obj/unix/op_c.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c readini.c -o ../obj/unix/readini.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c saveini.c -o ../obj/unix/saveini.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c shade.c -o ../obj/unix/shade.o shade.c: In function ‘Tag_shades’: shade.c:157:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 157 | for (line=0; line<8; line++) | ^~~ In file included from shade.c:32: windows.h:37:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 37 | #define Update_window_area(x,y,w,h) Update_rect(Window_pos_X+(x)*Menu_factor_X,Window_pos_Y+(y)*Menu_factor_Y,(w)*Menu_factor_X,(h)*Menu_factor_Y); | ^~~~~~~~~~~ shade.c:183:5: note: in expansion of macro ‘Update_window_area’ 183 | Update_window_area(8,131,64<<2,8<<3); | ^~~~~~~~~~~~~~~~~~ In file included from shade.c:28: shade.c: In function ‘Display_selected_color’: misc.h:132:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ shade.c:208:5: note: in expansion of macro ‘Num2str’ 208 | Num2str(selection_start,str,3); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ shade.c:208:5: note: in expansion of macro ‘Num2str’ 208 | Num2str(selection_start,str,3); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 4 and 6 bytes into a destination of size 4 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shade.c:208:5: note: in expansion of macro ‘Num2str’ 208 | Num2str(selection_start,str,3); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c keyboard.c -o ../obj/unix/keyboard.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c io.c -o ../obj/unix/io.o echo "char SVN_revision[]=\"1960\";" > version.c gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c version.c -o ../obj/unix/version.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c text.c -o ../obj/unix/text.o text.c: In function ‘Init_text’: text.c:290:55: warning: ‘%s’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 290 | snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); | ^~ text.c:290:3: note: ‘snprintf’ output between 6 and 4101 bytes into a destination of size 4096 290 | snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:293:55: warning: ‘%s’ directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 293 | snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); | ^~ ~~~~~~~~ text.c:293:3: note: ‘snprintf’ output between 7 and 4102 bytes into a destination of size 4096 293 | snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c SFont.c -o ../obj/unix/SFont.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c setup.c -o ../obj/unix/setup.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pxsimple.c -o ../obj/unix/pxsimple.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pxtall.c -o ../obj/unix/pxtall.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pxwide.c -o ../obj/unix/pxwide.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pxdouble.c -o ../obj/unix/pxdouble.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pxtriple.c -o ../obj/unix/pxtriple.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pxtall2.c -o ../obj/unix/pxtall2.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pxtall3.c -o ../obj/unix/pxtall3.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pxwide2.c -o ../obj/unix/pxwide2.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pxquad.c -o ../obj/unix/pxquad.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c windows.c -o ../obj/unix/windows.o windows.c: In function ‘Display_cursor’: windows.c:2405:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 2405 | if (Cursor_hidden) | ^ windows.c:2408:5: note: here 2408 | case CURSOR_SHAPE_ARROW : | ^~~~ windows.c: In function ‘Hide_cursor’: windows.c:2704:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 2704 | if (Cursor_hidden) | ^ windows.c:2707:5: note: here 2707 | case CURSOR_SHAPE_ARROW : | ^~~~ windows.c: In function ‘Display_layerbar’: windows.c:604:23: warning: ‘%3d’ directive output may be truncated writing between 3 and 11 bytes into a region of size 8 [-Wformat-truncation=] 604 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~ windows.c:604:22: note: directive argument in the range [-2147483647, 2147483647] 604 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~~~~~~~ windows.c:604:5: note: ‘snprintf’ output between 8 and 24 bytes into a destination of size 8 604 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from windows.c:46: windows.c: In function ‘Print_coordinates’: misc.h:132:34: warning: ‘%*lu’ directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1020:5: note: in expansion of macro ‘Num2str’ 1020 | Num2str((dword)Paintbrush_X,temp,4); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 4294967295] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1020:5: note: in expansion of macro ‘Num2str’ 1020 | Num2str((dword)Paintbrush_X,temp,4); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 5 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows.c:1020:5: note: in expansion of macro ‘Num2str’ 1020 | Num2str((dword)Paintbrush_X,temp,4); | ^~~~~~~ misc.h:132:34: warning: ‘%*lu’ directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1022:5: note: in expansion of macro ‘Num2str’ 1022 | Num2str((dword)Paintbrush_Y,temp,4); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 4294967295] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1022:5: note: in expansion of macro ‘Num2str’ 1022 | Num2str((dword)Paintbrush_Y,temp,4); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 5 and 11 bytes into a destination of size 5 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows.c:1022:5: note: in expansion of macro ‘Num2str’ 1022 | Num2str((dword)Paintbrush_Y,temp,4); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c brush.c -o ../obj/unix/brush.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c realpath.c -o ../obj/unix/realpath.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c mountlist.c -o ../obj/unix/mountlist.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c input.c -o ../obj/unix/input.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c hotkeys.c -o ../obj/unix/hotkeys.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c transform.c -o ../obj/unix/transform.o transform.c: In function ‘Button_Transform_menu’: transform.c:268:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | if (unit_index!=UNIT_RATIO) | ^ transform.c:270:7: note: here 270 | case 10: // input new width | ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c pversion.c -o ../obj/unix/pversion.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c factory.c -o ../obj/unix/factory.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c fileformats.c -o ../obj/unix/fileformats.o fileformats.c: In function ‘Save_IFF’: fileformats.c:2191:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 2191 | header.X_aspect = (header.X_aspect * 15) / 10; // *1.5 | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileformats.c:2192:7: note: here 2192 | case PIXEL_TALL: | ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c miscfileformats.c -o ../obj/unix/miscfileformats.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c libraw2crtc.c -o ../obj/unix/libraw2crtc.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c brush_ops.c -o ../obj/unix/brush_ops.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c buttons_effects.c -o ../obj/unix/buttons_effects.o buttons_effects.c: In function ‘Button_Grid_menu’: buttons_effects.c:533:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 533 | Display_cursor(); | ^~~~~~~~~~~~~~~~ buttons_effects.c:535:7: note: here 535 | case 7: | ^~~~ In file included from buttons_effects.c:39: misc.h:132:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:432:3: note: in expansion of macro ‘Num2str’ 432 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:432:3: note: in expansion of macro ‘Num2str’ 432 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 4 and 6 bytes into a destination of size 4 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:432:3: note: in expansion of macro ‘Num2str’ 432 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:132:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:437:3: note: in expansion of macro ‘Num2str’ 437 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:437:3: note: in expansion of macro ‘Num2str’ 437 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 4 and 6 bytes into a destination of size 4 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:437:3: note: in expansion of macro ‘Num2str’ 437 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:132:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:488:9: note: in expansion of macro ‘Num2str’ 488 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:488:9: note: in expansion of macro ‘Num2str’ 488 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 4 and 6 bytes into a destination of size 4 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:488:9: note: in expansion of macro ‘Num2str’ 488 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:132:34: warning: ‘%*lu’ directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:466:9: note: in expansion of macro ‘Num2str’ 466 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:466:9: note: in expansion of macro ‘Num2str’ 466 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 4 and 6 bytes into a destination of size 4 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:466:9: note: in expansion of macro ‘Num2str’ 466 | Num2str(chosen_X,str,3); | ^~~~~~~ buttons_effects.c: In function ‘Button_Smooth_menu’: misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:637:7: note: in expansion of macro ‘Num2str’ 637 | Num2str(chosen_matrix[i][j], str, 2); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 3 and 4 bytes into a destination of size 3 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:637:7: note: in expansion of macro ‘Num2str’ 637 | Num2str(chosen_matrix[i][j], str, 2); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:665:9: note: in expansion of macro ‘Num2str’ 665 | Num2str(chosen_matrix[x][y],str,2); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 3 and 4 bytes into a destination of size 3 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:665:9: note: in expansion of macro ‘Num2str’ 665 | Num2str(chosen_matrix[x][y],str,2); | ^~~~~~~ misc.h:132:34: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:657:13: note: in expansion of macro ‘Num2str’ 657 | Num2str(chosen_matrix[i][j],str,2); | ^~~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:132:24: note: ‘sprintf’ output between 3 and 4 bytes into a destination of size 3 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:657:13: note: in expansion of macro ‘Num2str’ 657 | Num2str(chosen_matrix[i][j],str,2); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c layers.c -o ../obj/unix/layers.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c oldies.c -o ../obj/unix/oldies.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c tiles.c -o ../obj/unix/tiles.o In file included from tiles.c:29: tiles.c: In function ‘Tilemap_update’: misc.h:132:34: warning: ‘%*lu’ directive writing between 7 and 10 bytes into a region of size 8 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ tiles.c:345:7: note: in expansion of macro ‘Num2str’ 345 | Num2str(count,str,7); | ^~~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [1, 2147483647] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ tiles.c:345:7: note: in expansion of macro ‘Num2str’ 345 | Num2str(count,str,7); | ^~~~~~~ misc.h:132:24: note: ‘sprintf’ output between 8 and 11 bytes into a destination of size 8 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiles.c:345:7: note: in expansion of macro ‘Num2str’ 345 | Num2str(count,str,7); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c colorred.c -o ../obj/unix/colorred.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c unicode.c -o ../obj/unix/unicode.o if [ -d ../3rdparty ] ; then make -C ../3rdparty recoil ; fi if [ -f ../3rdparty/recoil-4.2.0/recoil.c ] ; then cp ../3rdparty/recoil-4.2.0/recoil.c recoil.c ; fi if [ -f ../3rdparty/recoil-4.2.0/recoil.h ] ; then cp ../3rdparty/recoil-4.2.0/recoil.h recoil.h ; fi gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c loadrecoil.c -o ../obj/unix/loadrecoil.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -fPIC -c recoil.c -o ../obj/unix/recoil.o recoil.c: In function ‘MultiPalette_SetLinePalette’: recoil.c:3590:75: warning: unused parameter ‘recoil’ [-Wunused-parameter] 3590 | static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) | ~~~~~~~~~~~~~~^~~~~~ recoil.c:3590:87: warning: unused parameter ‘y’ [-Wunused-parameter] 3590 | static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) | ~~~~^ recoil.c: In function ‘PgrRenderer_GetPlayfieldByte’: recoil.c:4144:70: warning: unused parameter ‘y’ [-Wunused-parameter] 4144 | static int PgrRenderer_GetPlayfieldByte(PgrRenderer const *self, int y, int column) | ~~~~^ recoil.c: In function ‘RECOIL_ReadFile’: recoil.c:16416:54: warning: unused parameter ‘filename’ [-Wunused-parameter] 16416 | static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) | ~~~~~~~~~~~~^~~~~~~~ recoil.c:16416:92: warning: unused parameter ‘contentLength’ [-Wunused-parameter] 16416 | static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) | ~~~~^~~~~~~~~~~~~ recoil.c: In function ‘RECOIL_UnpackLz4’: recoil.c:16971:46: warning: unused parameter ‘self’ [-Wunused-parameter] 16971 | static cibool RECOIL_UnpackLz4(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ recoil.c: In function ‘RECOIL_UnpackPbx’: recoil.c:17102:60: warning: unused parameter ‘self’ [-Wunused-parameter] 17102 | static unsigned char const *RECOIL_UnpackPbx(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int bitmapOffset, int bytesPer16Pixels, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ recoil.c: In function ‘RECOIL_UnpackRip’: recoil.c:17128:46: warning: unused parameter ‘self’ [-Wunused-parameter] 17128 | static cibool RECOIL_UnpackRip(RECOIL const *self, unsigned char const *content, int contentOffset, int contentLength, unsigned char *unpacked, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ gcc ../obj/unix/main.o ../obj/unix/init.o ../obj/unix/graph.o ../obj/unix/sdlscreen.o ../obj/unix/misc.o ../obj/unix/special.o ../obj/unix/buttons.o ../obj/unix/palette.o ../obj/unix/help.o ../obj/unix/operatio.o ../obj/unix/pages.o ../obj/unix/loadsave.o ../obj/unix/readline.o ../obj/unix/engine.o ../obj/unix/filesel.o ../obj/unix/op_c.o ../obj/unix/readini.o ../obj/unix/saveini.o ../obj/unix/shade.o ../obj/unix/keyboard.o ../obj/unix/io.o ../obj/unix/version.o ../obj/unix/text.o ../obj/unix/SFont.o ../obj/unix/setup.o ../obj/unix/pxsimple.o ../obj/unix/pxtall.o ../obj/unix/pxwide.o ../obj/unix/pxdouble.o ../obj/unix/pxtriple.o ../obj/unix/pxtall2.o ../obj/unix/pxtall3.o ../obj/unix/pxwide2.o ../obj/unix/pxquad.o ../obj/unix/windows.o ../obj/unix/brush.o ../obj/unix/realpath.o ../obj/unix/mountlist.o ../obj/unix/input.o ../obj/unix/hotkeys.o ../obj/unix/transform.o ../obj/unix/pversion.o ../obj/unix/factory.o ../obj/unix/fileformats.o ../obj/unix/miscfileformats.o ../obj/unix/libraw2crtc.o ../obj/unix/brush_ops.o ../obj/unix/buttons_effects.o ../obj/unix/layers.o ../obj/unix/oldies.o ../obj/unix/tiles.o ../obj/unix/colorred.o ../obj/unix/unicode.o ../obj/unix/loadrecoil.o ../obj/unix/recoil.o -o ../bin/grafx2 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lSDL -lpthread -lSDL_image -L/usr/lib -lSDL_ttf -lfontconfig -lpng16 -lz -lm # Create dirs test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/bin || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/bin test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2 || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2 test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/fonts || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/fonts test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/skins || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/skins test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/libs || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/libs test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4 || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4 test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/brush || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/brush test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/demo || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/demo test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/demo/brush || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/demo/brush test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/libs || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/libs test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/palette || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/palette test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture/thomson || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture/thomson test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture/others-8bit || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture/others-8bit test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture/others-8bit/lib || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/scripts/samples_2.4/picture/others-8bit/lib test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/applications || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/applications test -d /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/icons || mkdir -p /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/icons # Copy files cp ../bin/grafx2 /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/bin cp ../share/grafx2/gfx2def.ini /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/ cp ../share/grafx2/gfx2.gif /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/ cp ../share/grafx2/fonts/* /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/fonts/ cp ../share/grafx2/skins/skin_classic.png ../share/grafx2/skins/skin_modern.png ../share/grafx2/skins/skin_DPaint.png ../share/grafx2/skins/font_Classic.png ../share/grafx2/skins/font_Fun.png ../share/grafx2/skins/font_Fairlight.png ../share/grafx2/skins/font_Melon.png ../share/grafx2/skins/font_DPaint.png ../share/grafx2/skins/skin_scenish.png ../share/grafx2/skins/font_Seen.png ../share/grafx2/skins/skin_Aurora.png ../share/grafx2/skins/unicode_0410-044F.png /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/grafx2/skins/ for f in grafx2/scripts/samples_2.4/brush/ApplyColor.lua grafx2/scripts/samples_2.4/brush/Fisheye.lua grafx2/scripts/samples_2.4/brush/GrayscaleAvg.lua grafx2/scripts/samples_2.4/brush/GrayscaleDesat.lua grafx2/scripts/samples_2.4/brush/Halfsmooth.lua grafx2/scripts/samples_2.4/brush/Waves.lua grafx2/scripts/samples_2.4/demo/3DPalette.lua grafx2/scripts/samples_2.4/demo/Ellipse.lua grafx2/scripts/samples_2.4/demo/FlipPicture.lua grafx2/scripts/samples_2.4/demo/SierpinskyCarpet.lua grafx2/scripts/samples_2.4/demo/SierpinskyTriangle.lua grafx2/scripts/samples_2.4/demo/Spritesheet.lua grafx2/scripts/samples_2.4/demo/brush/Amigaball.lua grafx2/scripts/samples_2.4/demo/brush/ColorSphere.lua grafx2/scripts/samples_2.4/demo/brush/FindAA.lua grafx2/scripts/samples_2.4/demo/brush/Mandelbrot.lua grafx2/scripts/samples_2.4/libs/dawnbringer_lib.lua grafx2/scripts/samples_2.4/libs/memory.lua grafx2/scripts/samples_2.4/palette/Desaturate.lua grafx2/scripts/samples_2.4/palette/ExpandColors.lua grafx2/scripts/samples_2.4/palette/FillColorCube.lua grafx2/scripts/samples_2.4/palette/InvertedRGB.lua grafx2/scripts/samples_2.4/palette/Set3bit.lua grafx2/scripts/samples_2.4/palette/Set6bit.lua grafx2/scripts/samples_2.4/palette/SetC64Palette.lua grafx2/scripts/samples_2.4/palette/ShiftHue.lua grafx2/scripts/samples_2.4/picture/CellColourReducer.lua grafx2/scripts/samples_2.4/picture/DrawGridIsometric.lua grafx2/scripts/samples_2.4/picture/DrawgridOrthogonal_Index.lua grafx2/scripts/samples_2.4/picture/DrawGridOrthogonal_RGB.lua grafx2/scripts/samples_2.4/picture/GlassGridFilter.lua grafx2/scripts/samples_2.4/picture/PaletteToPicture.lua grafx2/scripts/samples_2.4/picture/Pic2isometric.lua grafx2/scripts/samples_2.4/picture/Rainbow-Dark2Bright.lua grafx2/scripts/samples_2.4/picture/RemapImage2RGB.lua grafx2/scripts/samples_2.4/picture/RemapImage2RGB_ed.lua grafx2/scripts/samples_2.4/picture/RemapImageTo3bitPal.lua grafx2/scripts/samples_2.4/picture/XBitColourXpaceFromPalette.lua grafx2/scripts/samples_2.4/picture/Tiler.lua grafx2/scripts/samples_2.4/picture/FontConvert.lua grafx2/scripts/samples_2.4/picture/others-8bit/ostro_oric.lua grafx2/scripts/samples_2.4/picture/others-8bit/ostro_zx.lua grafx2/scripts/samples_2.4/picture/others-8bit/lib/ostro_other.lua grafx2/scripts/samples_2.4/picture/thomson/bayer4_mo5.lua grafx2/scripts/samples_2.4/picture/thomson/bayer4_to8.lua grafx2/scripts/samples_2.4/picture/thomson/none_mo5.lua grafx2/scripts/samples_2.4/picture/thomson/none_to8.lua grafx2/scripts/samples_2.4/picture/thomson/none_to9.lua grafx2/scripts/samples_2.4/picture/thomson/ostro_mo5.lua grafx2/scripts/samples_2.4/picture/thomson/ostro_to7.lua grafx2/scripts/samples_2.4/picture/thomson/ostro_to8.lua grafx2/scripts/samples_2.4/picture/thomson/ostro_to9.lua grafx2/scripts/samples_2.4/picture/thomson/lib/bayer.lua grafx2/scripts/samples_2.4/picture/thomson/lib/color.lua grafx2/scripts/samples_2.4/picture/thomson/lib/color_reduction.lua grafx2/scripts/samples_2.4/picture/thomson/lib/convex_hull.lua grafx2/scripts/samples_2.4/picture/thomson/lib/ostromoukhov.lua grafx2/scripts/samples_2.4/picture/thomson/lib/thomson.lua; do cp "../share/$f" "/usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/$f" ; done # Icon and desktop file for debian cp ../misc/unix/grafx2.desktop /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/applications/ cp ../misc/unix/grafx2.xpm /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/icons cp ../share/icons/grafx2.svg /usr/src/slapt-src/graphics/grafx2/package-grafx2/usr/share/icons Install complete Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/graphics/grafx2/grafx2-2.5.1960-x86_64-1salix15.0.txz ./ install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/grafx2 usr/doc/ usr/doc/grafx2-2.5.1960/ usr/doc/grafx2-2.5.1960/COMPILING.txt usr/doc/grafx2-2.5.1960/PF_fonts.txt usr/doc/grafx2-2.5.1960/README.txt usr/doc/grafx2-2.5.1960/gpl-2.0.txt usr/doc/grafx2-2.5.1960/grafx2.SlackBuild usr/share/ usr/share/applications/ usr/share/applications/grafx2.desktop usr/share/grafx2/ usr/share/grafx2/fonts/ usr/share/grafx2/fonts/8pxfont.png usr/share/grafx2/fonts/PF_Arma_5__.png usr/share/grafx2/fonts/PF_Easta_7_.png usr/share/grafx2/fonts/PF_Easta_7__.png usr/share/grafx2/fonts/PF_Ronda_7__.png usr/share/grafx2/fonts/PF_Tempesta_5.png usr/share/grafx2/fonts/PF_Tempesta_5_.png usr/share/grafx2/fonts/PF_Tempesta_5__.png usr/share/grafx2/fonts/PF_Tempesta_5___.png usr/share/grafx2/fonts/PF_Tempesta_7.png usr/share/grafx2/fonts/PF_Tempesta_7_.png usr/share/grafx2/fonts/PF_Tempesta_7__.png usr/share/grafx2/fonts/PF_Tempesta_7___.png usr/share/grafx2/fonts/PF_Westa_7_.png usr/share/grafx2/fonts/PF_Westa_7__.png usr/share/grafx2/fonts/Tuffy.ttf usr/share/grafx2/gfx2.gif usr/share/grafx2/gfx2def.ini usr/share/grafx2/scripts/ usr/share/grafx2/scripts/libs/ usr/share/grafx2/scripts/samples_2.4/ usr/share/grafx2/scripts/samples_2.4/brush/ usr/share/grafx2/scripts/samples_2.4/brush/ApplyColor.lua usr/share/grafx2/scripts/samples_2.4/brush/Fisheye.lua usr/share/grafx2/scripts/samples_2.4/brush/GrayscaleAvg.lua usr/share/grafx2/scripts/samples_2.4/brush/GrayscaleDesat.lua usr/share/grafx2/scripts/samples_2.4/brush/Halfsmooth.lua usr/share/grafx2/scripts/samples_2.4/brush/Waves.lua usr/share/grafx2/scripts/samples_2.4/demo/ usr/share/grafx2/scripts/samples_2.4/demo/3DPalette.lua usr/share/grafx2/scripts/samples_2.4/demo/Ellipse.lua usr/share/grafx2/scripts/samples_2.4/demo/FlipPicture.lua usr/share/grafx2/scripts/samples_2.4/demo/SierpinskyCarpet.lua usr/share/grafx2/scripts/samples_2.4/demo/SierpinskyTriangle.lua usr/share/grafx2/scripts/samples_2.4/demo/Spritesheet.lua usr/share/grafx2/scripts/samples_2.4/demo/brush/ usr/share/grafx2/scripts/samples_2.4/demo/brush/Amigaball.lua usr/share/grafx2/scripts/samples_2.4/demo/brush/ColorSphere.lua usr/share/grafx2/scripts/samples_2.4/demo/brush/FindAA.lua usr/share/grafx2/scripts/samples_2.4/demo/brush/Mandelbrot.lua usr/share/grafx2/scripts/samples_2.4/libs/ usr/share/grafx2/scripts/samples_2.4/libs/dawnbringer_lib.lua usr/share/grafx2/scripts/samples_2.4/libs/memory.lua usr/share/grafx2/scripts/samples_2.4/palette/ usr/share/grafx2/scripts/samples_2.4/palette/Desaturate.lua usr/share/grafx2/scripts/samples_2.4/palette/ExpandColors.lua usr/share/grafx2/scripts/samples_2.4/palette/FillColorCube.lua usr/share/grafx2/scripts/samples_2.4/palette/InvertedRGB.lua usr/share/grafx2/scripts/samples_2.4/palette/Set3bit.lua usr/share/grafx2/scripts/samples_2.4/palette/Set6bit.lua usr/share/grafx2/scripts/samples_2.4/palette/SetC64Palette.lua usr/share/grafx2/scripts/samples_2.4/palette/ShiftHue.lua usr/share/grafx2/scripts/samples_2.4/picture/ usr/share/grafx2/scripts/samples_2.4/picture/CellColourReducer.lua usr/share/grafx2/scripts/samples_2.4/picture/DrawGridIsometric.lua usr/share/grafx2/scripts/samples_2.4/picture/DrawGridOrthogonal_RGB.lua usr/share/grafx2/scripts/samples_2.4/picture/DrawgridOrthogonal_Index.lua usr/share/grafx2/scripts/samples_2.4/picture/FontConvert.lua usr/share/grafx2/scripts/samples_2.4/picture/GlassGridFilter.lua usr/share/grafx2/scripts/samples_2.4/picture/PaletteToPicture.lua usr/share/grafx2/scripts/samples_2.4/picture/Pic2isometric.lua usr/share/grafx2/scripts/samples_2.4/picture/Rainbow-Dark2Bright.lua usr/share/grafx2/scripts/samples_2.4/picture/RemapImage2RGB.lua usr/share/grafx2/scripts/samples_2.4/picture/RemapImage2RGB_ed.lua usr/share/grafx2/scripts/samples_2.4/picture/RemapImageTo3bitPal.lua usr/share/grafx2/scripts/samples_2.4/picture/Tiler.lua usr/share/grafx2/scripts/samples_2.4/picture/XBitColourXpaceFromPalette.lua usr/share/grafx2/scripts/samples_2.4/picture/others-8bit/ usr/share/grafx2/scripts/samples_2.4/picture/others-8bit/lib/ usr/share/grafx2/scripts/samples_2.4/picture/others-8bit/lib/ostro_other.lua usr/share/grafx2/scripts/samples_2.4/picture/others-8bit/ostro_oric.lua usr/share/grafx2/scripts/samples_2.4/picture/others-8bit/ostro_zx.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/ usr/share/grafx2/scripts/samples_2.4/picture/thomson/bayer4_mo5.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/bayer4_to8.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib/ usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib/bayer.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib/color.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib/color_reduction.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib/convex_hull.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib/ostromoukhov.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib/thomson.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/none_mo5.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/none_to8.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/none_to9.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/ostro_mo5.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/ostro_to7.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/ostro_to8.lua usr/share/grafx2/scripts/samples_2.4/picture/thomson/ostro_to9.lua usr/share/grafx2/skins/ usr/share/grafx2/skins/font_Classic.png usr/share/grafx2/skins/font_DPaint.png usr/share/grafx2/skins/font_Fairlight.png usr/share/grafx2/skins/font_Fun.png usr/share/grafx2/skins/font_Melon.png usr/share/grafx2/skins/font_Seen.png usr/share/grafx2/skins/skin_Aurora.png usr/share/grafx2/skins/skin_DPaint.png usr/share/grafx2/skins/skin_classic.png usr/share/grafx2/skins/skin_modern.png usr/share/grafx2/skins/skin_scenish.png usr/share/grafx2/skins/unicode_0410-044F.png usr/share/icons/ usr/share/icons/grafx2.svg usr/share/icons/grafx2.xpm Slackware package /usr/src/slapt-src/graphics/grafx2/grafx2-2.5.1960-x86_64-1salix15.0.txz created. Installing package grafx2-2.5.1960-x86_64-1salix15.0... | grafx2 (The Ultimate 256-color bitmap paint program) | | GrafX2 is a drawing program dedicated to pixelart and low-color | graphics. Its layout is not very different from the famous Deluxe | Paint or Brilliance. | | Homepage: http://pulkomandy.tk/projects/GrafX2 | | | | | |