summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Immendorf2020-08-28 11:31:28 -0500
committerWilliam Immendorf2020-08-28 11:31:28 -0500
commit5f1905eef69e6e65d3eedc04ffa867ae3813a65b (patch)
tree8dcac9298519359322865b6a159fc9e535fad07e
parentf7f74f43323796a6eb30544d5052e8dd977db6bd (diff)
downloadaur-5f1905eef69e6e65d3eedc04ffa867ae3813a65b.tar.gz
fix build with glibc 2.31
crusade against pointless headers
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9c9f59cf4d2f..974a23308269 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cnijfilter-mg4200
pkgdesc = Canon IJ Printer Driver (for mg4200 series)
pkgver = 3.80
- pkgrel = 4
+ pkgrel = 5
url = https://sg.canon/en/support/0100469302
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index cb74c89ed4d0..ba10fb644a2e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,6 +48,10 @@ build() {
patch -p1 -i ${srcdir}/fix_png.patch || return 1
patch -p1 -i ${srcdir}/fix_configures.patch || return 1
+ ## Fix build with glibc 2.32+
+ ## Remove a deprecated (& rather pointless) header inclusion
+ sed -i "36d" cngpijmon/cnijnpr/cnijnpr/cnijnpr.c
+
## Compile model specific stuff
# ppd file
msg "Compile PPD file..."