mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Fix build on FreeBSD 7 (work with old scandir prototype)
For real this time. Submitted by: pavmail Approved by: maintainer (implicit), eadler (mentor)
This commit is contained in:
parent
7ad83a4877
commit
206d4071e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294763
@ -1,10 +1,10 @@
|
||||
Index: src/stdafx.cpp
|
||||
@@ -364,7 +364,7 @@
|
||||
|
||||
string findType;
|
||||
|
||||
-int file_select(const struct dirent *entry) {
|
||||
+int file_select(struct dirent *entry) {
|
||||
string name = entry->d_name;
|
||||
|
||||
transform( name.begin(), name.end(), name.begin(), ::toupper );
|
||||
|
||||
string findType;
|
||||
|
||||
-int file_select(const struct dirent *entry) {
|
||||
+int file_select(struct dirent *entry) {
|
||||
string name = entry->d_name;
|
||||
|
||||
transform( name.begin(), name.end(), name.begin(), ::toupper );
|
||||
|
Loading…
Reference in New Issue
Block a user