Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ed8f770c438a6ae60c606bf8baa78eeb3b80ebb4

commit ed8f770c438a6ae60c606bf8baa78eeb3b80ebb4
Author: Exceed <exceed.ced...@gmail.com>
Date:   Sun Jun 21 23:57:52 2009 +0000

libgig-3.2.1-1-i686

* New package

diff --git a/source/lib-extra/libgig/FrugalBuild 
b/source/lib-extra/libgig/FrugalBuild
new file mode 100644
index 0000000..d9e0b9c
--- /dev/null
+++ b/source/lib-extra/libgig/FrugalBuild
@@ -0,0 +1,20 @@
+# Compiling Time: 0.06 SBU
+# Maintainer: Miklos Vajna <vmik...@frugalware.org>
+# Contributor: exceed <exceed.ced...@gmail.com>
+
+pkgname=libgig
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="Gigasampler file access library from Linux Sampler project"
+url="http://www.linuxsampler.org";
+depends=('libsndfile' 'audiofile')
+groups=('lib-extra')
+archs=('i686')
+up2date="Flasttar http://download.linuxsampler.org/packages/";
+source=(http://download.linuxsampler.org/packages/$pkgname-$pkgver.tar.bz2\
+       gcc43.patch)
+sha1sums=('6abee09284e06f75e3fe403b9c93c41b231bd59d' \
+          '923f90446472fb3a1e9739d517654f210619de76')
+unset MAKEFLAGS
+
+# optimization OK
diff --git a/source/lib-extra/libgig/gcc43.patch 
b/source/lib-extra/libgig/gcc43.patch
new file mode 100644
index 0000000..b651888
--- /dev/null
+++ b/source/lib-extra/libgig/gcc43.patch
@@ -0,0 +1,32 @@
+diff -aur libgig-3.2.1-orig/src/DLS.cpp libgig-3.2.1/src/DLS.cpp
+--- libgig-3.2.1-orig/src/DLS.cpp      2008-06-24 13:35:32.000000000 +0200
++++ libgig-3.2.1/src/DLS.cpp   2008-06-24 13:37:23.000000000 +0200
+@@ -24,6 +24,7 @@
+ #include "DLS.h"
+
+ #include <time.h>
++#include <algorithm>
+
+ #ifdef __APPLE__
+ #include <CoreFoundation/CFUUID.h>
+diff -aur libgig-3.2.1-orig/src/gig.cpp libgig-3.2.1/src/gig.cpp
+--- libgig-3.2.1-orig/src/gig.cpp      2008-06-24 13:35:32.000000000 +0200
++++ libgig-3.2.1/src/gig.cpp   2008-06-24 13:36:57.000000000 +0200
+@@ -27,6 +27,7 @@
+
+ #include <math.h>
+ #include <iostream>
++#include <algorithm>
+
+ /// Initial size of the sample buffer which is used for decompression of
+ /// compressed sample wave streams - this value should always be bigger than
+diff -aur libgig-3.2.1-orig/src/RIFF.cpp libgig-3.2.1/src/RIFF.cpp
+--- libgig-3.2.1-orig/src/RIFF.cpp     2008-06-24 13:35:32.000000000 +0200
++++ libgig-3.2.1/src/RIFF.cpp  2008-06-24 13:36:40.000000000 +0200
+@@ -22,6 +22,7 @@
+  ***************************************************************************/
+
+ #include <string.h>
++#include <algorithm>
+
+ #include "RIFF.h"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to