Browse Source

l/vamp-plugin-sdk: Updated for Slackware-13.1.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
fcd0ea2961
  1. 11
      l/vamp-plugin-sdk/vamp-plugin-sdk-2.1-sprintf.patch
  2. 7
      l/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild

11
l/vamp-plugin-sdk/vamp-plugin-sdk-2.1-sprintf.patch

@ -0,0 +1,11 @@
diff -Naur vamp-plugin-sdk-2.1.orig/examples/FixedTempoEstimator.cpp vamp-plugin-sdk-2.1/examples/FixedTempoEstimator.cpp
--- vamp-plugin-sdk-2.1.orig/examples/FixedTempoEstimator.cpp 2009-09-24 14:05:26.000000000 +0200
+++ vamp-plugin-sdk-2.1/examples/FixedTempoEstimator.cpp 2010-07-22 14:11:38.554135718 +0200
@@ -44,6 +44,7 @@
using Vamp::RealTime;
#include <cmath>
+#include <cstdio>
class FixedTempoEstimator::D

7
l/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009 Damien Goutte-Gattat
# Copyright (C) 2009,2010 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -35,8 +35,8 @@ WGET=${WGET:-http://puzzle.dl.sourceforge.net/project/vamp/vamp-plugin-sdk/$VERS
# Build infos
NAMEPKG=${NAMEPKG:-vamp-plugin-sdk}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i?86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -84,6 +84,7 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/vamp-plugin-sdk-2.1-sprintf.patch
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \

Loading…
Cancel
Save