summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Puskas <zoltan@sinustrom.info>2018-09-23 13:59:45 +0100
committerVirgil Dupras <vdupras@gentoo.org>2018-09-27 09:37:32 -0400
commit2e9d688fa4b08833f3c130a41d3e1369cfaf4edc (patch)
treee637596c9ba76f0ba5076246252d9461fc691ab1 /sci-electronics/kicad/files/kicad-5.0.0-curl.patch
parentapp-i18n/man-pages-ru: drop old (diff)
downloadgentoo-2e9d688fa4b08833f3c130a41d3e1369cfaf4edc.tar.gz
gentoo-2e9d688fa4b08833f3c130a41d3e1369cfaf4edc.tar.bz2
gentoo-2e9d688fa4b08833f3c130a41d3e1369cfaf4edc.zip
sci-electronics/kicad: Add USE=occ,openmp, fix curl dependency
Thanks to Fabio Rossi for the authorship of the patch. Closes: https://bugs.gentoo.org/665500 Package-Manager: Portage-2.3.48, Repoman-2.3.10 Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info> Closes: https://github.com/gentoo/gentoo/pull/9955 Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Diffstat (limited to 'sci-electronics/kicad/files/kicad-5.0.0-curl.patch')
-rw-r--r--sci-electronics/kicad/files/kicad-5.0.0-curl.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-electronics/kicad/files/kicad-5.0.0-curl.patch b/sci-electronics/kicad/files/kicad-5.0.0-curl.patch
new file mode 100644
index 00000000000..c99071c0a54
--- /dev/null
+++ b/sci-electronics/kicad/files/kicad-5.0.0-curl.patch
@@ -0,0 +1,23 @@
+--- a/common/CMakeLists.txt.old 2018-09-13 16:21:29.642915273 +0200
++++ a/common/CMakeLists.txt 2018-09-13 16:23:25.146914833 +0200
+@@ -337,14 +337,17 @@
+ list( APPEND COMMON_SRCS strtok_r.c )
+ endif()
+
++if( BUILD_GITHUB_PLUGIN )
++ list( APPEND COMMON_SRCS
++ kicad_curl/kicad_curl.cpp
++ kicad_curl/kicad_curl_easy.cpp
++ )
++endif()
+
+ set( COMMON_SRCS
+ ${COMMON_SRCS}
+ system/libcontext.cpp
+
+- kicad_curl/kicad_curl.cpp
+- kicad_curl/kicad_curl_easy.cpp
+-
+ view/view.cpp
+ view/view_item.cpp
+ view/view_group.cpp