openbsd-ports/x11/kde/sdk3/patches/patch-kompare_libdiff2_kompareprocess_cpp
2008-03-26 13:22:22 +00:00

17 lines
492 B
Plaintext

$OpenBSD: patch-kompare_libdiff2_kompareprocess_cpp,v 1.2 2008/03/26 13:22:22 espie Exp $
--- kompare/libdiff2/kompareprocess.cpp.orig Wed Feb 13 10:38:00 2008
+++ kompare/libdiff2/kompareprocess.cpp Wed Mar 26 12:14:07 2008
@@ -120,7 +120,11 @@ void KompareProcess::writeCommandLine()
break;
}
- if ( m_diffSettings->m_largeFiles )
+ if ( m_diffSettings->m_largeFiles
+#if defined(__OpenBSD__)
+ && !m_diffSettings->m_diffProgram.isEmpty()
+#endif
+ )
{
*this << "-H";
}