aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-18 18:44:31 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-18 18:44:31 +0000
commit87a909443258e7e5db8af532e8d59ac972edf74b (patch)
treeb206a2fb0c01cf6185ea312f60639705cbcc3fb9 /graphics
parent8ec24df1c49500f27409590cb79ff726631d8a25 (diff)
downloadports-87a909443258e7e5db8af532e8d59ac972edf74b.tar.gz
ports-87a909443258e7e5db8af532e8d59ac972edf74b.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/vertex/files/patch-disk.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/vertex/files/patch-disk.cpp b/graphics/vertex/files/patch-disk.cpp
new file mode 100644
index 000000000000..43d55aa15a12
--- /dev/null
+++ b/graphics/vertex/files/patch-disk.cpp
@@ -0,0 +1,27 @@
+--- vertex/disk.cpp.orig Mon Nov 1 12:34:51 2004
++++ vertex/disk.cpp Tue Jun 19 01:39:05 2007
+@@ -112,11 +112,7 @@
+ if(strptr == NULL)
+ {
+ /* No drive notation, check if first char is a '\\' */
+-#if defined(__cplusplus) || defined(c_plusplus)
+ while(ISBLANK(*path))
+-#else
+- while(ISBLANK((int)(*path)))
+-#endif
+ path++;
+
+ return(*path == '\\');
+@@ -130,12 +126,7 @@
+ if(path == NULL)
+ return(0);
+
+- // Dan S: typecast is due to const.
+-#if defined(__cplusplus) || defined(c_plusplus)
+- while(ISBLANK(reinterpret_cast<char>(*path)))
+-#else
+ while(ISBLANK(*path))
+-#endif
+ path++;
+
+ return(*path == DIR_DELIMINATOR);