aboutsummaryrefslogtreecommitdiffstats
path: root/games/drcreep
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2012-04-13 13:48:03 +0800
committerAlex Kozlov <ak@FreeBSD.org>2012-04-13 13:48:03 +0800
commit206d4071e180e7a9345a28fdb971475f5790fe2c (patch)
tree0da57b08318dd8dba428d8dc94d0ee522405daa2 /games/drcreep
parent7ad83a4877fc91ae59642f8f82040eca3bf7a5ee (diff)
downloadfreebsd-ports-gnome-206d4071e180e7a9345a28fdb971475f5790fe2c.tar.gz
freebsd-ports-gnome-206d4071e180e7a9345a28fdb971475f5790fe2c.tar.zst
freebsd-ports-gnome-206d4071e180e7a9345a28fdb971475f5790fe2c.zip
Fix build on FreeBSD 7 (work with old scandir prototype)
For real this time. Submitted by: pavmail Approved by: maintainer (implicit), eadler (mentor)
Diffstat (limited to 'games/drcreep')
-rw-r--r--games/drcreep/files/extra-patch-src_stdafx.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/games/drcreep/files/extra-patch-src_stdafx.cpp b/games/drcreep/files/extra-patch-src_stdafx.cpp
index fc219f4f212a..c49d378c1ae6 100644
--- a/games/drcreep/files/extra-patch-src_stdafx.cpp
+++ b/games/drcreep/files/extra-patch-src_stdafx.cpp
@@ -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 );