redshift/redshift-python2.patch
2020-07-23 11:25:28 +08:00

20 lines
609 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -78,7 +78,7 @@ AS_IF([test "x$have_objc_compiler" = xye
AC_CHECK_HEADER([windows.h], [have_windows_h=yes], [have_windows_h=no])
# Check for Python
-AM_PATH_PYTHON([3.2], [have_python=yes], [have_python=no])
+AM_PATH_PYTHON([2.7], [have_python=yes], [have_python=no])
# Check DRM method
AC_MSG_CHECKING([whether to enable DRM method])
--- a/src/redshift-gtk/redshift-gtk.in
+++ b/src/redshift-gtk/redshift-gtk.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
# redshift-gtk -- GTK+ Redshift launcher script
# This file is part of Redshift.