20 lines
429 B
C
20 lines
429 B
C
$NetBSD$
|
|
|
|
Patch from FreeBSD ports graphics/mesa-dri 18.2.0
|
|
|
|
# expose getline in FreeBSD's stdio.h
|
|
#
|
|
|
|
--- src/intel/tools/error2aub.c.orig 2018-08-09 00:34:30.000000000 +0000
|
|
+++ src/intel/tools/error2aub.c
|
|
@@ -26,6 +26,9 @@
|
|
#include <getopt.h>
|
|
#include <inttypes.h>
|
|
#include <signal.h>
|
|
+#if defined(__FreeBSD__) && __FreeBSD__ < 12
|
|
+#define _WITH_GETLINE
|
|
+#endif
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|