1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Restore previous patch that disables buggy assembly. This fixes build

on 5.x and 6.x.

Noticed by:	marcus@
Approved by:	maintainer (implicit)
This commit is contained in:
Rong-En Fan 2008-03-02 06:49:10 +00:00
parent 4cad3ca22c
commit 0908ddc281
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208314
2 changed files with 12 additions and 4 deletions

View File

@ -31,10 +31,6 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= does not compile
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -O1 -I${WRKSRC}/include -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \

View File

@ -0,0 +1,12 @@
--- src/ptlib/common/jidctflt.cxx.orig Wed Apr 5 07:08:00 2006
+++ src/ptlib/common/jidctflt.cxx Wed Apr 5 07:08:08 2006
@@ -97,7 +97,8 @@
#define DEQUANTIZE(coef,quantval) (((FAST_FLOAT) (coef)) * (quantval))
-#if defined(__GNUC__) && (__GNUC__ >= 3) && (defined(__i686__) || defined(__x86_64__)) && (!defined(P_64BIT)) && (!defined(__MACOSX__))
+/* asm doesn't compile properly... avoid using */
+#if 0
static inline unsigned char descale_and_clamp(int x, int shift)
{