Hello community,
here is the log from the commit of package ghostscript-library for openSUSE:Factory
checked in at Fri Jun 19 02:54:00 CEST 2009.
--------
--- ghostscript-library/ghostscript-library.changes 2009-05-13 17:28:27.000000000 +0200
+++ /mounts/work_src_done/STABLE/ghostscript-library/ghostscript-library.changes 2009-06-13 18:00:11.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Jun 13 17:59:30 CEST 2009 - coolo@novell.com
+
+- fix build
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
ghostscript-8.62-glibc210.dif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghostscript-library.spec ++++++
--- /var/tmp/diff_new_pack.o15932/_old 2009-06-19 02:53:31.000000000 +0200
+++ /var/tmp/diff_new_pack.o15932/_new 2009-06-19 02:53:31.000000000 +0200
@@ -59,7 +59,7 @@
Summary: Necessary Files for Running Ghostscript
%endif
Version: 8.62
-Release: 66
+Release: 67
License: GPL v2 or later
Source0: ghostscript-8.62.tar.bz2
Source1: ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.bz2
@@ -121,6 +121,7 @@
Patch51: ghostscript-CVE-2009-0196.patch
Patch52: ghostscript-CVE-2009-0792.patch
Patch53: ghostscript-BCN-492765.patch
+Patch54: ghostscript-8.62-glibc210.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 1010
%define xfontdir /usr/share/fonts
@@ -247,7 +248,7 @@
Eugene V. Demidov
%package -n ghostscript-omni
-License: GPL v2 or later; LGPL v2.1 or later
+License: GPL v2 or later ; LGPL v2.1 or later
Summary: Omni Printer Drivers for Ghostscript
PreReq: ghostscript-library
Group: Productivity/Publishing/PS
@@ -320,7 +321,7 @@
%package -n libgimpprint
License: GPL v2 or later
Version: 4.2.7
-Release: 307
+Release: 308
Summary: Gimp-Print libraries
Group: Development/Libraries/C and C++
@@ -336,7 +337,7 @@
%package -n libgimpprint-devel
License: GPL v2 or later
Version: 4.2.7
-Release: 307
+Release: 308
PreReq: %install_info_prereq
Requires: libgimpprint = %{version}
Requires: glibc-devel
@@ -416,6 +417,7 @@
%patch51 -p0 -b .CVE20090196
%patch52 -p0 -b .CVE20090792
%patch53 -p0 -b .BCN492765
+%patch54 -p0 -b .glibc210
%patch1 -p0 -b .pdf
%patch2 -p0 -b .sgirdb
%patch3 -p0 -b .x11
@@ -443,6 +445,8 @@
%build
test ! -f /.buildenv || . /.buildenv
+ # do not use as-needed
+ unset SUSE_ASNEEDED
#
LANG=POSIX
LC_CTYPE=POSIX
@@ -1345,6 +1349,8 @@
%endif
%changelog
+* Sat Jun 13 2009 coolo@novell.com
+- fix build
* Wed May 13 2009 werner@suse.de
- Complete patch for CVE-2009-0792 (bnc#491897)
* Wed May 13 2009 werner@suse.de
++++++ ghostscript-8.62-glibc210.dif ++++++
--- Omni/PDCBlitterClient.cpp.orig 2009-06-13 10:04:24.000000000 +0200
+++ Omni/PDCBlitterClient.cpp 2009-06-13 10:05:06.000000000 +0200
@@ -1923,7 +1923,7 @@ findSpace (PSZRO pszStart,
return 0;
}
- pszSpace = strchr (pszStart, ' ');
+ pszSpace = (char*)strchr (pszStart, ' ');
if (pszSpace)
{
@@ -2250,7 +2250,7 @@ main (int argc, char *argv[])
if (pszDebugOutput)
{
- char *pszSpace = strchr (pszDebugOutput, ' ');
+ char *pszSpace = (char*)strchr (pszDebugOutput, ' ');
char *pszValue = 0;
pszValue = pszDebugOutput + 12;
@@ -2831,7 +2831,7 @@ main (int argc, char *argv[])
PSZCRO pszJPQuoted = pCmd->getCommandString (false);
PSZRO pszJP = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -2892,7 +2892,7 @@ main (int argc, char *argv[])
int iSimulationRequired = 0;
bool fSimulationRequired = false;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)(char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -2982,7 +2982,7 @@ main (int argc, char *argv[])
int iRightClip = 0;
int iBottomClip = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)(char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3058,7 +3058,7 @@ main (int argc, char *argv[])
PSZCRO pszJPQuoted = pCmd->getCommandString (false);
PSZRO pszJP = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3116,7 +3116,7 @@ main (int argc, char *argv[])
int iColorAdjustRequired = 0;
int iAbsorption = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3185,7 +3185,7 @@ main (int argc, char *argv[])
int iSimulationRequired = 0;
bool fSimulationRequired = false;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3257,7 +3257,7 @@ main (int argc, char *argv[])
int iSimulationRequired = 0;
bool fSimulationRequired = false;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3326,7 +3326,7 @@ main (int argc, char *argv[])
PSZCRO pszJPQuoted = pCmd->getCommandString (false);
PSZRO pszJP = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3386,7 +3386,7 @@ main (int argc, char *argv[])
int iLogicalCount = 0;
int iPlanes = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3460,7 +3460,7 @@ main (int argc, char *argv[])
int iDestinationBitsPerPel = 0;
int iScanlineMultiple = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3537,7 +3537,7 @@ main (int argc, char *argv[])
int iMinimumScale = 0;
int iMaximumScale = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3605,7 +3605,7 @@ main (int argc, char *argv[])
PSZCRO pszJPQuoted = pCmd->getCommandString (false);
PSZRO pszJP = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3665,7 +3665,7 @@ main (int argc, char *argv[])
int iSimulationRequired = 0;
bool fSimulationRequired = false;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3736,7 +3736,7 @@ main (int argc, char *argv[])
PSZCRO pszJPQuoted = pCmd->getCommandString (false);
PSZRO pszJP = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3794,7 +3794,7 @@ main (int argc, char *argv[])
PSZRO pszJP = 0;
int iType = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3859,7 +3859,7 @@ main (int argc, char *argv[])
PSZCRO pszJPQuoted = pCmd->getCommandString (false);
PSZRO pszJP = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (pszSpace)
{
@@ -3924,7 +3924,7 @@ main (int argc, char *argv[])
pszID = pszCommandString;
- pszCommandString = strchr (pszID, ' ');
+ pszCommandString = (char*)strchr (pszID, ' ');
if (pszCommandString)
{
--- Omni/OmniDeviceOptions.cpp.orig 2009-06-13 10:08:36.000000000 +0200
+++ Omni/OmniDeviceOptions.cpp 2009-06-13 10:08:48.000000000 +0200
@@ -59,7 +59,7 @@ executeDevice (PSZRO pszFull
if (fUsePDC)
{
#ifdef PDC_INTERFACE_ENABLED
- char *pszSlash = strchr (pszFullDeviceName, '/');
+ const char *pszSlash = strchr (pszFullDeviceName, '/');
while (pszSlash)
{
--- Omni/GplDitherInstance.cpp.orig 2009-06-13 10:05:45.000000000 +0200
+++ Omni/GplDitherInstance.cpp 2009-06-13 10:06:10.000000000 +0200
@@ -351,7 +351,7 @@ createDitherInstance (PSZCRO pszDitherT
for (i = 0; i < (int)dimof (aBoolMappings); i++)
{
char *pszName = aBoolMappings[i].pszName;
- char *pszPos = strstr (pszOptions, pszName);
+ const char *pszPos = strstr (pszOptions, pszName);
if (!pszPos)
break;
@@ -415,7 +415,7 @@ createDitherInstance (PSZCRO pszDitherT
for (i = 0; i < (int)dimof (aIntMappings); i++)
{
char *pszName = aIntMappings[i].pszName;
- char *pszPos = strstr (pszOptions, pszName);
+ const char *pszPos = strstr (pszOptions, pszName);
if (!pszPos)
break;
--- Omni/OmniPDCProxy.cpp.orig 2009-06-13 10:07:06.000000000 +0200
+++ Omni/OmniPDCProxy.cpp 2009-06-13 10:07:20.000000000 +0200
@@ -1249,7 +1249,7 @@ public:
int iSimulationRequired = 0;
bool fSimulationRequired = false;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -1403,7 +1403,7 @@ getCurrentCopies ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
@@ -1694,7 +1694,7 @@ public:
int iRightClip = 0;
int iBottomClip = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -1857,7 +1857,7 @@ getCurrentForm ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
@@ -2234,7 +2234,7 @@ public:
int iColorAdjustRequired = 0;
int iAbsorption = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -2380,7 +2380,7 @@ getCurrentMedia ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
@@ -2509,7 +2509,7 @@ public:
int iSimulationRequired = 0;
bool fSimulationRequired = false;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -2657,7 +2657,7 @@ getCurrentNUp ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
@@ -2784,7 +2784,7 @@ public:
int iSimulationRequired = 0;
bool fSimulationRequired = false;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -2931,7 +2931,7 @@ getCurrentOrientation ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
@@ -3308,7 +3308,7 @@ public:
int iLogicalCount = 0;
int iPlanes = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -3456,7 +3456,7 @@ getCurrentPrintMode ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
@@ -3596,7 +3596,7 @@ public:
int iDestinationBitsPerPel = 0;
int iScanlineMultiple = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -3753,7 +3753,7 @@ getCurrentResolution ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
@@ -3884,7 +3884,7 @@ public:
int iMinimumScale = 0;
int iMaximumScale = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -4030,7 +4030,7 @@ getCurrentScaling ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
@@ -4408,7 +4408,7 @@ public:
int iSimulationRequired = 0;
bool fSimulationRequired = false;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -4556,7 +4556,7 @@ getCurrentSide ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
@@ -4931,7 +4931,7 @@ public:
PSZRO pszJP = 0;
int iType = 0;
- pszSpace = strchr (pszJPQuoted, ' ');
+ pszSpace = (char*)strchr (pszJPQuoted, ' ');
if (!pszSpace)
return 0;
@@ -5074,7 +5074,7 @@ getCurrentTray ()
PSZRO pszJobProperties = 0;
char *pszSpace = 0;
- pszSpace = strchr (pszNetworkJobProperties, ' ');
+ pszSpace = (char*)strchr (pszNetworkJobProperties, ' ');
if (pszSpace)
{
--- Omni/XMLLib/Makefile.am.orig 2009-06-13 16:21:48.000000000 +0200
+++ Omni/XMLLib/Makefile.am 2009-06-13 16:22:03.000000000 +0200
@@ -20,3 +20,4 @@
pkglib_LTLIBRARIES = libOmniXMLLibrary.la
libOmniXMLLibrary_la_SOURCES = XMLInterface.cpp
+libOmniXMLLibrary_la_LIBADD = -lxml2
--- Omni/test/TestDeviceObjects.cpp.orig 2009-06-13 16:24:32.000000000 +0200
+++ Omni/test/TestDeviceObjects.cpp 2009-06-13 16:24:52.000000000 +0200
@@ -2483,7 +2483,7 @@ executeDevice (PSZRO pszFullDeviceName,
if (fUsePDC)
{
#ifdef PDC_INTERFACE_ENABLED
- char *pszSlash = strchr (pszFullDeviceName, '/');
+ const char *pszSlash = strchr (pszFullDeviceName, '/');
while (pszSlash)
{
--- Omni/Makefile.am.orig 2009-06-13 16:22:41.000000000 +0200
+++ Omni/Makefile.am 2009-06-13 16:22:51.000000000 +0200
@@ -104,7 +104,7 @@ libomni_la_SOURCES = BinaryData.cpp \
PluggableBlitter.cpp
# PDCInterface.cpp
-libomni_la_LIBADD = $(top_builddir)/hppcl3/libbitmap.la $(top_builddir)/XMLLib/libOmniXMLLibrary.la
+libomni_la_LIBADD = $(top_builddir)/hppcl3/libbitmap.la $(top_builddir)/XMLLib/libOmniXMLLibrary.la -lgmodule-2.0
libomni_la_LDFLAGS = -version-info @LT_CURRENT@:@LT_REVISION@:@LT_AGE@ @XML_LIBS@
libPDCBlitterClient_la_SOURCES = PDCBlitterClient.cpp
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org