thunarx-python-0.5.1-py38.patch 951 B

12345678910111213141516171819202122232425262728
  1. From 78b24f3bf34c1faafcdc5816856bc9bf1bfaed6f Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
  3. Date: Wed, 15 Jul 2020 17:19:34 +0200
  4. Subject: [PATCH] Fix compilation with python3.8
  5. Based on upstream commit 5f4edd0b657f52619b60e9931340502fa87f49ff,
  6. stripped off irrelevant changes, made directly in configure.
  7. ---
  8. configure | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/configure b/configure
  11. index 9fabaa0..ff2ceae 100755
  12. --- a/configure
  13. +++ b/configure
  14. @@ -13557,7 +13557,7 @@ py_lib_name=`basename $py_include_path`
  15. if test "x$PYTHON_LIBS" = x; then
  16. PYTHON_CONFIG=`which $PYTHON`-config
  17. if test -x "$PYTHON_CONFIG"; then
  18. - PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
  19. + PYTHON_LIBS=`$PYTHON_CONFIG --libs --embed 2>/dev/null` || PYTHON_LIBS=`$PYTHON_CONFIG --libs 2>/dev/null`
  20. else
  21. PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
  22. fi
  23. --
  24. 2.27.0