aboutsummaryrefslogtreecommitdiff
path: root/audio/gnump3d/files/patch-src_theme.cc
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gnump3d/files/patch-src_theme.cc')
-rw-r--r--audio/gnump3d/files/patch-src_theme.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/audio/gnump3d/files/patch-src_theme.cc b/audio/gnump3d/files/patch-src_theme.cc
deleted file mode 100644
index f469eae0b7e6..000000000000
--- a/audio/gnump3d/files/patch-src_theme.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-
-$FreeBSD$
-
---- src/theme.cc.orig Tue Aug 13 21:56:19 2002
-+++ src/theme.cc Tue Aug 13 21:56:46 2002
-@@ -123,11 +123,11 @@
- /*
- * Make sure there's no directory traversal in the theme name.
- */
-- if ( m_theme.find( ".." ) != (unsigned int)-1 )
-+ if ( m_theme.find( ".." ) != std::string::npos )
- {
- return 0;
- }
-- if ( m_theme.find( "/" ) != (unsigned int)-1 )
-+ if ( m_theme.find( "/" ) != std::string::npos )
- {
- return 0;
- }