aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/video/mythtv/disable-os-detection.patch
blob: 5a35dc2d1ddf4bb93811fa38e842b338a24f053b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- a/configure	1970-01-01 01:00:01.000000000 +0100
+++ b/configure	2019-10-26 11:54:01.920776490 +0200
@@ -6642,29 +6642,29 @@
     require libXinerama X11/extensions/Xinerama.h XineramaQueryExtension -lXinerama
     require libXext "X11/Xdefs.h X11/Xlib.h X11/extensions/Xext.h" XMissingExtension -lXext
     if enabled xnvctrl; then
-        case $target_os in
-            linux)
+#        case $target_os in
+#            linux)
                 # Bah. Suse linux doesn't have xnvctrl.
-                . /etc/os-release
-                case $ID in
-                    *suse*)
+#                . /etc/os-release
+#                case $ID in
+#                    *suse*)
 			# This is hopefully temporary.
-			disable xnvctrl_external
-			;;
-		    *)
-                        require XNVctrl "X11/Xlib.h NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h" XNVCTRLIsNvScreen -lXNVCtrl || disable xnvctrl
-                        ;;
-                esac
-                ;;
-            freebsd)
+#			disable xnvctrl_external
+#			;;
+#		    *)
+        require XNVctrl "X11/Xlib.h NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h" XNVCTRLIsNvScreen -lXNVCtrl || disable xnvctrl
+#                        ;;
+#                esac
+#                ;;
+#            freebsd)
                 # This is hopefully temporary, and will eventually
                 # check for a system library too.
-                disable xnvctrl_external
-                ;;
-            *)
-                disable xnvctrl
-                ;;
-        esac
+#                disable xnvctrl_external
+#                ;;
+#            *)
+#                disable xnvctrl
+#                ;;
+#        esac
     fi
 fi