svn commit: r509936 - in head/graphics/mozjpeg: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Aug 26 11:50:21 UTC 2019


Author: sunpoet
Date: Mon Aug 26 11:50:20 2019
New Revision: 509936
URL: https://svnweb.freebsd.org/changeset/ports/509936

Log:
  Fix build on powerpc64
  
  PR:		240087
  Submitted by:	pkubaj

Added:
  head/graphics/mozjpeg/files/
  head/graphics/mozjpeg/files/patch-md5-md5.c   (contents, props changed)
Modified:
  head/graphics/mozjpeg/Makefile

Modified: head/graphics/mozjpeg/Makefile
==============================================================================
--- head/graphics/mozjpeg/Makefile	Mon Aug 26 11:50:12 2019	(r509935)
+++ head/graphics/mozjpeg/Makefile	Mon Aug 26 11:50:20 2019	(r509936)
@@ -12,7 +12,6 @@ COMMENT=	Improved JPEG encoder by Mozilla
 LICENSE=	BSD3CLAUSE
 
 BROKEN_mips64=	does not configure: error: SIMD support cannot be enabled
-BROKEN_powerpc64=	does not build: undefined reference to htole32
 BROKEN_sparc64=	does not configure: error: SIMD support cannot be enabled
 
 LIB_DEPENDS=	libpng.so:graphics/png

Added: head/graphics/mozjpeg/files/patch-md5-md5.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/mozjpeg/files/patch-md5-md5.c	Mon Aug 26 11:50:20 2019	(r509936)
@@ -0,0 +1,11 @@
+--- md5/md5.c.orig	2019-08-25 00:26:22 UTC
++++ md5/md5.c
+@@ -31,6 +31,8 @@
+ 
+ #include "./md5.h"
+ 
++#include <sys/endian.h>
++
+ #ifdef __amigaos4__
+ #include <machine/endian.h>
+ #define le32toh(x) (((x & 0xff) << 24) | \


More information about the svn-ports-all mailing list