WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xpaste-1.1nb4 clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I./X11 -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c xpaste.c xpaste.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int xpaste.c:75:27: warning: passing arguments to 'GetPrimarySelection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)GetPrimarySelection(XtDisplay(root), &buff); ^ xpaste.c:80:23: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(NULL==buff) (void)exit(0); ^ xpaste.c:80:23: note: include the header or explicitly provide a declaration for 'exit' xpaste.c:105:15: warning: passing arguments to 'GetDimensions' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDimensions(buff, appres.font, &width, &height); ^ xpaste.c:111:19: warning: passing arguments to 'CreateWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fm = CreateWidget("form", formWidgetClass, root, ^ xpaste.c:114:26: warning: passing arguments to 'CreateWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] button[0] = CreateWidget("done", commandWidgetClass, fm, ^ xpaste.c:118:26: warning: passing arguments to 'CreateWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] button[1] = CreateWidget("print", commandWidgetClass,fm, ^ xpaste.c:123:21: warning: passing arguments to 'CreateWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text = CreateWidget("text", asciiTextWidgetClass, fm, ^ xpaste.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ xpaste.c:138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Xit(w, closure, call_data) ^ xpaste.c:31:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void Xit(); ^ xpaste.c:147:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Printit(w, closure, call_data) ^ xpaste.c:32:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void Printit(); ^ xpaste.c:161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void GetDimensions(string, font, width, height) ^ xpaste.c:33:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void GetDimensions(); ^ xpaste.c:198:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int GetPrimarySelection(display, string) ^ xpaste.c:34:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int GetPrimarySelection(); ^ xpaste.c:9:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[] = "$Id: xpaste.c,v 1.7 1995/01/04 17:28:33 jdd Exp $"; ^ 18 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I./X11 -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c Xju.c Xju.c:109:28: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(parent == NULL) (void) printf("%s\n", name); ^ Xju.c:109:28: note: include the header or explicitly provide a declaration for 'printf' 1 warning generated. rm -f xpaste._man if test -z "" ; then cd `dirname xpaste` && ln -s `basename xpaste.man` `basename xpaste._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" < xpaste.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/\@\@$/\/' >xpaste._man; fi rm -f xpaste clang -o xpaste -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xpaste.o Xju.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11 ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-lXt'