mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
cad/admesh: update to 0.98.4
From ChangeLog (https://github.com/admesh/admesh/releases/tag/v0.98.4) * Fix big-endian binary stl reading * Initialized extra values when loading ASCII STL Reported by: portscout
This commit is contained in:
parent
5d6796c079
commit
d3948f5514
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516178
3 changed files with 22 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= admesh
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.98.3
|
||||
DISTVERSION= 0.98.4
|
||||
CATEGORIES= cad
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1531641582
|
||||
SHA256 (admesh-admesh-v0.98.3_GH0.tar.gz) = 6aa1bb3c68309ba72441ecb56e8b0cd6560ab9f7688de3333f8c72f8f6948ac6
|
||||
SIZE (admesh-admesh-v0.98.3_GH0.tar.gz) = 39898
|
||||
TIMESTAMP = 1572464060
|
||||
SHA256 (admesh-admesh-v0.98.4_GH0.tar.gz) = 17e18b0e6c08c7dda879d4a0e963bea32d2593758ffd4a1a902b757115394e58
|
||||
SIZE (admesh-admesh-v0.98.4_GH0.tar.gz) = 41107
|
||||
|
|
18
cad/admesh/files/patch-src_portable__endian.h
Normal file
18
cad/admesh/files/patch-src_portable__endian.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- src/portable_endian.h.orig 2019-10-12 18:24:24 UTC
|
||||
+++ src/portable_endian.h
|
||||
@@ -54,6 +54,7 @@
|
||||
|
||||
# include <sys/endian.h>
|
||||
|
||||
+#if !defined(__FreeBSD__)
|
||||
# define be16toh(x) betoh16(x)
|
||||
# define le16toh(x) letoh16(x)
|
||||
|
||||
@@ -62,6 +63,7 @@
|
||||
|
||||
# define be64toh(x) betoh64(x)
|
||||
# define le64toh(x) letoh64(x)
|
||||
+#endif /*!defined(__FreeBSD__)*/
|
||||
|
||||
#elif defined(__WINDOWS__)
|
||||
|
Loading…
Add table
Reference in a new issue