View | Details | Raw Unified | Return to bug 241506
Collapse All | Expand All

(-)graphics/mesa-dri/files/patch-configure (-8 / +17 lines)
Lines 1-6 Link Here
1
--- configure.orig	2018-11-09 11:03:06 UTC
1
--- configure.orig	2019-01-17 11:26:29 UTC
2
+++ configure
2
+++ configure
3
@@ -22659,12 +22659,13 @@ case "$host_os" in
3
@@ -20767,7 +20767,7 @@ case "$host_os" in
4
 *-android*)
5
     android=yes
6
     ;;
7
-linux*|*-gnu*|gnu*|cygwin*)
8
+linux*|*-gnu*|gnu*|cygwin*|freebsd*)
9
     DEFINES="$DEFINES -D_GNU_SOURCE"
10
     ;;
11
 solaris*)
12
@@ -22648,12 +22648,13 @@ case "$host_os" in
4
 darwin*)
13
 darwin*)
5
     ;;
14
     ;;
6
 *)
15
 *)
Lines 18-24 Link Here
18
 _ACEOF
27
 _ACEOF
19
  CLOCK_LIB=
28
  CLOCK_LIB=
20
 else
29
 else
21
@@ -23330,8 +23331,12 @@ $as_echo_n "checking whether pthread_setaffinity_np is
30
@@ -23319,8 +23320,12 @@ $as_echo_n "checking whether pthread_setaffinity_np is
22
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23
 /* end confdefs.h.  */
32
 /* end confdefs.h.  */
24
 
33
 
Lines 31-37 Link Here
31
     int main() {
40
     int main() {
32
        void *a = (void*) &pthread_setaffinity_np;
41
        void *a = (void*) &pthread_setaffinity_np;
33
        long b = (long) a;
42
        long b = (long) a;
34
@@ -23350,11 +23355,20 @@ rm -f core conftest.err conftest.$ac_objext \
43
@@ -23339,11 +23344,20 @@ rm -f core conftest.err conftest.$ac_objext \
35
     conftest$ac_exeext conftest.$ac_ext
44
     conftest$ac_exeext conftest.$ac_ext
36
 LIBS="$save_LIBS"
45
 LIBS="$save_LIBS"
37
 
46
 
Lines 55-61 Link Here
55
 
64
 
56
 
65
 
57
 # Check whether --enable-selinux was given.
66
 # Check whether --enable-selinux was given.
58
@@ -24252,7 +24266,7 @@ fi
67
@@ -24241,7 +24255,7 @@ fi
59
 
68
 
60
 
69
 
61
 case "$host_os" in
70
 case "$host_os" in
Lines 64-70 Link Here
64
     dri3_default=yes
73
     dri3_default=yes
65
     ;;
74
     ;;
66
 *)
75
 *)
67
@@ -26640,31 +26654,11 @@ fi
76
@@ -26542,31 +26556,11 @@ fi
68
 	# Put the nasty error message in config.log where it belongs
77
 	# Put the nasty error message in config.log where it belongs
69
 	echo "$XCB_RANDR_PKG_ERRORS" >&5
78
 	echo "$XCB_RANDR_PKG_ERRORS" >&5
70
 
79
 
Lines 98-104 Link Here
98
 else
107
 else
99
 	XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS
108
 	XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS
100
 	XCB_RANDR_LIBS=$pkg_cv_XCB_RANDR_LIBS
109
 	XCB_RANDR_LIBS=$pkg_cv_XCB_RANDR_LIBS
101
@@ -26732,31 +26726,11 @@ fi
110
@@ -26634,31 +26628,11 @@ fi
102
 	# Put the nasty error message in config.log where it belongs
111
 	# Put the nasty error message in config.log where it belongs
103
 	echo "$XLIB_RANDR_PKG_ERRORS" >&5
112
 	echo "$XLIB_RANDR_PKG_ERRORS" >&5
104
 
113
 
Lines 132-138 Link Here
132
 else
141
 else
133
 	XLIB_RANDR_CFLAGS=$pkg_cv_XLIB_RANDR_CFLAGS
142
 	XLIB_RANDR_CFLAGS=$pkg_cv_XLIB_RANDR_CFLAGS
134
 	XLIB_RANDR_LIBS=$pkg_cv_XLIB_RANDR_LIBS
143
 	XLIB_RANDR_LIBS=$pkg_cv_XLIB_RANDR_LIBS
135
@@ -28792,9 +28766,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
144
@@ -28694,9 +28668,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
136
         CLANG_LIBDIR=${LLVM_LIBDIR}
145
         CLANG_LIBDIR=${LLVM_LIBDIR}
137
     fi
146
     fi
138
     CLANG_RESOURCE_DIR=$CLANG_LIBDIR/clang/${LLVM_VERSION}
147
     CLANG_RESOURCE_DIR=$CLANG_LIBDIR/clang/${LLVM_VERSION}

Return to bug 241506