[packages/sdcc] - adjusted shebang in as2gbmap_python3 patch

qboosh qboosh at pld-linux.org
Fri May 31 23:01:43 CEST 2024


commit d4587f2bbbb209c4dbd6014efe5200776773fe59
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri May 31 23:00:47 2024 +0200

    - adjusted shebang in as2gbmap_python3 patch

 sdcc-as2gbmap_python3.patch | 2 +-
 sdcc.spec                   | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/sdcc.spec b/sdcc.spec
index a6fa666..4f5254d 100644
--- a/sdcc.spec
+++ b/sdcc.spec
@@ -113,8 +113,6 @@ Obsługa debuggera SDCDB dla Emacsa.
 %setup -q
 %patch0 -p1
 
-#%{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' support/scripts/as2gbmap.py
-
 cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} doc
 
 %build
diff --git a/sdcc-as2gbmap_python3.patch b/sdcc-as2gbmap_python3.patch
index 2f6b467..6b73df3 100644
--- a/sdcc-as2gbmap_python3.patch
+++ b/sdcc-as2gbmap_python3.patch
@@ -4,7 +4,7 @@ index 2ab5cde4..ea17f078 100644
 +++ b/support/scripts/as2gbmap.py
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python
-+#!/usr/bin/env python3
++#!/usr/bin/python3
  
  # as2gbmap - asxxxx to gb map file converter
  #
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sdcc.git/commitdiff/d4587f2bbbb209c4dbd6014efe5200776773fe59



More information about the pld-cvs-commit mailing list