summaryrefslogtreecommitdiff
path: root/libraries/flatbuffers/flatbuffers.patch
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2017-01-05 23:01:19 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-07 08:48:06 +0700
commit4bcd5ac115d993716656d8ac3019f7ebd625a8a4 (patch)
tree8fab5cd4cafff95555f4a309bccc08766cfd42a9 /libraries/flatbuffers/flatbuffers.patch
parent0d2fdb0eef5a0c3a63be7339575c14e43aa59add (diff)
downloadslackbuilds-4bcd5ac115d993716656d8ac3019f7ebd625a8a4.tar.gz
libraries/flatbuffers: Added (cross platform serialization library).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/flatbuffers/flatbuffers.patch')
-rw-r--r--libraries/flatbuffers/flatbuffers.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/libraries/flatbuffers/flatbuffers.patch b/libraries/flatbuffers/flatbuffers.patch
new file mode 100644
index 0000000000..ffa0a99208
--- /dev/null
+++ b/libraries/flatbuffers/flatbuffers.patch
@@ -0,0 +1,19 @@
+diff -ur flatbuffers-1.5.0.old/CMakeLists.txt flatbuffers-1.5.0/CMakeLists.txt
+--- flatbuffers-1.5.0.old/CMakeLists.txt 2017-01-03 20:56:44.000000000 -0200
++++ flatbuffers-1.5.0/CMakeLists.txt 2017-01-05 18:41:09.742061141 -0200
+@@ -224,13 +224,13 @@
+ if(FLATBUFFERS_INSTALL)
+ install(DIRECTORY include/flatbuffers DESTINATION include)
+ if(FLATBUFFERS_BUILD_FLATLIB)
+- install(TARGETS flatbuffers DESTINATION lib)
++ install(TARGETS flatbuffers DESTINATION lib${LIB_SUFFIX})
+ endif()
+ if(FLATBUFFERS_BUILD_FLATC)
+ install(TARGETS flatc DESTINATION bin)
+ endif()
+ if(FLATBUFFERS_BUILD_SHAREDLIB)
+- install(TARGETS flatbuffers_shared DESTINATION lib)
++ install(TARGETS flatbuffers_shared DESTINATION lib${LIB_SUFFIX})
+ endif()
+ endif()
+