aboutsummaryrefslogtreecommitdiff
path: root/devel/stlink/files/extra-pacth-32bit
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2020-06-06 21:22:32 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2020-06-06 21:22:32 +0000
commitfa323644a47f359c2bf843fd98aaa956e14ba845 (patch)
treebbd144f5da05dc16ca2559d65e97e7d9c1cafd3d /devel/stlink/files/extra-pacth-32bit
parentfe8e5d6f84f9d8eb511627f8f34c9db89d000f31 (diff)
downloadports-fa323644a47f359c2bf843fd98aaa956e14ba845.tar.gz
ports-fa323644a47f359c2bf843fd98aaa956e14ba845.zip
Remove unneeded 32bit patch.
Notes
Notes: svn path=/head/; revision=538133
Diffstat (limited to 'devel/stlink/files/extra-pacth-32bit')
-rw-r--r--devel/stlink/files/extra-pacth-32bit18
1 files changed, 0 insertions, 18 deletions
diff --git a/devel/stlink/files/extra-pacth-32bit b/devel/stlink/files/extra-pacth-32bit
deleted file mode 100644
index 321fbb9df950..000000000000
--- a/devel/stlink/files/extra-pacth-32bit
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/common.c.orig 2018-02-19 15:59:51.068865000 +0300
-+++ src/common.c 2018-02-19 16:00:23.483652000 +0300
-@@ -1032,13 +1032,13 @@
- goto on_error;
- }
-
-- mf->base = (uint8_t*) mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0);
-+ mf->base = (uint8_t*) mmap(NULL, (size_t)st.st_size, PROT_READ, MAP_SHARED, fd, 0);
- if (mf->base == MAP_FAILED) {
- fprintf(stderr, "mmap() == MAP_FAILED\n");
- goto on_error;
- }
-
-- mf->len = st.st_size;
-+ mf->len = (size_t)st.st_size;
-
- /* success */
- error = 0;