Fix SCO OpenServer 5.0.7/3.2 build.
Fix SCO OpenServer 5.0.7/3.2 build.

SCO OpenServer 5.0.7/3.2 has strtoimax() declaration in inttypes.h,
but libc.so has no implementation. And gnulib in GNU tar 1.27 has broken
strtoimax() support. We have to use BSDL implementation instead.
Fix SCO OpenServer 5.0.7/3.2 build.
Turn off visibility for GCC 4.2.
Fix SCO OpenServer 5.0.7/3.2 build.
Update rudiments to 0.47.

Changes:
- fixed possible null-dereference in xmldomnode::safeAppend
- added charstring::inSetIgnoringCase
- xmldomnode::setAttributeValue does nothing when the null node is
  referenced now
- fixed a codetree bug that could cause indentation to attempt to go
  negative when using an unsigned number
- added a configure test to see if -Wno-format is needed
- configure tests for mlockall/munlockall attempt link now
- added sys/types.h before sys/un.h in sys/un.h test for older freebsd
- implemented stubs for pure virtual methods of client and server classes so
  instances of them could be created to attach already-open file descriptors
- unified usage of select/poll and prefer poll
- pushed all select/poll-related code into listener class
- removed problematic and unused useListener-related methods in
  filedescriptor class
- epoll is used in place of select/poll for systems that support it
- kqueue is used in place of select/poll for systems that support it
- consolidated getpagesize() calls to use sys::getPageSize()
- added detection and support for __vsnprintf for platforms that have
  that instead of vsnprintf
- added cancel and raiseSignal methods to the thread class
- fixed datetime memory leak
- added xmldomnode::clone method to clone a node
- renamed variablebuffer to bytebuffer
- renamed rawbuffer to bytestring
- refactored linkedlist
- added singlylinkedlist class
- added sort, detach, move and insert methods to linkedlist classes
- fixed file::open using O_CREAT without O_EXCL on windows
Updated devel/rudiments to 0.47
Bump PKGREVISION

If S_ISSOCK is not defined, do not use it.
Fix mysql55-client build under SCO OpenServer 5.0.7/3.2.
Updated devel/readline to 6.3nb1
Update to 2.7.1

Upstream changes:
2.7.1
Highlights
MDL-41383 - File picker works when zooming in and out of browser
MDL-45580 - PDF Annotations working with multiple attempts
Functional changes
MDL-43274 - Course logs can no longer be deleted when course is reset
API changes
MDL-44871 - Behat tests written for Atto functionalities
MDL-43669 - Configuration option added so that mail can be sent from noreply address exclusively
UI changes
MDL-45599 - The term 'add-on' is changed to 'plugin'
Security issues
A number of security related issues were resolved. Details of these issues will be released after a period of approximately one week to allow system administrators to safely update to the latest version.

Fixes and improvements
MDL-44124 - iCal import recurrence rules working consistently
MDL-45579 - Duplicate group enrolment keys for the same course are no longer allowed
MDL-45682 - Can now insert images using Chrome
Updated www/moodle to 2.7.1
Fix build under SCO OpenServer 5.0.7/3.2.
Changes 3.4.2:
libLLVM-3.4.so soname fix.
PowerPC: Fix for 128-bit shifts.
R600: Shader calling convention fix.
Updated lang/clang to 3.4.2
Fix assignment.
Update sqlrelay to 0.56.

Changes:
- removed VERSION from perl api bootstrap
- reorganized and simplified perl api code
- got perl api working on windows with ActivePerl
- perl api uninstall cleans up better now
- got python api working on windows with ActivePython
- consolidated php include tweaks
- got java api working on windows
- updated pdo driver to convert float fields to strings rather than ints
- updated pthread test to match rudiments pthread test
- moved everything done by children of sqlwriter interface into
  individual translations
- added plugin-based authentication framework
- reorganized code tree a bit
- reworked default values to enable more minimal configurations
- updated configuration docs and added configuration guide
- fixed cast issue with firebird 1.5
- added result set translation framework and re-implemented date
  translation using it
- fixed millisecond->nanosecond confusion in sqlr-scaler
- fixed subtle oracle instantclient version detection bug
- added null input bind support to sqlrsh
- fixed php pdo driver to return null rather than 0 for null integer
  fields and bind null rather than 0 for null integer input binds
- added attribute to return nulls as nulls or empty strings to php pdo
- added parameters for connecting to mysql via ssl
- added a few tweaks to support DB2 < 8.0
- fixed bad return value type in python getConnectionPort method
- fixed sessionhandler="thread" with listenertimeout!="0"
Updated databases/sqlrelay to 0.56
Fix SCO OpenServer 5.0.7/3.2 build.
Use usleep.
Remove CFLAGS+=-g. Accidentally added.