Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.0 KiB

diff -Naur libffado-2.1.0.orig/src/bebob/bebob_dl_mgr.cpp libffado-2.1.0/src/bebob/bebob_dl_mgr.cpp
--- libffado-2.1.0.orig/src/bebob/bebob_dl_mgr.cpp 2012-07-06 15:31:48.000000000 +0200
+++ libffado-2.1.0/src/bebob/bebob_dl_mgr.cpp 2013-08-18 13:03:14.470057466 +0200
@@ -36,6 +36,7 @@
#include <cstdio>
#include <cstring>
#include <unistd.h>
+#include <memory>
namespace BeBoB {
enum {
diff -Naur libffado-2.1.0.orig/src/ffadodevice.h libffado-2.1.0/src/ffadodevice.h
--- libffado-2.1.0.orig/src/ffadodevice.h 2012-03-08 14:27:34.000000000 +0100
+++ libffado-2.1.0/src/ffadodevice.h 2013-08-18 13:02:52.717280476 +0200
@@ -34,6 +34,7 @@
#include <vector>
#include <string>
+#include <memory>
class DeviceManager;
class ConfigRom;
diff -Naur libffado-2.1.0.orig/src/libutil/serialize.h libffado-2.1.0/src/libutil/serialize.h
--- libffado-2.1.0.orig/src/libutil/serialize.h 2008-06-08 16:34:59.000000000 +0200
+++ libffado-2.1.0/src/libutil/serialize.h 2013-08-18 13:09:12.560470156 +0200
@@ -26,10 +26,6 @@
-#if SERIALIZE_USE_EXPAT
- #include "serialize_expat.h"
-#else
- #include "serialize_libxml.h"
-#endif
+#include "serialize_expat.h"
#endif
diff -Naur libffado-2.1.0.orig/src/libutil/serialize_expat.cpp libffado-2.1.0/src/libutil/serialize_expat.cpp
--- libffado-2.1.0.orig/src/libutil/serialize_expat.cpp 2009-12-19 17:12:53.000000000 +0100
+++ libffado-2.1.0/src/libutil/serialize_expat.cpp 2013-08-18 13:04:30.626298133 +0200
@@ -21,10 +21,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
- // FOR CACHE_VERSION
+#include <version.h> // FOR CACHE_VERSION
#include "serialize.h"
+#include <cstdlib>
+
using namespace std;
diff -Naur libffado-2.1.0.orig/tests/scan-devreg.cpp libffado-2.1.0/tests/scan-devreg.cpp
--- libffado-2.1.0.orig/tests/scan-devreg.cpp 2009-07-23 13:12:27.000000000 +0200
+++ libffado-2.1.0/tests/scan-devreg.cpp 2013-08-18 13:04:47.254132147 +0200
@@ -36,6 +36,7 @@
#include <cstdlib>
#include <iostream>
#include <cstring>
+#include <memory>
using namespace std;