mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Fix runtime crash on 64 bit platforms
PR: ports/127616 Submitted by: Tom Evans <tevans.uk@googlemail.com>
This commit is contained in:
parent
9e8705ff0b
commit
92be8f550b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225722
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= xmlsec
|
||||
PORTVERSION= 0.3.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security python
|
||||
MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/430/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -39,3 +39,15 @@
|
||||
|
||||
define_macros = []
|
||||
include_dirs = []
|
||||
@@ -104,7 +104,10 @@
|
||||
if flag[2:] not in include_dirs:
|
||||
include_dirs.append(flag[2:])
|
||||
elif flag[:2] == "-D":
|
||||
- t = tuple(flag[2:].split('='))
|
||||
+ t = flag[2:].split('=')
|
||||
+ if (len(t) == 1):
|
||||
+ t.append('1')
|
||||
+ t = tuple(t)
|
||||
if t not in define_macros:
|
||||
define_macros.append(t)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user