The following packages will be installed: zgv Fetching 90-svga.rules... 0%100%100%100%100%100%Done Fetching README... 0%100%100%100%100%100%Done Fetching doinst.sh... 0%100%100%100%100%100%Done Fetching patches/Makefile.doc.diff... 0%100%100%100%100%100%Done Fetching patches/Makefile.src.diff... 0%100%100%100%100%100%Done Fetching patches/config.mk.diff... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Fetching zgv.SlackBuild... 0%100%100%100%100%100%Done Fetching zgv.info... 0%100%100%100%100%100%Done Fetching zgv_5.9-2.patch... 0%100%100%100%100%100%Done zgv-5.9/ zgv-5.9/ChangeLog zgv-5.9/Makefile zgv-5.9/src/ zgv-5.9/src/Makefile zgv-5.9/src/rbmenu.h zgv-5.9/src/bdf2h.c zgv-5.9/src/readbmp.h zgv-5.9/src/readgif.c zgv-5.9/src/readpng.c zgv-5.9/src/copymove.h zgv-5.9/src/font.c zgv-5.9/src/rc_config.h zgv-5.9/src/readxpm.h zgv-5.9/src/readxvpic.c zgv-5.9/src/copymove.c zgv-5.9/src/rbmenu.c zgv-5.9/src/scrollbar.c zgv-5.9/src/vgadisp.h zgv-5.9/src/readmrf.h zgv-5.9/src/readnbkey.c zgv-5.9/src/readpnm.h zgv-5.9/src/rcfile.c zgv-5.9/src/readbmp.c zgv-5.9/src/zgv.c zgv-5.9/src/magic.h zgv-5.9/src/magic.c zgv-5.9/src/zgv.h zgv-5.9/src/readxpm.c zgv-5.9/src/mousecur.c zgv-5.9/src/rcfile.h zgv-5.9/src/resizepic.c zgv-5.9/src/resizepic.h zgv-5.9/src/readgif.h zgv-5.9/src/readpng.h zgv-5.9/src/font.h zgv-5.9/src/helppage.c zgv-5.9/src/readpcx.c zgv-5.9/src/readtga.h zgv-5.9/src/install-info.c zgv-5.9/src/vgadisp.c zgv-5.9/src/readpcx.h zgv-5.9/src/readpnm.c zgv-5.9/src/readxbm.c zgv-5.9/src/readxbm.h zgv-5.9/src/readjpeg.c zgv-5.9/src/readmrf.c zgv-5.9/src/readnbkey.h zgv-5.9/src/readtga.c zgv-5.9/src/readxvpic.h zgv-5.9/src/scrollbar.h zgv-5.9/src/3deffects.c zgv-5.9/src/3deffects.h zgv-5.9/src/helppage.h zgv-5.9/src/mousecur.h zgv-5.9/src/readjpeg.h zgv-5.9/src/gnuhelp.c zgv-5.9/src/gnuhelp.h zgv-5.9/src/modesel.c zgv-5.9/src/modesel.h zgv-5.9/src/readpcd.c zgv-5.9/src/readpcd.h zgv-5.9/src/mkopts.awk zgv-5.9/src/zgv_io.h zgv-5.9/src/options.src zgv-5.9/src/readtiff.c zgv-5.9/src/readtiff.h zgv-5.9/src/readprf.c zgv-5.9/src/readprf.h zgv-5.9/src/zgv_io.c zgv-5.9/doc/ zgv-5.9/doc/sample.zgvrc zgv-5.9/doc/zgv.texi zgv-5.9/doc/makeman.awk zgv-5.9/doc/Makefile zgv-5.9/doc/zgv zgv-5.9/doc/zgv-1 zgv-5.9/doc/zgv-2 zgv-5.9/doc/zgv-3 zgv-5.9/doc/zgv-4 zgv-5.9/doc/zgv.1 zgv-5.9/etc/ zgv-5.9/etc/README.bin zgv-5.9/etc/bin.makefile zgv-5.9/etc/README zgv-5.9/NEWS zgv-5.9/README zgv-5.9/config.mk zgv-5.9/TODO zgv-5.9/fonts/ zgv-5.9/fonts/helvB12.bdf zgv-5.9/fonts/helvR12.bdf zgv-5.9/fonts/helvR18.bdf zgv-5.9/fonts/timI12.bdf zgv-5.9/fonts/helvR08.bdf zgv-5.9/INSTALL zgv-5.9/COPYING zgv-5.9/README.fonts zgv-5.9/AUTHORS zgv-5.9/SECURITY patching file doc/Makefile patching file src/Makefile patching file config.mk patching file src/readpng.c cd src && make zgv make[1]: Entering directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/src' gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o zgv.o zgv.c zgv.c: In function ‘mainloop’: zgv.c:1391:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1391 | if(curent>1) curent--; break; | ^~ zgv.c:1391:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1391 | if(curent>1) curent--; break; | ^~~~~ zgv.c:1393:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1393 | if(curent255) actual0=255; | ^~ zgv.c:3840:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3840 | if(actual0<0) actual0=0; if(actual0>255) actual0=255; | ^~ zgv.c:3841:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 3841 | if(actual1<0) actual1=0; if(actual1>255) actual1=255; | ^~ zgv.c:3841:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3841 | if(actual1<0) actual1=0; if(actual1>255) actual1=255; | ^~ zgv.c:3842:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 3842 | if(actual2<0) actual2=0; if(actual2>255) actual2=255; | ^~ zgv.c:3842:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3842 | if(actual2<0) actual2=0; if(actual2>255) actual2=255; | ^~ zgv.c:3884:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 3884 | if(c<0) c=0; if(c>GREY_MAXVAL) c=GREY_MAXVAL; | ^~ zgv.c:3884:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3884 | if(c<0) c=0; if(c>GREY_MAXVAL) c=GREY_MAXVAL; | ^~ zgv.c: In function ‘rename_file’: zgv.c:1546:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] 1546 | snprintf(prompt,sizeof(prompt),"Rename %s to what?",gifdir[curent].name); | ^~ zgv.c:1546:1: note: ‘snprintf’ output between 17 and 272 bytes into a destination of size 256 1546 | snprintf(prompt,sizeof(prompt),"Rename %s to what?",gifdir[curent].name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zgv.c: In function ‘copymovedel_file_or_tagged_files’: zgv.c:1970:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] 1970 | snprintf(buf,sizeof(buf),"Error %s %s",msg_acting,gifdir[f].name); | ^~ zgv.c:1970:5: note: ‘snprintf’ output 8 or more bytes (assuming 263) into a destination of size 256 1970 | snprintf(buf,sizeof(buf),"Error %s %s",msg_acting,gifdir[f].name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘showerrmessage’, inlined from ‘showerrmessage’ at zgv.c:2819:6: zgv.c:2850:5: warning: ‘strncat’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 2850 | strncat(buf,jpeg_png_errmsg,sizeof(buf)-strlen(buf)-1); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zgv.c: In function ‘makedirxv332’: zgv.c:3121:38: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 39 [-Wformat-truncation=] 3121 | snprintf(tmpstr,sizeof(tmpstr),"%s/%s",filename,files[f]); | ^~ zgv.c:3121:3: note: ‘snprintf’ output 2 or more bytes (assuming 1025) into a destination of size 40 3121 | snprintf(tmpstr,sizeof(tmpstr),"%s/%s",filename,files[f]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zgv.c:3079:5: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 3079 | strncpy(files[pos],anentry->d_name,sizeof(files[pos])-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o vgadisp.o vgadisp.c vgadisp.c: In function ‘makerealpal’: vgadisp.c:753:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 753 | if(r>63) r=63; if(g>63) g=63; if(b>63) b=63; | ^~ vgadisp.c:753:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 753 | if(r>63) r=63; if(g>63) g=63; if(b>63) b=63; | ^~ vgadisp.c: In function ‘showgif’: vgadisp.c:1235:9: warning: variable ‘mleft’ set but not used [-Wunused-but-set-variable] 1235 | int mleft=is_end_click_left(),mright=is_end_click_right(); | ^~~~~ vgadisp.c: In function ‘redrawgif’: vgadisp.c:1999:28: warning: variable ‘pyym’ set but not used [-Wunused-but-set-variable] 1999 | int cdown=-1,i,pxx,pyy,pyym; | ^~~~ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o bdf2h.o bdf2h.c gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -o bdf2h bdf2h.o ./bdf2h 0 <../fonts/timI12.bdf >fontbmps.h ./bdf2h 1 <../fonts/helvR08.bdf >>fontbmps.h ./bdf2h 2 <../fonts/helvR12.bdf >>fontbmps.h ./bdf2h 2b <../fonts/helvB12.bdf >>fontbmps.h ./bdf2h 3 <../fonts/helvR18.bdf >>fontbmps.h gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o font.o font.c font.c:64:13: warning: ‘its_too_damn_picky_sometimes’ defined but not used [-Wunused-function] 64 | static void its_too_damn_picky_sometimes() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o 3deffects.o 3deffects.c gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o mousecur.o mousecur.c gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readnbkey.o readnbkey.c readnbkey.c: In function ‘wait_for_keys_or_mouse’: readnbkey.c:374:5: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] 374 | int res; | ^~~ awk -f mkopts.awk 255) actual0=255; | ^~ readpnm.c:350:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 350 | if(actual0<0) actual0=0; if(actual0>255) actual0=255; | ^~ readpnm.c:351:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 351 | if(actual1<0) actual1=0; if(actual1>255) actual1=255; | ^~ readpnm.c:351:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 351 | if(actual1<0) actual1=0; if(actual1>255) actual1=255; | ^~ readpnm.c:352:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 352 | if(actual2<0) actual2=0; if(actual2>255) actual2=255; | ^~ readpnm.c:352:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 352 | if(actual2<0) actual2=0; if(actual2>255) actual2=255; | ^~ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readbmp.o readbmp.c gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readtga.o readtga.c gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readpng.o readpng.c gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readpcx.o readpcx.c readpcx.c: In function ‘read_pcx_file’: readpcx.c:50:6: warning: variable ‘bytemax’ set but not used [-Wunused-but-set-variable] 50 | long bytemax,bytesdone; | ^~~~~~~ readpcx.c:49:11: warning: variable ‘waste’ set but not used [-Wunused-but-set-variable] 49 | int count,waste; | ^~~~~ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readxvpic.o readxvpic.c gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readmrf.o readmrf.c readmrf.c: In function ‘read_mrf_file’: readmrf.c:84:12: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 84 | if(strncmp(buf,"MRF1",4)!=0) | ^~~ | | | unsigned char * In file included from readmrf.c:8: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readxbm.o readxbm.c readxbm.c: In function ‘read_xbm_file’: readxbm.c:50:10: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 50 | if(fgets(buf,sizeof(buf),in)==NULL || strncmp(buf,"#define ",8)!=0) | ^~~ | | | unsigned char * In file included from readxbm.c:7: /usr/include/stdio.h:568:38: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 568 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ readxbm.c:50:47: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 50 | if(fgets(buf,sizeof(buf),in)==NULL || strncmp(buf,"#define ",8)!=0) | ^~~ | | | unsigned char * In file included from readxbm.c:8: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ readxbm.c:54:16: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 54 | if((ptr=strstr(buf,"_width"))==NULL) | ^~~ | | | unsigned char * In file included from readxbm.c:8: /usr/include/string.h:334:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ readxbm.c:54:8: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 54 | if((ptr=strstr(buf,"_width"))==NULL) | ^ readxbm.c:56:11: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 56 | w=atoi(ptr+6); | ~~~^~ | | | unsigned char * In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from readxbm.c:7: /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ readxbm.c:59:10: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 59 | if(fgets(buf,sizeof(buf),in)==NULL || strncmp(buf,"#define ",8)!=0) | ^~~ | | | unsigned char * In file included from readxbm.c:7: /usr/include/stdio.h:568:38: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 568 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ readxbm.c:59:47: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 59 | if(fgets(buf,sizeof(buf),in)==NULL || strncmp(buf,"#define ",8)!=0) | ^~~ | | | unsigned char * In file included from readxbm.c:8: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ readxbm.c:62:16: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 62 | if((ptr=strstr(buf,"_height"))==NULL) | ^~~ | | | unsigned char * In file included from readxbm.c:8: /usr/include/string.h:334:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ readxbm.c:62:8: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 62 | if((ptr=strstr(buf,"_height"))==NULL) | ^ readxbm.c:64:11: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 64 | h=atoi(ptr+7); | ~~~^~ | | | unsigned char * In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from readxbm.c:7: /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ readxbm.c:74:13: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 74 | while(fgets(buf,sizeof(buf),in)!=NULL) | ^~~ | | | unsigned char * In file included from readxbm.c:7: /usr/include/stdio.h:568:38: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 568 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ readxbm.c:76:14: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 76 | if(strncmp(buf,"#define ",8)!=0) break; | ^~~ | | | unsigned char * In file included from readxbm.c:8: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ readxbm.c:81:11: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 81 | if(strstr(buf,"_bits[")==NULL || (ptr=strrchr(buf,'{'))==NULL) | ^~~ | | | unsigned char * In file included from readxbm.c:8: /usr/include/string.h:334:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ readxbm.c:81:47: warning: pointer targets in passing argument 1 of ‘strrchr’ differ in signedness [-Wpointer-sign] 81 | if(strstr(buf,"_bits[")==NULL || (ptr=strrchr(buf,'{'))==NULL) | ^~~ | | | unsigned char * In file included from readxbm.c:8: /usr/include/string.h:257:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 257 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ readxbm.c:81:38: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 81 | if(strstr(buf,"_bits[")==NULL || (ptr=strrchr(buf,'{'))==NULL) | ^ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readxpm.o readxpm.c readxpm.c: In function ‘read_xpm_file’: readxpm.c:111:10: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 111 | if(fgets(buf,sizeof(buf),in)==NULL || strncmp(buf,"/* XPM",6)!=0) | ^~~ | | | unsigned char * In file included from readxpm.c:18: /usr/include/stdio.h:568:38: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 568 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ readxpm.c:111:47: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 111 | if(fgets(buf,sizeof(buf),in)==NULL || strncmp(buf,"/* XPM",6)!=0) | ^~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ readxpm.c:119:11: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] 119 | if(sscanf(inpline,"%d %d %d %d",&w,&h,&ncols,&cpp)!=4) | ^~~~~~~ | | | unsigned char * In file included from readxpm.c:18: /usr/include/stdio.h:399:43: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ readxpm.c:203:25: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 203 | while(*cptr && strcmp(buf,"c")!=0) | ^~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ readxpm.c:209:13: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 209 | if(strcmp(buf,"c")!=0) | ^~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ readxpm.c:235:16: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 235 | while(strlen(buf)>2) | ^~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ readxpm.c:238:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 238 | if(strlen(colname)+strlen(buf)+2>sizeof(colname)) | ^~~~~~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ readxpm.c:238:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 238 | if(strlen(colname)+strlen(buf)+2>sizeof(colname)) | ^~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ readxpm.c:241:12: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 241 | strcat(colname," "); | ^~~~~~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:242:12: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 242 | strcat(colname,buf); | ^~~~~~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:133:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:242:20: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 242 | strcat(colname,buf); | ^~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:133:70: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 133 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ readxpm.c:258:26: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 258 | switch(strlen(colname+1)) | ~~~~~~~^~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ readxpm.c:261:27: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 261 | rgb=strtol(colname+1,NULL,16); | ~~~~~~~^~ | | | unsigned char * In file included from readxpm.c:20: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:268:27: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 268 | rgb=strtol(colname+1,NULL,16); | ~~~~~~~^~ | | | unsigned char * In file included from readxpm.c:20: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:279:25: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 279 | r=strtol(colname+1,NULL,16); | ~~~~~~~^~ | | | unsigned char * In file included from readxpm.c:20: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:280:25: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 280 | g=strtol(colname+4,NULL,16); | ~~~~~~~^~ | | | unsigned char * In file included from readxpm.c:20: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:281:25: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 281 | b=strtol(colname+7,NULL,16); | ~~~~~~~^~ | | | unsigned char * In file included from readxpm.c:20: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:289:25: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 289 | r=strtol(colname+1,NULL,16); | ~~~~~~~^~ | | | unsigned char * In file included from readxpm.c:20: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:290:25: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 290 | g=strtol(colname+5,NULL,16); | ~~~~~~~^~ | | | unsigned char * In file included from readxpm.c:20: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:291:25: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 291 | b=strtol(colname+9,NULL,16); | ~~~~~~~^~ | | | unsigned char * In file included from readxpm.c:20: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:299:19: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 299 | if(strcasecmp(colname,"None")==0 || strcasecmp(colname,"#Transparent")==0) | ^~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:446, from readxpm.c:19: /usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ readxpm.c:299:52: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 299 | if(strcasecmp(colname,"None")==0 || strcasecmp(colname,"#Transparent")==0) | ^~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:446, from readxpm.c:19: /usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ readxpm.c: In function ‘colchars_cmp’: readxpm.c:467:18: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 467 | return(strcmp(cc1->name,cc2->name)); | ~~~^~~~~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ readxpm.c:467:28: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 467 | return(strcmp(cc1->name,cc2->name)); | ~~~^~~~~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:140:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ readxpm.c: In function ‘lookup_named_colour’: readxpm.c:580:17: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 580 | if(strcasecmp(colname,rgb_db_array[f].name)==0) | ^~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:446, from readxpm.c:19: /usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ readxpm.c:580:40: warning: pointer targets in passing argument 2 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 580 | if(strcasecmp(colname,rgb_db_array[f].name)==0) | ~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from /usr/include/string.h:446, from readxpm.c:19: /usr/include/strings.h:116:54: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ readxpm.c: In function ‘init_rgb_db’: readxpm.c:605:42: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 605 | strcpy(rgb_db_array[rgb_db_num_entries].name,"black"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:608:42: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 608 | strcpy(rgb_db_array[rgb_db_num_entries].name,"white"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ readxpm.c:643:18: warning: pointer targets in passing argument 1 of ‘next_token’ differ in signedness [-Wpointer-sign] 643 | ptr=next_token(ptr); | ^~~ | | | char * readxpm.c:554:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 554 | unsigned char *next_token(unsigned char *ptr) | ~~~~~~~~~~~~~~~^~~ readxpm.c:643:6: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 643 | ptr=next_token(ptr); | ^ readxpm.c:646:42: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 646 | strcpy(rgb_db_array[rgb_db_num_entries].name,ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from readxpm.c:19: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o modesel.o modesel.c modesel.c: In function ‘cma_abort’: modesel.c:102:1: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 102 | exit(1); | ^~~~ modesel.c:12:1: note: include ‘’ or provide a declaration of ‘exit’ 11 | #include "modesel.h" +++ |+#include 12 | modesel.c:102:1: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] 102 | exit(1); | ^~~~ modesel.c:102:1: note: include ‘’ or provide a declaration of ‘exit’ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readpcd.o readpcd.c gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readtiff.o readtiff.c readtiff.c: In function ‘read_tiff_file’: readtiff.c:90:4: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations] 90 | (image=*bmap=work_bmap=malloc(numpix*sizeof(uint32)+width*3*2))==NULL) | ^ readtiff.c:94:1: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations] 94 | if(!TIFFReadRGBAImage(in,width,height,(uint32 *)image,0)) | ^~ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o readprf.o readprf.c readprf.c: In function ‘read_prf_file’: readprf.c:146:12: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 146 | if(strncmp(buf,"PRF1",4)!=0) | ^~~ | | | unsigned char * In file included from readprf.c:8: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -c -o zgv_io.o zgv_io.c gcc -O2 -fPIC -Wall -fomit-frame-pointer -finline-functions -I/usr/local/include -DBACKEND_SVGALIB -DRGB_DB_FILE=\"/usr/share/X11/rgb.txt\" -DETC_RCFILE=\"/etc/zgv.conf\" -o zgv zgv.o vgadisp.o font.o 3deffects.o mousecur.o readnbkey.o rcfile.o helppage.o gnuhelp.o magic.o resizepic.o copymove.o scrollbar.o rbmenu.o readgif.o readjpeg.o readpnm.o readbmp.o readtga.o readpng.o readpcx.o readxvpic.o readmrf.o readxbm.o readxpm.o modesel.o readpcd.o readtiff.o readprf.o zgv_io.o -L/usr/local/lib -lvgagl -lvga -ljpeg -lpng -ltiff -lz -lm make[1]: Leaving directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/src' cd src && make install-info make[1]: Entering directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/src' gcc -o install-info install-info.c make[1]: Leaving directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/src' cd src && make zgv make[1]: Entering directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/src' make[1]: 'zgv' is up to date. make[1]: Leaving directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/src' cd src && make install make[1]: Entering directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/src' install -m 0755 -o root -g root -s zgv /usr/src/slapt-src/graphics/zgv/package-zgv//usr/bin make[1]: Leaving directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/src' cd doc && make install make[1]: Entering directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/doc' install -m 644 zgv.1 /usr/src/slapt-src/graphics/zgv/package-zgv//usr/man/man1 install -m 644 zgv zgv-? /usr/src/slapt-src/graphics/zgv/package-zgv//usr/info make[1]: Leaving directory '/usr/src/slapt-src/graphics/zgv/zgv-5.9/doc' 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/zgv/zgv-5.9-x86_64-1salix15.0.txz ./ etc/ etc/zgv.conf.new install/ install/doinst.sh install/slack-desc lib/ lib/udev/ lib/udev/rules.d/ lib/udev/rules.d/90-svga.rules usr/ usr/bin/ usr/bin/zgv usr/doc/ usr/doc/zgv-5.9/ usr/doc/zgv-5.9/AUTHORS usr/doc/zgv-5.9/COPYING usr/doc/zgv-5.9/ChangeLog usr/doc/zgv-5.9/INSTALL usr/doc/zgv-5.9/NEWS usr/doc/zgv-5.9/README usr/doc/zgv-5.9/README.fonts usr/doc/zgv-5.9/SECURITY usr/doc/zgv-5.9/TODO usr/doc/zgv-5.9/zgv.SlackBuild usr/info/ usr/info/zgv-1.gz usr/info/zgv-2.gz usr/info/zgv-3.gz usr/info/zgv-4.gz usr/info/zgv.gz usr/man/ usr/man/man1/ usr/man/man1/zgv.1.gz Slackware package /usr/src/slapt-src/graphics/zgv/zgv-5.9-x86_64-1salix15.0.txz created. Installing package zgv-5.9-x86_64-1salix15.0... | zgv (svgalib picture viewer) | | zgv is a picture viewer with a thumbnail-based file selector. | It supports most popular formats and allows panning and fit-to-screen | methods of viewing, slideshows, scaling, gamma adjustment, etc. | | Homepage: http://www.svgalib.org/rus/zgv | | | | | |