Hi. When I was about to upgrade php-imagick to v0.9.4 I had to uninstall libMagick5.5.3 and install libMagick5.5.4. There was one package named pstoedit that had to be rebuilt. I gave it a shot but got:
i586-mandrake-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.33\" "-DPACKAGE_STRING=\"pstoedit 3.33\"" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.33\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -I. -I. -DHAVE_LIBMING -DHAVE_MAGIC -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/include/libxml2 -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib/pstoedit\" -DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wstrict-prototypes -g -MT drvswf.lo -MD -MP -MF .deps/drvswf.Tpo -c drvswf.cpp -fPIC -DPIC -o .libs/drvswf.lo In file included from drvswf.cpp:36: /usr/include/mingpp.h: In member function `void SWFText::addString(const char*, float*)': /usr/include/mingpp.h:631: cannot convert `float*' to `int*' for argument `3' to `void SWFText_addString(void*, const char*, int*)' make[1]: *** [drvswf.lo] Error 1 make[1]: Leaving directory `/home/oden/RPM/BUILD/pstoedit-3.33/src' make: *** [all-recursive] Error 1 error: Bad exit status from /home/oden/RPM/temp/rpm-tmp.66216 (%build) diff -u pstoedit.spec pstoedit.spec.oden --- pstoedit.spec 2003-01-24 11:43:26.000000000 +0100 +++ pstoedit.spec.oden 2003-02-17 13:48:50.000000000 +0100 @@ -4,15 +4,16 @@ Summary: Translates PostScript/PDF graphics into other vector formats Name: pstoedit Version: 3.33 -Release: 2mdk +Release: 3mdk License: GPL Source: http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/pstoedit-%{version}.tar.bz2 URL: http://www.pstoedit.net/pstoedit Group: Graphics -BuildRequires: libMagick-devel +BuildRequires: libMagick5.5.4-devel BuildRequires: libpng-devel BuildRequires: zlib1-devel Requires: %{libname} = %{version}-%{release} +Requires: libMagick5.5.4 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -111,6 +112,10 @@ %{_datadir}/aclocal/pstoedit.m4 %changelog +* Mon Feb 17 2003 Oden Eriksson <[EMAIL PROTECTED]> 3.33-3mdk +- rebuilt against libMagick5.5.4 +- misc spec file fixes + * Fri Jan 24 2003 Lenny Cartier <[EMAIL PROTECTED]> 3.33-2mdk - rebuild -- Regards // Oden Eriksson, Deserve-IT.com
