summaryrefslogtreecommitdiff
path: root/dev-libs/xerces-c/files/xerces-c-3.2.2-fix-XERCESC-2163.patch
blob: 50db010bf5eed48172fe5b60888fde59840b1b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
https://bugs.gentoo.org/673548
https://bugs.gentoo.org/738140
https://bugs.gentoo.org/913045

https://issues.apache.org/jira/browse/XERCESC-2163
https://github.com/apache/xerces-c/pull/7

From db7a8b0cd2a163de1e3ef8c950cf9e708b0b5f98 Mon Sep 17 00:00:00 2001
From: Craig Andrews <candrews@integralblue.com>
Date: Wed, 2 Jan 2019 15:01:21 -0500
Subject: [PATCH] build: Install XercesMessages_en_US.cat to
 /usr/share/xerces-c/msg

Fixes XERCESC-2163
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1198,7 +1198,7 @@ if(XERCES_USE_MSGLOADER_ICONV)
 
   install(
     FILES "${RESTARGET}"
-    DESTINATION "${CMAKE_INSTALL_PREFIX}/msg"
+    DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/xerces-c/msg"
     COMPONENT "runtime")
 endif()