View | Details | Raw Unified | Return to bug 269818 | Differences between
and this patch

Collapse All | Expand All

(-)b/emulators/py-unicorn/Makefile (-1 / +1 lines)
Lines 1-5 Link Here
1
PORTNAME=	unicorn
1
PORTNAME=	unicorn
2
DISTVERSION=	1.0.2
2
DISTVERSION=	2.0.1.post1
3
CATEGORIES=	emulators python
3
CATEGORIES=	emulators python
4
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
4
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
5
(-)b/emulators/py-unicorn/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1603347498
1
TIMESTAMP = 1677313413
2
SHA256 (unicorn-engine-unicorn-1.0.2_GH0.tar.gz) = 6400e16f9211486fa5353b1870e6a82f8aa342e429718d1cbca08d609aaadc52
2
SHA256 (unicorn-engine-unicorn-2.0.1.post1_GH0.tar.gz) = 6b276c857c69ee5ec3e292c3401c8c972bae292e0e4cb306bb9e5466c0f14737
3
SIZE (unicorn-engine-unicorn-1.0.2_GH0.tar.gz) = 3735111
3
SIZE (unicorn-engine-unicorn-2.0.1.post1_GH0.tar.gz) = 4071380
(-)b/emulators/py-unicorn/files/patch-setup.py (-3 / +3 lines)
Lines 1-12 Link Here
1
# Do not bundle libunicorn.so
1
# Do not bundle libunicorn.so
2
2
3
--- setup.py.orig	2020-09-21 18:11:43 UTC
3
--- setup.py.orig	2023-02-25 08:30:56 UTC
4
+++ setup.py
4
+++ setup.py
5
@@ -281,11 +281,4 @@ setup(
5
@@ -246,11 +246,4 @@ setup(
6
         'Programming Language :: Python :: 3',
6
         'Programming Language :: Python :: 3',
7
     ],
7
     ],
8
     requires=['ctypes'],
8
     requires=['ctypes'],
9
-    cmdclass={'build': custom_build, 'develop': custom_develop, 'sdist': custom_sdist, 'bdist_egg': custom_bdist_egg},
9
-    cmdclass=cmdclass,
10
-    zip_safe=False,
10
-    zip_safe=False,
11
-    include_package_data=True,
11
-    include_package_data=True,
12
-    is_pure=False,
12
-    is_pure=False,
(-)b/emulators/unicorn/Makefile (-4 / +5 lines)
Lines 1-5 Link Here
1
PORTNAME=	unicorn
1
PORTNAME=	unicorn
2
DISTVERSION=	1.0.2
2
DISTVERSION=	2.0.1.post1
3
CATEGORIES=	emulators
3
CATEGORIES=	emulators
4
4
5
MAINTAINER=	antoine@FreeBSD.org
5
MAINTAINER=	antoine@FreeBSD.org
Lines 20-37 TEST_DEPENDS= cmocka>0:sysutils/cmocka Link Here
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	unicorn-engine
21
GH_ACCOUNT=	unicorn-engine
22
22
23
USES=		compiler:c11 gmake python:build
23
USES=		cmake:testing compiler:c11 pkgconfig python:build
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
BINARY_ALIAS=	python=${PYTHON_CMD}
25
BINARY_ALIAS=	python=${PYTHON_CMD}
26
MAKE_ENV=	INSTALL_LIB="${INSTALL_LIB}" \
26
MAKE_ENV=	INSTALL_LIB="${INSTALL_LIB}" \
27
		SMP_MFLAGS=-j${MAKE_JOBS_NUMBER} \
27
		SMP_MFLAGS=-j${MAKE_JOBS_NUMBER} \
28
		V=1
28
		V=1
29
TEST_TARGET=	test
30
TEST_WRKSRC=	${WRKSRC}/tests/unit
31
_MAKE_JOBS=	# MAKE_JOBS_NUMBER is passed via MAKE_ENV
29
_MAKE_JOBS=	# MAKE_JOBS_NUMBER is passed via MAKE_ENV
32
# Optimization breaks runtime,
30
# Optimization breaks runtime,
33
# see https://github.com/unicorn-engine/unicorn/issues/356
31
# see https://github.com/unicorn-engine/unicorn/issues/356
34
# and https://github.com/unicorn-engine/unicorn/issues/689
32
# and https://github.com/unicorn-engine/unicorn/issues/689
35
CFLAGS:=	${CFLAGS:C/-O[1-9]/-O0/g}
33
CFLAGS:=	${CFLAGS:C/-O[1-9]/-O0/g}
36
34
35
CMAKE_OFF=		UNICORN_BUILD_TESTS
36
CMAKE_TESTING_ON=	UNICORN_BUILD_TESTS
37
37
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)b/emulators/unicorn/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1603347498
1
TIMESTAMP = 1677311708
2
SHA256 (unicorn-engine-unicorn-1.0.2_GH0.tar.gz) = 6400e16f9211486fa5353b1870e6a82f8aa342e429718d1cbca08d609aaadc52
2
SHA256 (unicorn-engine-unicorn-2.0.1.post1_GH0.tar.gz) = 6b276c857c69ee5ec3e292c3401c8c972bae292e0e4cb306bb9e5466c0f14737
3
SIZE (unicorn-engine-unicorn-1.0.2_GH0.tar.gz) = 3735111
3
SIZE (unicorn-engine-unicorn-2.0.1.post1_GH0.tar.gz) = 4071380
(-)b/emulators/unicorn/pkg-plist (-1 / +5 lines)
Lines 3-12 include/unicorn/arm64.h Link Here
3
include/unicorn/m68k.h
3
include/unicorn/m68k.h
4
include/unicorn/mips.h
4
include/unicorn/mips.h
5
include/unicorn/platform.h
5
include/unicorn/platform.h
6
include/unicorn/ppc.h
7
include/unicorn/riscv.h
8
include/unicorn/s390x.h
6
include/unicorn/sparc.h
9
include/unicorn/sparc.h
10
include/unicorn/tricore.h
7
include/unicorn/unicorn.h
11
include/unicorn/unicorn.h
8
include/unicorn/x86.h
12
include/unicorn/x86.h
9
lib/libunicorn.a
13
lib/libunicorn.a
10
lib/libunicorn.so
14
lib/libunicorn.so
11
lib/libunicorn.so.1
15
lib/libunicorn.so.2
12
libdata/pkgconfig/unicorn.pc
16
libdata/pkgconfig/unicorn.pc

Return to bug 269818