Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37886950
en ru br
ALT Linux repos
S:8.3.0-alt1
5.0: 3.0.2-alt2
4.1: 3.0.0-alt1
4.0: 2.9.13-alt0.M40.1

Group :: Sciences/Mathematics
RPM: octave

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: octave-include-pcre.patch
Download


diff --git a/octave/liboctave/util/lo-regexp.cc b/octave/liboctave/util/lo-regexp.cc
index e2613e7..83d5f8d 100644
--- a/octave/liboctave/util/lo-regexp.cc
+++ b/octave/liboctave/util/lo-regexp.cc
@@ -31,10 +31,10 @@ along with Octave; see the file COPYING.  If not, see
 #include <string>
 #include <vector>
 
-#if defined (HAVE_PCRE_H)
-#  include <pcre.h>
-#elif defined (HAVE_PCRE_PCRE_H)
+#if defined (HAVE_PCRE_PCRE_H)
 #  include <pcre/pcre.h>
+#elif defined (HAVE_PCRE_H)
+#  include <pcre.h>
 #endif
 
 #include "Matrix.h"
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin