Index: head/devel/stlink/Makefile =================================================================== --- head/devel/stlink/Makefile (revision 538132) +++ head/devel/stlink/Makefile (revision 538133) @@ -1,45 +1,41 @@ # $FreeBSD$ PORTNAME= stlink PORTVERSION= 1.6.1 DISTVERSIONPREFIX= v #PORTREVISION= 0 CATEGORIES= devel MAINTAINER= lev@FreeBSD.org COMMENT= STM32 ST-Link JTAG variant tools LICENSE= BSD3CLAUSE OPTIONS_DEFINE= GTK3 DOCS OPTIONS_SUB= yes GTK3_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-pacth-turn-off-gtk GTK3_USES= gnome GTK3_USE= GNOME=gtk30 USE_GITHUB= yes GH_ACCOUNT= texane USES= cmake pkgconfig USE_LDCONFIG= yes PORTDOCS= README.md ${ALLDOCS} ALLDOCS= compiling.md developer.txt devices_boards.md \ flashloaders.md release.md tutorial.md \ version_support.md .include -.if ! ${ARCH:M*64*} -EXTRA_PATCHES+= ${FILESDIR}/extra-pacth-32bit -.endif - post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README.md .for DOC in ${ALLDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${STAGEDIR}${DOCSDIR}/${DOC} .endfor .include Index: head/devel/stlink/files/extra-pacth-32bit =================================================================== --- head/devel/stlink/files/extra-pacth-32bit (revision 538132) +++ head/devel/stlink/files/extra-pacth-32bit (nonexistent) @@ -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; Property changes on: head/devel/stlink/files/extra-pacth-32bit ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -1 \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property