cadabra2/cadabra2-include-functional-header.patch
Atri Bhattacharya 84b0a9094b Accepting request 506113 from home:badshah400:branches:science
- Add cadabra2-include-functional-header.patch: Explicitly include
  the <functional> header in core/Functional.hh to fix building on
  openSUSE > 1320; apply without conditionals as it doesn't hurt
  to have this generally.

OBS-URL: https://build.opensuse.org/request/show/506113
OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=2
2017-06-28 12:54:46 +00:00

13 lines
293 B
Diff

Index: cadabra2-2.1.4/core/Functional.hh
===================================================================
--- cadabra2-2.1.4.orig/core/Functional.hh
+++ cadabra2-2.1.4/core/Functional.hh
@@ -1,6 +1,7 @@
#pragma once
+#include <functional>
#include "Storage.hh"
namespace cadabra {