diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-03-09 14:31:00 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-03-09 14:31:00 +0100 |
commit | a5f27616ed0ce486558e9a281568c65fda7afeb2 (patch) | |
tree | 8bd3f4d018245a2b2e9167910f1af7b12ed5a2d9 /libcdr | |
parent | 055f8eaf1276c585b06ca01c28a6fe4aee900a31 (diff) |
Revert "Upload new libcdr-0.0.4 release"
This reverts commit 4147de18731c7637ab5654797c21b39069695ff5.
Diffstat (limited to 'libcdr')
-rw-r--r-- | libcdr/libcdr-0.0.3-warning.patch | 31 | ||||
-rw-r--r-- | libcdr/libcdr-0.0.3.patch | 34 | ||||
-rw-r--r-- | libcdr/libcdr-0.0.4.patch | 20 | ||||
-rw-r--r-- | libcdr/makefile.mk | 18 |
4 files changed, 72 insertions, 31 deletions
diff --git a/libcdr/libcdr-0.0.3-warning.patch b/libcdr/libcdr-0.0.3-warning.patch new file mode 100644 index 000000000000..b98459c2fe9c --- /dev/null +++ b/libcdr/libcdr-0.0.3-warning.patch @@ -0,0 +1,31 @@ +--- misc/libcdr-0.0.3/src/lib/CDRParser.cpp 2012-02-23 07:42:39.000000000 +0100 ++++ misc/build/libcdr-0.0.3/src/lib/CDRParser.cpp 2012-02-23 13:44:27.970033236 +0100 +@@ -215,7 +215,7 @@ + else if (fourCC == "mcfg") + readMcfg(input); + else if (fourCC == "bmp ") +- readBmp(input, length); ++ readBmp(input); + input->seek(recordStart + length, WPX_SEEK_CUR); + } + +@@ -770,7 +770,7 @@ + m_collector->collectPolygonTransform(numAngles, nextPoint, rx, ry, cx, cy); + } + +-void libcdr::CDRParser::readBmp(WPXInputStream *input, unsigned length) ++void libcdr::CDRParser::readBmp(WPXInputStream *input) + { + unsigned imageId = readU32(input); + input->seek(50, WPX_SEEK_CUR); +--- misc/libcdr-0.0.3/src/lib/CDRParser.h 2012-02-09 08:36:51.000000000 +0100 ++++ misc/build/libcdr-0.0.3/src/lib/CDRParser.h 2012-02-23 13:45:50.667974573 +0100 +@@ -70,7 +70,7 @@ + void readPath(WPXInputStream *input); + void readPolygonCoords(WPXInputStream *input); + void readPolygonTransform(WPXInputStream *input); +- void readBmp(WPXInputStream *input, unsigned length); ++ void readBmp(WPXInputStream *input); + + WPXInputStream *m_input; + CDRCollector *m_collector; diff --git a/libcdr/libcdr-0.0.3.patch b/libcdr/libcdr-0.0.3.patch new file mode 100644 index 000000000000..53bc613f2ff6 --- /dev/null +++ b/libcdr/libcdr-0.0.3.patch @@ -0,0 +1,34 @@ +--- misc/libcdr-0.0.3/src/lib/libcdr_utils.h ++++ misc/build/libcdr-0.0.3/src/lib/libcdr_utils.h +@@ -41,17 +41,8 @@ + + #else + +-#ifdef HAVE_CONFIG_H +-#include <config.h> +-#endif +- +-#ifdef HAVE_STDINT_H + #include <stdint.h> +-#endif +- +-#ifdef HAVE_INTTYPES_H + #include <inttypes.h> +-#endif + + #endif + +--- misc/libcdr-0.0.3/src/lib/makefile.mk ++++ misc/build/libcdr-0.0.3/src/lib/makefile.mk +@@ -28,6 +28,10 @@ + INCPRE+=$(SOLARVER)$/$(INPATH)$/inc$/libwpg + .ENDIF + ++.IF "$(SYSTEM_ZLIB)" != "YES" ++INCPRE+=-I$(SOLARVER)$/$(INPATH)$/inc$/external/zlib ++.ENDIF ++ + SLOFILES= \ + $(SLO)$/CDRCollector.obj \ + $(SLO)$/CDRDocument.obj \ + diff --git a/libcdr/libcdr-0.0.4.patch b/libcdr/libcdr-0.0.4.patch deleted file mode 100644 index 9e9079d62e26..000000000000 --- a/libcdr/libcdr-0.0.4.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- misc/libcdr-0.0.4/src/lib/libcdr_utils.h 2012-03-07 13:51:21.000000000 +0100 -+++ misc/build/libcdr-0.0.4/src/lib/libcdr_utils.h 2012-03-08 12:46:38.194534604 +0100 -@@ -54,17 +54,8 @@ - - #else - --#ifdef HAVE_CONFIG_H --#include <config.h> --#endif -- --#ifdef HAVE_STDINT_H - #include <stdint.h> --#endif -- --#ifdef HAVE_INTTYPES_H - #include <inttypes.h> --#endif - - #endif - diff --git a/libcdr/makefile.mk b/libcdr/makefile.mk index b6712884b5b5..18e73ed1de7d 100644 --- a/libcdr/makefile.mk +++ b/libcdr/makefile.mk @@ -27,8 +27,8 @@ PRJ=. -PRJNAME=cdr -TARGET=cdr +PRJNAME=visio +TARGET=visio # --- Settings ----------------------------------------------------- @@ -41,7 +41,7 @@ TARGET=cdr @echo "Using system libcdr..." .ENDIF -# libcdr depends on the libwpd, libwpg and lcms2 +# libcdr depends on the libwpd and libwpg .IF "$(SYSTEM_LIBWPD)" == "YES" INCPRE+=$(WPD_CFLAGS) .ELSE @@ -53,17 +53,13 @@ INCPRE+=$(WPG_CFLAGS) .ELSE INCPRE+=$(SOLARVER)$/$(INPATH)$/inc$/libwpg .ENDIF -.IF "$(SYSTEM_LCMS2)" == "YES" -INCPRE+=$(LCMS2_CFLAGS) -.ELSE -INCPRE+=$(SOLARVER)$/$(INPATH)$/inc$/lcms2 -.ENDIF -TARFILE_NAME=libcdr-0.0.4 -TARFILE_MD5=6b39b6b799b0fde2b6045a9acede6d0a +TARFILE_NAME=libcdr-0.0.3 +TARFILE_MD5=e5f1ef00a113d2edfd88af616934f293 PATCH_FILES=\ - $(TARFILE_NAME).patch + $(TARFILE_NAME).patch \ + $(TARFILE_NAME)-warning.patch BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS) BUILD_DIR=src$/lib |