diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-02 06:49:10 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-02 06:49:10 +0000 |
commit | 0908ddc2817c7771822a25a46f27b04da146bde8 (patch) | |
tree | 87f1a1d519e8db8ff1311a0fd74526eca325681d /devel/pwlib | |
parent | 4cad3ca22c92dffebef02cc85f8a57f8cb0efc68 (diff) |
Notes
Diffstat (limited to 'devel/pwlib')
-rw-r--r-- | devel/pwlib/Makefile | 4 | ||||
-rw-r--r-- | devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile index 2e9f5bd51105..cfa31bd4cce6 100644 --- a/devel/pwlib/Makefile +++ b/devel/pwlib/Makefile @@ -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}" \ diff --git a/devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx b/devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx new file mode 100644 index 000000000000..b47f7ae97b6c --- /dev/null +++ b/devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx @@ -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) + { |