The following message is displayed and fails to compile. ===> ar (all) Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_rc3/work/usr.bin/ar x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -I. -I/var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_rc3/work/usr.bin/ar -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o freebsd-ar ar.o acplex.o acpyacc.o read.o util.o write.o -larchive -lelf ar.o: In function `main': ar.c:(.text.startup+0x17b): undefined reference to `archive_version' ar.c:(.text.startup+0x366): undefined reference to `archive_version' collect2: ld returned 1 exit status *** [freebsd-ar] Error code 1 1 error *** [all] Error code 2 1 error
Created attachment 333274 [details, diff] files/freebsd-ubin-9.0-ar-libarchive3.patch
applied to 9.1, thanks