RJVB / macstrop

RJVB's repository of alternative macports, with ports missing from or overriding those in the standard collection, including a set of KF5 ports.
20 stars 9 forks source link

"#elseif" is not a valid directive #5

Closed tfry-git closed 7 years ago

tfry-git commented 7 years ago
diff --git a/aqua/qt5-kde/files/qt580/patch-define-qtnoexceptions.diff b/aqua/qt5-kde/files/qt580/patch-define-qtnoexceptions.diff
index 7e95caa4..9f0efc19 100644
--- a/aqua/qt5-kde/files/qt580/patch-define-qtnoexceptions.diff
+++ b/aqua/qt5-kde/files/qt580/patch-define-qtnoexceptions.diff
@@ -27,7 +27,7 @@ index 3217691..36f1cae 100644
 +      (defined(Q_CC_GNU) && !defined(__EXCEPTIONS))
  #    define QT_NO_EXCEPTIONS
  #  endif
-+#elseif defined(QT_BOOTSTRAPPED)
++#elif defined(QT_BOOTSTRAPPED)
 +#  define QT_NO_EXCEPTIONS
  #endif
RJVB commented 7 years ago

Oops, thanks. Fixed (hopefully) by backporting the official patch I landed in Qt 5.9 .