Package: ploticus
Version: 2.33-1
Severity: normal
Tags: patch

When linking ploticus against ming-0.2a, it segfaults.  The patch below solves
it.


*** swf.c       2005-01-19 10:51:20.000000000 -0800
--- swf.fixed.c 2006-06-09 12:46:19.000000000 -0700
***************
*** 592,598 ****
  
        if (!swf_path_in_prog) swf_path_in_prog =1;
  
!       if( (path_count-2) > max_pts ) return; /* scg 5/4/04 */
  
        path_x[path_count] = x;
        path_y[path_count] = y;
--- 592,601 ----
  
        if (!swf_path_in_prog) swf_path_in_prog =1;
  
!         // originally said:
!       //   if( (path_count-2) > max_pts ) return; /* scg 5/4/04 */
!         // ...but causes segfault.
!       if( path_count >= max_pts ) return;
  
        path_x[path_count] = x;
        path_y[path_count] = y;

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ploticus depends on:
ii  libc6                       2.3.6-15     GNU C Library: Shared libraries
ii  libfreetype6                2.2.1-2      FreeType 2 font engine, shared lib
ii  libgd2-noxpm                2.0.33-4     GD Graphics Library version 2 (wit
ii  libjpeg62                   6b-13        The Independent JPEG Group's JPEG 
ii  libpng12-0                  1.2.8rel-5.1 PNG library - runtime
ii  libx11-6                    2:1.0.0-6    X11 client-side library
ii  zlib1g                      1:1.2.3-11   compression library - runtime

ploticus recommends no packages.

-- no debconf information


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

Reply via email to