mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
Upgrade from 1.3.1-3 to 1.3.1-4. The only real change (outside of the auto* nonsense) is the
restoration of the padding at the end of CDirEntry. Clang++ used to flag it as unused private field, which lead to its removal (incorrectly) -- and this new release from upstream restores the padding. It is still flagged by clang++ so a new patch attempts to suppress that.
This commit is contained in:
parent
c8058284a4
commit
14783492d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344284
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libfpx
|
||||
DISTVERSION= 1.3.1-3
|
||||
DISTVERSION= 1.3.1-4
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://imagemagick.mirrorcatalogs.com/delegates/ \
|
||||
http://www.imagemagick.org/download/delegates/ \
|
||||
@ -17,7 +17,6 @@ MAINTAINER= mi@aldan.algebra.com
|
||||
COMMENT= Library routines for working with Flashpix images
|
||||
|
||||
USE_XZ= yes
|
||||
MAKE_JOBS_UNSAFE=yes
|
||||
|
||||
PLIST_FILES= lib/libfpx.so.2 lib/libfpx.so lib/libfpx.a include/fpxlib.h
|
||||
USE_LDCONFIG= yes
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libfpx-1.3.1-3.tar.xz) = cb82d8d90a0f195abcb6c0f1dc4cf181e9569f8f28d96969ed8378938641847a
|
||||
SIZE (libfpx-1.3.1-3.tar.xz) = 1892860
|
||||
SHA256 (libfpx-1.3.1-4.tar.xz) = 638875039246e11a3646ca34c2c8f1f790c54aa00b878301bb127f30eeea7b5d
|
||||
SIZE (libfpx-1.3.1-4.tar.xz) = 1896560
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- oless/h/owchar.h 2013-09-03 13:38:08.000000000 -0400
|
||||
+++ oless/h/owchar.h 2013-09-11 18:31:34.000000000 -0400
|
||||
@@ -24,6 +24,6 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
-
|
||||
#ifdef __cplusplus
|
||||
+#include <string>
|
||||
extern "C" {
|
||||
#endif
|
15
graphics/libfpx/files/patch-unused-padding
Normal file
15
graphics/libfpx/files/patch-unused-padding
Normal file
@ -0,0 +1,15 @@
|
||||
The padding is important (earlier versions tried to remove it leading to peril),
|
||||
but clang++ complains about it. Mark it as __unused to prevent that...
|
||||
--- oless/h/dir.hxx 2014-02-12 08:14:24.000000000 -0500
|
||||
+++ oless/h/dir.hxx 2014-02-14 11:36:59.000000000 -0500
|
||||
@@ -142,5 +142,9 @@
|
||||
inline void SetBitFlags(BYTE bValue, BYTE bMask);
|
||||
|
||||
- BYTE _bpad[CBDIRPAD]; // do not remove, bad things will happen!
|
||||
+ BYTE _bpad[CBDIRPAD] // do not remove, bad things will happen!
|
||||
+#ifdef __clang__
|
||||
+ __unused
|
||||
+#endif
|
||||
+ ;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user