Files
macports-ports/databases/xbase/files/fix-extension-comparison.patch
Ryan Schmidt 51af7fc1a0 xbase: Fix compile failure with clang 8
Also fixes various other problems discovered while working on that.

Add upstream bug report URLs to existing patches where I could find them.
2019-10-01 22:27:41 -05:00

13 lines
400 B
Diff

Fix "warning: using the result of an assignment as a condition without parentheses"
--- xbase64/xbmemo.cpp.orig 2006-07-17 11:54:42.000000000 -0500
+++ xbase64/xbmemo.cpp 2019-10-01 22:11:36.000000000 -0500
@@ -255,7 +255,7 @@
if (ext == "DBF")
MemofileName += "FPT";
else
- if (ext = "dbf")
+ if (ext == "dbf")
MemofileName += "fpt";
else
return XB_INVALID_NAME;