t9l: fix for Linux 3.x (thanks Christopher Brannon) - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 5f0bb59e0d8278945d08c167a986ef3cc691d212 (DIR) parent 9d4f8bfecc30b6699685068dd4344b40733efdd1 (HTM) Author: Russ Cox <rsc@swtch.com> Date: Sat, 14 Jul 2012 08:50:07 -0400 9l: fix for Linux 3.x (thanks Christopher Brannon) R=rsc http://codereview.appspot.com/6395047 Diffstat: M CONTRIBUTORS | 1 + M bin/9l | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) --- (DIR) diff --git a/CONTRIBUTORS b/CONTRIBUTORS t@@ -10,6 +10,7 @@ Anthony Martin <ality@pbrane.org> Anthony Sorace <a@9srv.net> Arvindh Rajesh Tamilmani <art@a-30.net> Benjamin Huntsman <BHuntsman@mail2.cu-portland.edu> +Christopher Brannon <chris@the-brannons.com> David du Colombier <0intro@gmail.com> David Jeannot <djeannot24@gmail.com> David Swasey <david.swasey@gmail.com> (DIR) diff --git a/bin/9l b/bin/9l t@@ -40,7 +40,7 @@ case "$tag" in userpath=true extralibs="$extralibs -lutil" case "${SYSVERSION:-`uname -r`}" in - 2.6.*) + 2.6.* | 3.*) extralibs="$extralibs -lpthread" ;; esac t@@ -297,6 +297,7 @@ then autoframeworks="" if [ "x$ofiles" != "x" ] then +echo >&2 ofiles $ofiles a=` nm $ofiles | grep '__p9l_autoframework_[a-zA-Z0-9+-]*$' |