[...] x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o input-keys.o input-keys.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o input.o input.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o job.o job.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o key-bindings.o key-bindings.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o key-string.o key-string.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o layout-set.o layout-set.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o layout-string.o layout-string.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o layout.o layout.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o log.o log.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o mode-key.o mode-key.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o names.o names.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o options.o options.c x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -DBUILD="\"1.2\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o osdep-darwin.o osdep-darwin.c osdep-darwin.c: In function ‘osdep_get_name’: osdep-darwin.c:33:27: error: ‘KERN_PROC’ undeclared (first use in this function) osdep-darwin.c:33:27: note: each undeclared identifier is reported only once for each function it appears in osdep-darwin.c:33:38: error: ‘KERN_PROC_PID’ undeclared (first use in this function) osdep-darwin.c:35:20: error: storage size of ‘kp’ isn’t known make: *** [osdep-darwin.o] Error 1 * ERROR: app-misc/tmux-1.2 failed: * emake failed [...] The problem is that osdep-darwin is meant to be excluded from being built by Makefile/GNUmakefile's echo *.c|sed 's|osdep-[a-z0-9]*.c||g' but a-z doesn't match the w in darwin in an et_EE locale. The locale should be forced to C here. Patch to be attached.
Created attachment 230821 [details, diff] tmux-1.2-locale.patch Should I send this upstream too, or will you?
Unfortunately, I won't have the time to commit this in the next week or so. But, feel free to epatch tmux-1.2.ebuild (there's no point in bumping it, since it fixes a compilation error), and send it upstream. Thanks for reporting this.
Sure thing, in the tree now and reported on sf.