office-gobmx/libcdr/libcdr-0.0.2.patch
2012-02-10 10:25:49 +01:00

34 lines
642 B
Diff

--- misc/libcdr-0.0.2/src/lib/libcdr_utils.h
+++ misc/build/libcdr-0.0.2/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.2/src/lib/makefile.mk
+++ misc/build/libcdr-0.0.2/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)$/CDRDocument.obj \
$(SLO)$/CDRInternalStream.obj \