[Lsb-messages] /var/www/bzr/lsb/devel/devchk r2402: improve libpng15 build and regen it to fix typo (bug 3930)

Mats Wichmann mats at linuxfoundation.org
Fri Feb 21 00:08:44 UTC 2014


------------------------------------------------------------
revno: 2402
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: devchk
timestamp: Thu 2014-02-20 17:08:44 -0700
message:
  improve libpng15 build and regen it to fix typo (bug 3930)
added:
  ts/devchk/libpng15_pngconf_h.inc
modified:
  ts/devchk/libpng15_pngconf_h.c
-------------- next part --------------
=== modified file 'ts/devchk/libpng15_pngconf_h.c'
--- a/ts/devchk/libpng15_pngconf_h.c	2013-02-21 13:58:25 +0000
+++ b/ts/devchk/libpng15_pngconf_h.c	2014-02-21 00:08:44 +0000
@@ -7,6 +7,10 @@
 #include <string.h>
 #include <sys/types.h>
 #define _LSB_DEFAULT_ARCH 1
+#ifndef LSBCC_MODE
+#include <libpng15/pnglibconf.h>
+#endif
+
 #include "libpng15/pngconf.h"
 
 
@@ -521,26 +525,26 @@
 #endif
 
 #if defined __x86_64__
-CheckTypeSize(png_fixed_pointp,8, 10000143, 11, 5.0, NULL, 10000142, NULL)
+CheckTypeSize(png_fixed_point_p,8, 10000143, 11, 5.0, NULL, 10000142, NULL)
 #elif defined __i386__
-CheckTypeSize(png_fixed_pointp,4, 10000143, 2, 5.0, NULL, 10000142, NULL)
+CheckTypeSize(png_fixed_point_p,4, 10000143, 2, 5.0, NULL, 10000142, NULL)
 #elif defined __ia64__
-Msg("Find size of png_fixed_pointp (10000143)\n");
+Msg("Find size of png_fixed_point_p (10000143)\n");
 Sql("REPLACE INTO ArchType VALUES (%d,%d,%d,'""5.0""',NULL,10000142,NULL);\n",architecture,10000143,0);
 #elif defined __powerpc__ && !defined __powerpc64__
-Msg("Find size of png_fixed_pointp (10000143)\n");
+Msg("Find size of png_fixed_point_p (10000143)\n");
 Sql("REPLACE INTO ArchType VALUES (%d,%d,%d,'""5.0""',NULL,10000142,NULL);\n",architecture,10000143,0);
 #elif defined __powerpc64__
-Msg("Find size of png_fixed_pointp (10000143)\n");
+Msg("Find size of png_fixed_point_p (10000143)\n");
 Sql("REPLACE INTO ArchType VALUES (%d,%d,%d,'""5.0""',NULL,10000142,NULL);\n",architecture,10000143,0);
 #elif defined __s390__ && !defined __s390x__
-Msg("Find size of png_fixed_pointp (10000143)\n");
+Msg("Find size of png_fixed_point_p (10000143)\n");
 Sql("REPLACE INTO ArchType VALUES (%d,%d,%d,'""5.0""',NULL,10000142,NULL);\n",architecture,10000143,0);
 #elif defined __s390x__
-Msg("Find size of png_fixed_pointp (10000143)\n");
+Msg("Find size of png_fixed_point_p (10000143)\n");
 Sql("REPLACE INTO ArchType VALUES (%d,%d,%d,'""5.0""',NULL,10000142,NULL);\n",architecture,10000143,0);
 #else
-Msg("Find size of png_fixed_pointp (10000143)\n");
+Msg("Find size of png_fixed_point_p (10000143)\n");
 Sql("REPLACE INTO ArchType VALUES (%d,%d,%d,'""5.0""',NULL,10000142,NULL);\n",architecture,10000143,0);
 #endif
 

=== added file 'ts/devchk/libpng15_pngconf_h.inc'
--- a/ts/devchk/libpng15_pngconf_h.inc	1970-01-01 00:00:00 +0000
+++ b/ts/devchk/libpng15_pngconf_h.inc	2014-02-21 00:08:44 +0000
@@ -0,0 +1,4 @@
+#ifndef LSBCC_MODE
+#include <libpng15/pnglibconf.h>
+#endif
+



More information about the lsb-messages mailing list