aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/video/mythtv/disable-os-detection.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/video/mythtv/disable-os-detection.patch')
-rw-r--r--nixpkgs/pkgs/applications/video/mythtv/disable-os-detection.patch80
1 files changed, 30 insertions, 50 deletions
diff --git a/nixpkgs/pkgs/applications/video/mythtv/disable-os-detection.patch b/nixpkgs/pkgs/applications/video/mythtv/disable-os-detection.patch
index 5a35dc2d1dd..09ce6f6ca4f 100644
--- a/nixpkgs/pkgs/applications/video/mythtv/disable-os-detection.patch
+++ b/nixpkgs/pkgs/applications/video/mythtv/disable-os-detection.patch
@@ -1,51 +1,31 @@
---- 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
+--- a/configure 2020-07-21 20:50:58.653989766 +0200
++++ b/configure 2020-07-21 20:52:21.236610586 +0200
+@@ -6537,17 +6537,17 @@
+ }
+ enable enforce_wshadow
+-case $target_os in
+- android)
+- disable enforce_wshadow
+- ;;
+- linux)
+- . /etc/os-release
+- if test $ID = "centos"; then
+- disable enforce_wshadow
+- fi
+- ;;
+-esac
++#case $target_os in
++# android)
++# disable enforce_wshadow
++# ;;
++# linux)
++# . /etc/os-release
++# if test $ID = "centos"; then
++# disable enforce_wshadow
++# fi
++# ;;
++#esac
+
+ if $(pkg-config --exists Qt5WebKit) || $(pkg-config --exists QtWebKit) ; then
+ enable qtwebkit