summaryrefslogtreecommitdiffstats
path: root/devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx')
-rw-r--r--devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx12
1 files changed, 12 insertions, 0 deletions
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 000000000..113cf9728
--- /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
+@@ -80,7 +80,8 @@
+
+ #define DEQUANTIZE(coef,quantval) (((FAST_FLOAT) (coef)) * (quantval))
+
+-#if defined(__GNUC__) && (defined(__i686__) || defined(__x86_64__))
++/* asm doesn't compile properly... avoid using */
++#if 0
+
+ static inline unsigned char descale_and_clamp(int x, int shift)
+ {