Skip to content

Commit

Permalink
cad/horizon-eda: Fix build broken after the recent opencascade update
Browse files Browse the repository at this point in the history
Also change to llvm-12 (from llvm-10).

Reported by:	fallout
  • Loading branch information
yurivict committed Nov 16, 2021
1 parent 5718aa5 commit 32a412c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions cad/horizon-eda/Makefile
Expand Up @@ -4,6 +4,9 @@ DISTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= cad

PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= 0d801d4807cbed405998688b361bf0543207f1b1.patch:-p1 # fixes opencascade-7.6.0 compatibility, see https://github.com/horizon-eda/horizon/issues/623

MAINTAINER= yuri@FreeBSD.org
COMMENT= EDA package for printed circuit board design

Expand All @@ -25,15 +28,16 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libzmq.so:net/libzmq4

USES= gmake gnome localbase pkgconfig python:build sqlite # compiler:c++17-lang
USE_GNOME= atkmm gdkpixbuf2 gtkmm30 librsvg2

USE_GITHUB= yes
GH_PROJECT= horizon
USE_GNOME= atkmm gdkpixbuf2 gtkmm30 librsvg2

MAKE_ARGS= DEBUGFLAGS= OPTIMIZE=

BINARY_ALIAS= python3=${PYTHON_CMD}

LLVM_VER= 10 # workaround for bug#253551
LLVM_VER= 12 # workaround for bug#253551
BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
CPP= clang-cpp${LLVM_VER}
CC= clang${LLVM_VER}
Expand Down
4 changes: 3 additions & 1 deletion cad/horizon-eda/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1631174790
TIMESTAMP = 1637022213
SHA256 (horizon-eda-horizon-v2.1.0_GH0.tar.gz) = 2ba7a64ef0d8f22ad12e6a5a9c108f865eeb468f954f51ee5fbc03e6a847549a
SIZE (horizon-eda-horizon-v2.1.0_GH0.tar.gz) = 3140793
SHA256 (0d801d4807cbed405998688b361bf0543207f1b1.patch) = 64c0200aaf39e967d26d41634fea17db32f779449cd0a05197446e1a973b4d1f
SIZE (0d801d4807cbed405998688b361bf0543207f1b1.patch) = 2501

0 comments on commit 32a412c

Please sign in to comment.