aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-16 10:32:49 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-16 10:32:49 +0000
commitd4f9cd7af9349c36c04815c8dcf5d530a885b5e8 (patch)
treee72c77230b2c6250899a555adb58ade28a63c00e /main
parent02643837a4b4cea2eab1973b9890cdaab5d8a44b (diff)
downloadaports-d4f9cd7af9349c36c04815c8dcf5d530a885b5e8.tar.bz2
aports-d4f9cd7af9349c36c04815c8dcf5d530a885b5e8.tar.xz
main/brlaser: add missing include
Diffstat (limited to 'main')
-rw-r--r--main/brlaser/9.patch21
-rw-r--r--main/brlaser/APKBUILD12
2 files changed, 29 insertions, 4 deletions
diff --git a/main/brlaser/9.patch b/main/brlaser/9.patch
new file mode 100644
index 0000000000..a4cdc88df3
--- /dev/null
+++ b/main/brlaser/9.patch
@@ -0,0 +1,21 @@
+From 93138fec87290ffbdd4919f313ea513eadca749c Mon Sep 17 00:00:00 2001
+From: Peter Spiess-Knafl <dev@spiessknafl.at>
+Date: Mon, 25 Apr 2016 15:02:37 +0200
+Subject: [PATCH] Add missing #include <string>
+
+---
+ src/brdecode.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/brdecode.cc b/src/brdecode.cc
+index d5c4c0d..bcd3ec7 100644
+--- a/src/brdecode.cc
++++ b/src/brdecode.cc
+@@ -21,6 +21,7 @@
+ #include <algorithm>
+ #include <exception>
+ #include <vector>
++#include <string>
+
+ namespace {
+
diff --git a/main/brlaser/APKBUILD b/main/brlaser/APKBUILD
index cde5054195..fd2eb82262 100644
--- a/main/brlaser/APKBUILD
+++ b/main/brlaser/APKBUILD
@@ -12,7 +12,8 @@ depends_dev=""
makedepends="$depends_dev cups-dev automake autoconf"
install=""
subpackages="$pkgname-doc"
-source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz"
+source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz
+ 9.patch"
_builddir="$srcdir"/brlaser-$pkgver
prepare() {
@@ -44,6 +45,9 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="89bc6a86770baa06aa96f21e588819ee brlaser-3.tar.gz"
-sha256sums="495059a3b93c9c7106f2f72b2d646b0ee794a6527120a8936cd493752250b2ee brlaser-3.tar.gz"
-sha512sums="79c4709e0db48fc4b359297f44c2ad35633e65210fdb941aea7a9a613de4d341319aaa7e72748f7ed821400c564b9a5c63677692103130e3a6ec5ff938e0cccf brlaser-3.tar.gz"
+md5sums="89bc6a86770baa06aa96f21e588819ee brlaser-3.tar.gz
+ecce9fbc01c2667c1a8cee7cc0eab54a 9.patch"
+sha256sums="495059a3b93c9c7106f2f72b2d646b0ee794a6527120a8936cd493752250b2ee brlaser-3.tar.gz
+d58a70ea5427200510ef6da85d2e77e093fd9b535d9e504a48032659828286c8 9.patch"
+sha512sums="79c4709e0db48fc4b359297f44c2ad35633e65210fdb941aea7a9a613de4d341319aaa7e72748f7ed821400c564b9a5c63677692103130e3a6ec5ff938e0cccf brlaser-3.tar.gz
+f1c75804c37fb2b4ad200aea185a96f780245da9a858e2afaf435fbe8e8a57a4cc2d2665b8d07ab12e13fa66943f446dd1a2409f2e6e0ebc591a4ca15f331a98 9.patch"