[arch-commits] Commit in mixxx/trunk (PKGBUILD mixxx-remove-sqlite-typedef.patch)
Antonio Rojas
arojas at archlinux.org
Fri Oct 20 19:28:20 UTC 2017
Date: Friday, October 20, 2017 @ 19:28:19
Author: arojas
Revision: 263752
protobuf 3.4.0 rebuild
Added:
mixxx/trunk/mixxx-remove-sqlite-typedef.patch
Modified:
mixxx/trunk/PKGBUILD
-----------------------------------+
PKGBUILD | 9 ++++++---
mixxx-remove-sqlite-typedef.patch | 27 +++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-20 19:06:47 UTC (rev 263751)
+++ PKGBUILD 2017-10-20 19:28:19 UTC (rev 263752)
@@ -5,7 +5,7 @@
pkgname=mixxx
pkgver=2.0.0
-pkgrel=11
+pkgrel=12
pkgdesc="Free, open source software for digital DJ'ing."
arch=('i686' 'x86_64')
url='http://www.mixxx.org'
@@ -17,11 +17,13 @@
source=("https://downloads.mixxx.org/${pkgname}-${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
mixxx-2.0.0-gcc-6.patch
mixxx-2.0.0-chromaprint-1.4.0.patch
- mixxx-2.0.0-build.patch)
+ mixxx-2.0.0-build.patch
+ mixxx-remove-sqlite-typedef.patch)
md5sums=('5520a2f110f1078197d2ff914ccca37a'
'957245cf7a06e57d42fb7f8e3421a934'
'9aa411ccc9e72b27860858ac68104f2b'
- '0da474abaf9eb50cfdcdc449854a6772')
+ '0da474abaf9eb50cfdcdc449854a6772'
+ '5cbc4f21a5ff8e477a986af015f1ed31')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -28,6 +30,7 @@
patch -p1 -i ../mixxx-2.0.0-gcc-6.patch
patch -p1 -i ../mixxx-2.0.0-chromaprint-1.4.0.patch
patch -p1 -i ../mixxx-2.0.0-build.patch
+ patch -p1 -i ../mixxx-remove-sqlite-typedef.patch # rpmfusion
}
build() {
Added: mixxx-remove-sqlite-typedef.patch
===================================================================
--- mixxx-remove-sqlite-typedef.patch (rev 0)
+++ mixxx-remove-sqlite-typedef.patch 2017-10-20 19:28:19 UTC (rev 263752)
@@ -0,0 +1,27 @@
+--- a/src/library/trackcollection.cpp
++++ b/src/library/trackcollection.cpp
+@@ -2,10 +2,6 @@
+ #include <QtDebug>
+
+ #include "library/trackcollection.h"
+-
+-#ifdef __SQLITE3__
+-#include <sqlite3.h>
+-#endif
+
+ #include "library/librarytablemodel.h"
+ #include "library/schemamanager.h"
+
+--- a/src/library/trackcollection.h
++++ b/src/library/trackcollection.h
+@@ -34,8 +34,7 @@
+ #include "library/dao/libraryhashdao.h"
+
+ #ifdef __SQLITE3__
+-typedef struct sqlite3_context sqlite3_context;
+-typedef struct Mem sqlite3_value;
++#include <sqlite3.h>
+ #endif
+
+ class TrackInfoObject;
+
More information about the arch-commits
mailing list