package/brltty: explicitly check if ioperm is available
authorMario Lang <mlang@blind.guru>
Fri, 29 Dec 2017 14:06:41 +0000 (15:06 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 29 Dec 2017 20:48:24 +0000 (21:48 +0100)
commitee8309e2874063603e9f330aa529fa2f027681a8
tree9ac6618cb992f37042e1bcb5d4d6be9884ad7f44
parent6ac0abfca8973b9577a0cf271c4a7425e40c6f13
package/brltty: explicitly check if ioperm is available

ioperm, inb and outb are i386 specific functions usually
not available on non-PC archs.  Check if ioperm is available before
trying to use it.

Patch cherry-picked from upstream, can be removed when 5.6 is out.

Fixes:
  http://autobuild.buildroot.net/results/f09974f2ba24319e55e578ece34bb2e7e8bb3c43
  http://autobuild.buildroot.net/results/7d502f280c46f0d1e2678140f9117fcc59bc2d7b

Signed-off-by: Mario Lang <mlang@blind.guru>
[Thomas: move patch out of per-version directory, add comment
explaining why we need to autoreconf, and why we can't use
<pkg>_AUTORECONF.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/brltty/0002-Check-for-ioperm-to-make-sure-the-platform-supports-.patch [new file with mode: 0644]
package/brltty/brltty.mk