SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
graphics/openjp2/patches/patch-src_bin_jp2_convert_c
Normal file
12
graphics/openjp2/patches/patch-src_bin_jp2_convert_c
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: src/bin/jp2/convert.c
|
||||
--- src/bin/jp2/convert.c.orig
|
||||
+++ src/bin/jp2/convert.c
|
||||
@@ -662,7 +662,7 @@ static int tga_readheader(FILE *fp, unsigned int *bits
|
||||
return 1;
|
||||
}
|
||||
|
||||
-#ifdef OPJ_BIG_ENDIAN
|
||||
+#if defined(OPJ_BIG_ENDIAN) && !defined(swap16)
|
||||
|
||||
static INLINE OPJ_UINT16 swap16(OPJ_UINT16 x)
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue