Fix segfault caused by passing a string literal pointer to mkstemp()

Submitted by:	Oki Sawada <oki@tamon.co.jp>


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@371724 35697150-7ecd-e111-bb59-0022644237b5
ports-mgmt/portsearch: Update the distfile checksum after the
precompiled binary was removed from it. Also move ${MASTER_SITE_LOCAL}
towards the end in MASTER_SITES because the new file is still not
propagated to the mirrors.


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@371726 35697150-7ecd-e111-bb59-0022644237b5