SHA256
10
0
forked from pool/plplot
Files
plplot/plplot-libharu-version-check.patch
Atri Bhattacharya b4667f36e5 Accepting request 1095385 from home:badshah400:branches:science
- Adapt specfile to build plplot against multiple python flavours.
- Set $HOME to current dir during %check to ensure fontconfig does not complain about un-writable cache dirs.
- Add plplot-libharu-version-check.patch: Fix check for libharu version when configuring build with cmake.
- New subpackages: plplot-driver-pdf, plplot-pyqt5-cmake.
- Make doc package noarch.

OBS-URL: https://build.opensuse.org/request/show/1095385
OBS-URL: https://build.opensuse.org/package/show/science/plplot?expand=0&rev=147
2023-06-29 08:13:32 +00:00

13 lines
436 B
Diff

Index: plplot-5.15.0/cmake/modules/pdf.cmake
===================================================================
--- plplot-5.15.0.orig/cmake/modules/pdf.cmake
+++ plplot-5.15.0/cmake/modules/pdf.cmake
@@ -47,6 +47,7 @@ if(PLD_pdf)
# Determine that version in cross-platform way.
set(check_libharu_version_source "
#include \"hpdf.h\"
+#include \"hpdf_version.h\"
int main(void)
{
// True if version is 2.3.0 or later....