Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Bearcat M. Sandor (d2ebec6ad5334c84ee4f3da8ce8dfe96a6a87178)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: "Bearcat M. Sandor" <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Bearcat M. Sandor (d2ebec6ad5334c84ee4f3da8ce8dfe96a6a87178)
  • Date: Sun, 8 Mar 2009 16:47:59 -0500

GIT changes to master grimoire by Bearcat M. Sandor
<bearcat AT linux.feline-soul.net>:

audio-players/xmms2/HISTORY | 3 +++
audio-players/xmms2/PRE_BUILD | 1 +
audio-players/xmms2/helpers_path_max.patch | 15 +++++++++++++++
3 files changed, 19 insertions(+)

New commits:
commit d2ebec6ad5334c84ee4f3da8ce8dfe96a6a87178
Author: Bearcat M. Sandor <bearcat AT linux.feline-soul.net>
Commit: Bearcat M. Sandor <bearcat AT linux.feline-soul.net>

added a patch to make xmms2 stable compile. There was a syntax error in
the code.

diff --git a/audio-players/xmms2/HISTORY b/audio-players/xmms2/HISTORY
index dc8b5d4..717383b 100644
--- a/audio-players/xmms2/HISTORY
+++ b/audio-players/xmms2/HISTORY
@@ -1,3 +1,6 @@
+2009-03-08 Bearcat M. Sandor <sourcemage AT feline-soul.com>
+ * PRE_BUILD: added patch to fix syntax error for stable builds
+
2008-11-20 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* DEPENDS: removed avformat no longer included

diff --git a/audio-players/xmms2/PRE_BUILD b/audio-players/xmms2/PRE_BUILD
index d01d3d2..d410d0f 100755
--- a/audio-players/xmms2/PRE_BUILD
+++ b/audio-players/xmms2/PRE_BUILD
@@ -5,3 +5,4 @@ cd xmms* &&
echo -e "#!/bin/sh\ncd xmms*\n./waf configure --help" > ../configure &&
chmod +x ../configure &&
patch -p0 < $SPELL_DIRECTORY/fix_flags.diff
+patch -p1 < $SPELL_DIRECTORY/helpers_path_max.patch
diff --git a/audio-players/xmms2/helpers_path_max.patch
b/audio-players/xmms2/helpers_path_max.patch
new file mode 100644
index 0000000..7cdf16f
--- /dev/null
+++ b/audio-players/xmms2/helpers_path_max.patch
@@ -0,0 +1,15 @@
+diff --git a/src/include/xmmsclient/xmmsclient++/helpers.h
b/src/include/xmmsclient/xmmsclient++/helpers.h
+index b131575..f237231 100644
+--- a/src/include/xmmsclient/xmmsclient++/helpers.h
++++ b/src/include/xmmsclient/xmmsclient++/helpers.h
+@@ -44,8 +44,8 @@ namespace Xmms
+ */
+ inline std::string getUserConfDir() {
+
+- char buf[PATH_MAX] = { '\0' };
+- if( !xmmsc_userconfdir_get( buf, PATH_MAX ) ) {
++ char buf[XMMS_PATH_MAX] = { '\0' };
++ if( !xmmsc_userconfdir_get( buf, XMMS_PATH_MAX ) ) {
+ throw Xmms::result_error( "Error occured when trying
to get "
+ "user config directory." );
+ }



  • [SM-Commit] GIT changes to master grimoire by Bearcat M. Sandor (d2ebec6ad5334c84ee4f3da8ce8dfe96a6a87178), Bearcat M. Sandor, 03/08/2009

Archive powered by MHonArc 2.6.24.

Top of Page