tags 356367 + pending
thanks

I've uploaded the following NMU to delayed-2.


diff -u cmt-1.15/debian/changelog cmt-1.15/debian/changelog
--- cmt-1.15/debian/changelog
+++ cmt-1.15/debian/changelog
@@ -1,3 +1,11 @@
+cmt (1.15-3.1) unstable; urgency=low
+
+  * NMU as part of the GCC 4.1 transition.
+  * Apply patch Pierre Habouzit to fix "dereferencing type-punned pointer
+    will break strict-aliasing rules" error (Closes: #356367).
+
+ -- Martin Michlmayr <[EMAIL PROTECTED]>  Thu, 25 May 2006 21:59:25 +0200
+
 cmt (1.15-3) unstable; urgency=low
 
   * Respin build for C++ transition
only in patch2:
unchanged:
--- cmt-1.15.orig/src/freeverb/Components/denormals.h
+++ cmt-1.15/src/freeverb/Components/denormals.h
@@ -8,7 +8,11 @@
 #ifndef _denormals_

 #define _denormals_

 

-#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) 
sample=0.0f

+static void inline undenormalise(float *sample)

+{

+    if (((*(unsigned int*)sample) & 0x7f800000) == 0)

+        *sample = 0.0f;

+}

 

 #endif//_denormals_

 

only in patch2:
unchanged:
--- cmt-1.15.orig/src/freeverb/Components/comb.h
+++ cmt-1.15/src/freeverb/Components/comb.h
@@ -38,10 +38,10 @@
        float output;
 
        output = buffer[bufidx];
-       undenormalise(output);
+       undenormalise(&output);
 
        filterstore = (output*damp2) + (filterstore*damp1);
-       undenormalise(filterstore);
+       undenormalise(&filterstore);
 
        buffer[bufidx] = input + (filterstore*feedback);
 
only in patch2:
unchanged:
--- cmt-1.15.orig/src/freeverb/Components/allpass.h
+++ cmt-1.15/src/freeverb/Components/allpass.h
@@ -33,7 +33,7 @@
        float bufout;
        
        bufout = buffer[bufidx];
-       undenormalise(bufout);
+       undenormalise(&bufout);
        
        output = -input + bufout;
        buffer[bufidx] = input + (bufout*feedback);

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to