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:62:14: 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 previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ xpaste.c:77: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:107: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:113: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:116: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:120: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:125: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:65: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:141: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: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 Xit(); ^ xpaste.c:150: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: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 Printit(); ^ xpaste.c:164: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:34: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:201: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:35: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 $"; ^ 17 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 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'