-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is an import of `png.h` that turns out to not be used. I have patched to remove this and SQuadGen now builds and runs without requiring `libpng`.
- Loading branch information
Showing
4 changed files
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff -ruN squadgen-1.2.1/src/SQuadGen.cpp squadgen-1.2.1-patch/src/SQuadGen.cpp | ||
--- squadgen-1.2.1/src/SQuadGen.cpp 2024-05-11 15:31:02.000000000 -0600 | ||
+++ squadgen-1.2.1-patch/src/SQuadGen.cpp 2024-05-12 11:20:44.022644614 -0600 | ||
@@ -14,7 +14,6 @@ | ||
/// or implied warranty. | ||
/// </remarks> | ||
|
||
-#include <png.h> | ||
#include "netcdfcpp.h" | ||
|
||
#include <string> | ||
@@ -195,7 +194,7 @@ | ||
if ((nRefinementLevel > 0) && | ||
((strRefineRect != "") || (strRefineFile != "") || (fLoadCSRefinementMap)) | ||
) { | ||
- int nCommandLineCount = | ||
+ int nCommandLineCount = | ||
((strRefineRect != "")?(1):(0)) | ||
+ ((strRefineFile != "")?(1):(0)) | ||
+ (fLoadCSRefinementMap?(1):(0)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters