Skip to content

Commit

Permalink
audio/ecasound: fix build with python3.1[x]
Browse files Browse the repository at this point in the history
PR:		275494
  • Loading branch information
mexicarne committed Jan 28, 2024
1 parent c427bd8 commit d30f14f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions audio/ecasound/files/patch-configure
@@ -0,0 +1,20 @@
--- configure.orig 2020-01-11 12:16:00 UTC
+++ configure
@@ -6156,7 +6156,7 @@ $as_echo "none" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
$as_echo "none" >&6; }
if test x$PYTHONPATH != xnone; then
- python_prefix_tmp=`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3])"`
+ python_prefix_tmp=`python -c "import sysconfig; print(sysconfig.get_path('stdlib'))"`
else
python_prefix_tmp="DIR"
fi
@@ -6178,7 +6178,7 @@ $as_echo "$as_me: WARNING:
" >&2;}
else
pymoddirs="/usr/local/lib /usr/lib"
- pymoddirsmore=`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3])"`
+ pymoddirsmore=`python -c "import sysconfig; print(sysconfig.get_path('stdlib'))"`
pymoddirs="$pymoddirs $pymoddirsmore"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pymoddirs" >&5
$as_echo "$pymoddirs" >&6; }

0 comments on commit d30f14f

Please sign in to comment.