[PATCH libreoffice-4-0] libcdr: fix build with MSVC2008

Michael Stahl (via Code Review) gerrit at gerrit.libreoffice.org
Thu May 30 14:12:21 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4109

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/09/4109/1

libcdr: fix build with MSVC2008

Change-Id: I70731e13ab4ef0d6eadd803b8f6a24f565be5346
---
M libcdr/UnpackedTarball_cdr.mk
A libcdr/msvc2008.patch.1
2 files changed, 17 insertions(+), 0 deletions(-)



diff --git a/libcdr/UnpackedTarball_cdr.mk b/libcdr/UnpackedTarball_cdr.mk
index be1e7d7..8affb0b 100644
--- a/libcdr/UnpackedTarball_cdr.mk
+++ b/libcdr/UnpackedTarball_cdr.mk
@@ -11,4 +11,8 @@
 
 $(eval $(call gb_UnpackedTarball_set_tarball,cdr,$(CDR_TARBALL)))
 
+$(eval $(call gb_UnpackedTarball_add_patches,cdr,\
+	libcdr/msvc2008.patch.1 \
+))
+
 # vim: set noet sw=4 ts=4:
diff --git a/libcdr/msvc2008.patch.1 b/libcdr/msvc2008.patch.1
new file mode 100644
index 0000000..27e327a
--- /dev/null
+++ b/libcdr/msvc2008.patch.1
@@ -0,0 +1,13 @@
+Fix broken MSVC 2008 project file
+
+--- cdr/build/win32/libcdr.vcproj	2013-05-30 17:36:43.084800000 +0200
++++ cdr/build/win32/libcdr.vcproj	2013-05-30 17:36:52.710000000 +0200
+@@ -217,7 +217,7 @@
+ 				</FileConfiguration>
+ 			</File>
+ 			<File
+-				RelativePath="..\..\inc\libcdr\CDRDocument.cpp"
++				RelativePath="..\..\src\lib\CDRDocument.cpp"
+ 				>
+ 				<FileConfiguration
+ 					Name="Debug|Win32"

-- 
To view, visit https://gerrit.libreoffice.org/4109
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I70731e13ab4ef0d6eadd803b8f6a24f565be5346
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Michael Stahl <mstahl at redhat.com>



More information about the LibreOffice mailing list