Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / mail / spamprobe / patches / patch-ab
bloba22013930ee6e09b2c03924ebffc96377ce8996e
1 $NetBSD$
3 --- src/parser/PngParser.cc.orig        2006-11-17 07:11:10.000000000 +0000
4 +++ src/parser/PngParser.cc
5 @@ -53,9 +53,9 @@ PngParser::~PngParser()
6  {
7    if (m_initialized) {
8      if (m_infoPtr) {
9 -      png_destroy_read_struct(&m_pngPtr, &m_infoPtr, png_infopp_NULL);
10 +      png_destroy_read_struct(&m_pngPtr, &m_infoPtr, NULL);
11      } else {
12 -      png_destroy_read_struct(&m_pngPtr, png_infopp_NULL, png_infopp_NULL);
13 +      png_destroy_read_struct(&m_pngPtr, NULL, NULL);
14      }
15    }
16  }
17 @@ -104,7 +104,7 @@ void PngParser::tokenizeImage()
18    int bit_depth, color_type, interlace_type;
20    png_get_IHDR(m_pngPtr, m_infoPtr, &width, &height, &bit_depth, &color_type,
21 -               &interlace_type, int_p_NULL, int_p_NULL);
22 +               &interlace_type, NULL, NULL);
24    string base_token("image_0");
25    sendToken(base_token + "_height_" + num_to_string((int)width));