WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xjig-2.4nb3 clang++ -DUSE_MIT_SHM -DJIG_DEFAULT=\"/opt/pkg/lib/xjig/tina.gif\" -c xjig.C -o xjig.o xjig.C:114:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *dispname=""; ^ xjig.C:115:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *filename=JIG_DEFAULT; ^ :2:21: note: expanded from macro 'JIG_DEFAULT' #define JIG_DEFAULT "/opt/pkg/lib/xjig/tina.gif" ^ xjig.C:438:4: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] { "xpuzzle", "-file", JIG_DEFAULT, 0 }; ^ xjig.C:438:15: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] { "xpuzzle", "-file", JIG_DEFAULT, 0 }; ^ xjig.C:438:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] { "xpuzzle", "-file", JIG_DEFAULT, 0 }; ^ :2:21: note: expanded from macro 'JIG_DEFAULT' #define JIG_DEFAULT "/opt/pkg/lib/xjig/tina.gif" ^ xjig.C:546:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (comment) { printf( comment ); putchar( '\n' ); } ^~~~~~~ xjig.C:546:25: note: treat the string as an argument to avoid this if (comment) { printf( comment ); putchar( '\n' ); } ^ "%s", xjig.C:689:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf( buffer, "xpuzzle: %02ld:%02ld", ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ xjig.C:694:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf( buffer, "no more tiles left at: %02ld:%02ld", ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ xjig.C:694:7: warning: 'sprintf' will always overflow; destination buffer has size 20, but format string expands to at least 30 [-Wfortify-source] sprintf( buffer, "no more tiles left at: %02ld:%02ld", ^ 9 warnings generated. clang++ -DUSE_MIT_SHM -c objects.C -o objects.o clang++ -DUSE_MIT_SHM -c stack.C -o stack.o clang++ -DUSE_MIT_SHM -c imgbuff.C -o imgbuff.o clang++ -DUSE_MIT_SHM -c puzzle.C -o puzzle.o clang++ -DUSE_MIT_SHM -c real.C -o real.o clang++ -DUSE_MIT_SHM -c vec2.C -o vec2.o clang++ -DUSE_MIT_SHM -c vec2list.C -o vec2list.o clang++ -DUSE_MIT_SHM -c mat2.C -o mat2.o clang++ -DUSE_MIT_SHM -c color_mapper.C -o color_mapper.o clang++ -DUSE_MIT_SHM -c gif_image.C -o gif_image.o gif_image.C:324:39: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] ColorMapSize = 1 << (gifheader[10]&7)+1; ~~ ~~~~~~~~~~~~~~~~~^~ gif_image.C:324:39: note: place parentheses around the '+' expression to silence this warning ColorMapSize = 1 << (gifheader[10]&7)+1; ^ ( ) gif_image.C:364:41: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] ColorMapSize = 1 << (imageheader[8]&7)+1; ~~ ~~~~~~~~~~~~~~~~~~^~ gif_image.C:364:41: note: place parentheses around the '+' expression to silence this warning ColorMapSize = 1 << (imageheader[8]&7)+1; ^ ( ) 2 warnings generated. clang++ -DUSE_MIT_SHM -c gifx_image.C -o gifx_image.o rm -f xjig._man if test -z "" ; then cd `dirname xjig` && ln -s `basename xjig.man` `basename xjig._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xjig.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xjig._man; fi rm -f xjig clang++ -o xjig xjig.o objects.o stack.o imgbuff.o puzzle.o real.o vec2.o vec2list.o mat2.o color_mapper.o gif_image.o gifx_image.o -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib -lXext -lX11 -lm