rpms/audacity/devel audacity-1.3.4-gcc43.patch,1.1.2.3,1.1.2.4

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sat Mar 22 00:29:39 UTC 2008


Author: mschwendt

Update of /cvs/pkgs/rpms/audacity/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29431

Modified Files:
      Tag: audacity-1_3_4-test
	audacity-1.3.4-gcc43.patch 
Log Message:
another gcc43 fix needed for vamp-sdk - try another scratch build...

audacity-1.3.4-gcc43.patch:

Index: audacity-1.3.4-gcc43.patch
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/devel/Attic/audacity-1.3.4-gcc43.patch,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- audacity-1.3.4-gcc43.patch	22 Mar 2008 00:15:21 -0000	1.1.2.3
+++ audacity-1.3.4-gcc43.patch	22 Mar 2008 00:29:27 -0000	1.1.2.4
@@ -12,3 +12,34 @@
  //#define DEBUG_PLUGIN_ADAPTER 1
  
  
+diff -Nur audacity-src-1.3.4-beta-orig/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp audacity-src-1.3.4-beta/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp
+--- audacity-src-1.3.4-beta-orig/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp	2008-01-23 18:32:54.000000000 +0100
++++ audacity-src-1.3.4-beta/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp	2008-03-22 01:27:20.000000000 +0100
+@@ -36,6 +36,9 @@
+ 
+ #include "PluginHostAdapter.h"
+ 
++#include <cstdlib>
++
++
+ namespace Vamp
+ {
+ 
+@@ -63,7 +66,7 @@
+     std::vector<std::string> path;
+     std::string envPath;
+ 
+-    char *cpath = getenv("VAMP_PATH");
++    char *cpath = std::getenv("VAMP_PATH");
+     if (cpath) envPath = cpath;
+ 
+ #ifdef _WIN32
+@@ -80,7 +83,7 @@
+ 
+     if (envPath == "") {
+         envPath = DEFAULT_VAMP_PATH;
+-        char *chome = getenv("HOME");
++        char *chome = std::getenv("HOME");
+         if (chome) {
+             std::string home(chome);
+             std::string::size_type f;




More information about the fedora-extras-commits mailing list