[Pkg-voip-commits] r3608 - pwlib/trunk/debian/patches

kilian at alioth.debian.org kilian at alioth.debian.org
Sat May 26 08:24:12 UTC 2007


Author: kilian
Date: 2007-05-26 08:24:12 +0000 (Sat, 26 May 2007)
New Revision: 3608

Added:
   pwlib/trunk/debian/patches/02_amd64.dpatch
Modified:
   pwlib/trunk/debian/patches/00list
Log:
Fix compilation on amd64. Backported from CVS HEAD and Phobos 1.10.8.


Modified: pwlib/trunk/debian/patches/00list
===================================================================
--- pwlib/trunk/debian/patches/00list	2007-05-25 11:55:19 UTC (rev 3607)
+++ pwlib/trunk/debian/patches/00list	2007-05-26 08:24:12 UTC (rev 3608)
@@ -1,4 +1,5 @@
 01_unix.mak_Os
+02_amd64
 04_names
 05_hppa
 06_plugins_shared

Added: pwlib/trunk/debian/patches/02_amd64.dpatch
===================================================================
--- pwlib/trunk/debian/patches/02_amd64.dpatch	                        (rev 0)
+++ pwlib/trunk/debian/patches/02_amd64.dpatch	2007-05-26 08:24:12 UTC (rev 3608)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_amd64.dpatch by Kilian Krause <kilian at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix compilation on amd64. Backported from HEAD and 1.10.8 Phobos.
+
+ at DPATCH@
+diff -urNad pwlib-1.10.7~dfsg~pre1~/src/ptlib/common/jidctflt.cxx pwlib-1.10.7~dfsg~pre1/src/ptlib/common/jidctflt.cxx
+--- pwlib-1.10.7~dfsg~pre1~/src/ptlib/common/jidctflt.cxx	2007-03-04 20:33:51.000000000 +0100
++++ pwlib-1.10.7~dfsg~pre1/src/ptlib/common/jidctflt.cxx	2007-05-26 09:50:02.000000000 +0200
+@@ -80,7 +80,7 @@
+ 
+ #define DEQUANTIZE(coef,quantval)  (((FAST_FLOAT) (coef)) * (quantval))
+ 
+-#if defined(__GNUC__) && (defined(__i686__) || defined(__x86_64__))
++#if defined(__GNUC__) && (defined(__i686__))
+ 
+ static inline unsigned char descale_and_clamp(int x, int shift)
+ {


Property changes on: pwlib/trunk/debian/patches/02_amd64.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-voip-commits mailing list