Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2019 11:50:20 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509936 - in head/graphics/mozjpeg: . files
Message-ID:  <201908261150.x7QBoKV6019379@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) | \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908261150.x7QBoKV6019379>