SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
comms/pterm/patches/patch-wxversion_py
Normal file
20
comms/pterm/patches/patch-wxversion_py
Normal file
|
@ -0,0 +1,20 @@
|
|||
Index: wxversion.py
|
||||
--- wxversion.py.orig
|
||||
+++ wxversion.py
|
||||
@@ -39,15 +39,7 @@ if sys.platform[:3] == "win":
|
||||
else:
|
||||
wxversion = shellstr ("wx-config", "--version")
|
||||
|
||||
-svnversion = shellstr ("svn", "info", "PtermApp.cpp")
|
||||
-if svnversion:
|
||||
- m = re.search (r"Revision: (\d+)", svnversion)
|
||||
- if m:
|
||||
- svnversion = m.group (1)
|
||||
- if shellstr ("svn", "status", "pterm_wx.cpp"):
|
||||
- svnversion += "+"
|
||||
- else:
|
||||
- svnversion = ""
|
||||
+svnversion = ""
|
||||
now = time.strftime ("%d %B %Y").lstrip ("0")
|
||||
|
||||
new = """#define WXVERSION "%s"
|
Loading…
Add table
Add a link
Reference in a new issue