summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 01f9fbf7482e..adde4c9f047c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=cups-bjnp
pkgver=2.0.3
-pkgrel=1
+pkgrel=2
pkgdesc='CUPS back-end for the canon printers using the proprietary USB over IP BJNP protocol'
arch=('i686' 'x86_64')
url='http://sourceforge.net/projects/cups-bjnp/'
@@ -21,6 +21,8 @@ build() {
# Patch for https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Warning-Options.html#index-Wstringop_002dtruncation
# sed -i 's/strncpy/memcpy/' bjnp-commands.c
+ sed -i '188d;191d' bjnp-commands.c
+
./configure --prefix='/usr'
make
}