svn commit: r349567 - head/www/vdr-plugin-live/files

Juergen Lock nox at FreeBSD.org
Sat Mar 29 17:05:48 UTC 2014


Author: nox
Date: Sat Mar 29 17:05:47 2014
New Revision: 349567
URL: http://svnweb.freebsd.org/changeset/ports/349567
QAT: https://qat.redports.org/buildarchive/r349567/

Log:
  Fix bug in #ifdef'd out code.

Modified:
  head/www/vdr-plugin-live/files/patch-live.cpp

Modified: head/www/vdr-plugin-live/files/patch-live.cpp
==============================================================================
--- head/www/vdr-plugin-live/files/patch-live.cpp	Sat Mar 29 16:58:59 2014	(r349566)
+++ head/www/vdr-plugin-live/files/patch-live.cpp	Sat Mar 29 17:05:47 2014	(r349567)
@@ -6,11 +6,11 @@
  {
 -	m_configDirectory = canonicalize_file_name(cPlugin::ConfigDirectory( PLUGIN_NAME_I18N ));
 +#ifdef __FreeBSD__
-+	char buf[PATH_MAX];
++	char buf[PATH_MAX], buf2[PATH_MAX];
 +
 +	m_configDirectory = realpath(cPlugin::ConfigDirectory( PLUGIN_NAME_I18N ), buf);
 +#if APIVERSNUM > 10729
-+	m_resourceDirectory = realpath(cPlugin::ResourceDirectory( PLUGIN_NAME_I18N ));
++	m_resourceDirectory = realpath(cPlugin::ResourceDirectory( PLUGIN_NAME_I18N ), buf2);
 +#endif
 +#else
 + 	m_configDirectory = canonicalize_file_name(cPlugin::ConfigDirectory( PLUGIN_NAME_I18N ));


More information about the svn-ports-all mailing list