summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/ngspice/files/ngspice-27-blt_linkage_workaround.patch')
-rw-r--r--sci-electronics/ngspice/files/ngspice-27-blt_linkage_workaround.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-electronics/ngspice/files/ngspice-27-blt_linkage_workaround.patch b/sci-electronics/ngspice/files/ngspice-27-blt_linkage_workaround.patch
new file mode 100644
index 00000000000..53415c748d6
--- /dev/null
+++ b/sci-electronics/ngspice/files/ngspice-27-blt_linkage_workaround.patch
@@ -0,0 +1,12 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -461,6 +461,9 @@
+ AC_MSG_ERROR([Couldn't find BLT])
+ fi
+ rm -f conftest.tcl
++
++ AC_SEARCH_LIBS([Blt_GetVector], [BLT BLT24 BLT25],,
++ [AC_MSG_ERROR([Couldnt find BLT library.])])
+
+ AC_CHECK_LIB([pthread], [pthread_create])
+