SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
x11/xplanet/patches/patch-src_libmultiple_drawStars_cpp
Normal file
14
x11/xplanet/patches/patch-src_libmultiple_drawStars_cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
error: invalid operands to binary expression ('std::__1::basic_istream<char>' and 'nullptr_t')
|
||||
|
||||
Index: src/libmultiple/drawStars.cpp
|
||||
--- src/libmultiple/drawStars.cpp.orig
|
||||
+++ src/libmultiple/drawStars.cpp
|
||||
@@ -41,7 +41,7 @@ drawStars(DisplayBase *display, View *view)
|
||||
ifstream inFile(starMap.c_str());
|
||||
|
||||
char line[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
|
||||
{
|
||||
if (line[0] == '#') continue;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue