- Fix generator scripts to work with python35+
Obtained from: qtwebkit community repo
This commit is contained in:
parent
29e2adfc08
commit
7fcaaa9841
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429324
2 changed files with 16 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= webkit
|
||||
DISTVERSION= ${QT5_VERSION}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www
|
||||
MASTER_SITE_SUBDIR= community_releases/${QT5_VERSION:R}/${QT5_VERSION}/
|
||||
PKGNAMEPREFIX= qt5-
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
--- Source/JavaScriptCore/disassembler/udis86/ud_opcode.py.bak 2016-09-09 23:35:32.000000000 +1000
|
||||
+++ Source/JavaScriptCore/disassembler/udis86/ud_opcode.py 2016-12-24 18:52:06.065571000 +1000
|
||||
@@ -115,9 +115,9 @@
|
||||
'/mod' : lambda v: '00' if v == '!11' else '01',
|
||||
# Mode extensions:
|
||||
# (16, 32, 64) => (00, 01, 02)
|
||||
- '/o' : lambda v: "%02x" % (int(v) / 32),
|
||||
- '/a' : lambda v: "%02x" % (int(v) / 32),
|
||||
- '/m' : lambda v: "%02x" % (int(v) / 32),
|
||||
+ '/o' : lambda v: "%02x" % (int(v) // 32),
|
||||
+ '/a' : lambda v: "%02x" % (int(v) // 32),
|
||||
+ '/m' : lambda v: "%02x" % (int(v) // 32),
|
||||
'/sse' : lambda v: UdOpcodeTables.OpcExtIndex['sse'][v]
|
||||
}
|
||||
|
Loading…
Reference in a new issue