$NetBSD: patch-configure,v 1.4 2017/05/17 15:28:51 he Exp $ Enable PIC on non-i386 NetBSD. --- configure.orig 2016-10-27 16:17:39.000000000 +0000 +++ configure @@ -4676,6 +4676,11 @@ case $target_os in ;; netbsd) disable symver + # NetBSD/macppc *really* needs PIC enabled. ffmpeg has repeatedly + # broken time and time again because PIC support has been removed + # from architectures that need it. So, if you touch this, please + # be careful and make sure that your changes work. + test "${subarch}" != "x86_32" && enable pic oss_indev_extralibs="-lossaudio" oss_outdev_extralibs="-lossaudio" enabled gcc || check_ldflags -Wl,-zmuldefs @@ -5138,10 +5143,13 @@ check_cc <