Package: effectv
Version: 0.3.9-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my effectv 0.3.9-1.1 NMU.
diff -Nru /tmp/JqMjNFFGNJ/effectv-0.3.9/debian/changelog 
/tmp/bX5COiKgcm/effectv-0.3.9/debian/changelog
--- /tmp/JqMjNFFGNJ/effectv-0.3.9/debian/changelog      2006-06-21 
20:59:38.000000000 +0200
+++ /tmp/bX5COiKgcm/effectv-0.3.9/debian/changelog      2006-06-21 
20:59:38.000000000 +0200
@@ -1,3 +1,11 @@
+effectv (0.3.9-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Rename the "trunc" function to "trunc_color"; fixes FTBFS with gcc 4.1,
+    patch from Matej Vela. (Closes: #373241)
+
+ -- Steinar H. Gunderson <[EMAIL PROTECTED]>  Tue, 20 Jun 2006 23:22:40 +0200
+
 effectv (0.3.9-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru /tmp/JqMjNFFGNJ/effectv-0.3.9/utils.c 
/tmp/bX5COiKgcm/effectv-0.3.9/utils.c
--- /tmp/JqMjNFFGNJ/effectv-0.3.9/utils.c       2004-01-21 00:37:14.000000000 
+0100
+++ /tmp/bX5COiKgcm/effectv-0.3.9/utils.c       2006-06-21 20:59:38.000000000 
+0200
@@ -26,7 +26,7 @@
 /*
  * HSI color system utilities
  */
-static int trunc(double f)
+static int trunc_color(double f)
 {
        int i;
 
@@ -45,9 +45,9 @@
        Gv=1+S*sin(T);
        Bv=1+S*sin(T+2*M_PI/3);
        T=255.999*I/2;
-       *r=trunc(Rv*T);
-       *g=trunc(Gv*T);
-       *b=trunc(Bv*T);
+       *r=trunc_color(Rv*T);
+       *g=trunc_color(Gv*T);
+       *b=trunc_color(Bv*T);
 }
 
 /*

Reply via email to