diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/gutenprint/APKBUILD | 9 | ||||
-rw-r--r-- | user/gutenprint/freopen.patch | 11 |
2 files changed, 17 insertions, 3 deletions
diff --git a/user/gutenprint/APKBUILD b/user/gutenprint/APKBUILD index 56fbfacea..67f344222 100644 --- a/user/gutenprint/APKBUILD +++ b/user/gutenprint/APKBUILD @@ -1,7 +1,7 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=gutenprint -pkgver=5.2.14 +pkgver=5.3.1 pkgrel=0 pkgdesc="Open source printer drivers" url="http://gimp-print.sourceforge.net/" @@ -12,7 +12,9 @@ depends="" makedepends="cups-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs" install="$pkgname.post-install $pkgname.post-upgrade" -source="https://downloads.sourceforge.net/gimp-print/gutenprint-$pkgver.tar.bz2" +source="https://downloads.sourceforge.net/gimp-print/gutenprint-$pkgver.tar.xz + freopen.patch + " build() { cd "$builddir" @@ -37,4 +39,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="aeb06b4be45fcb67320b419b988ca59dbda51bb2c3ff4edd0f0757ac977565a6829f506ebea6872211c689a15925ad2119836424c3c9a97345a8cd506e9df9fd gutenprint-5.2.14.tar.bz2" +sha512sums="214d07e6f78130e95c8c9d98f0862921d26f74a7c302afabdb138b35ef5f02f52fa143411983867fd7015477c16ca18cf8001e6552c27cd4a12c08ff77e92986 gutenprint-5.3.1.tar.xz +a4a74b7eeffdb12cc106c7da33bef24a7e80fca94091a8301b61df60e642e54fb57f5f00027530d86a83c3aff086ff43439b46bcfdcafa29073c60445d49781e freopen.patch" diff --git a/user/gutenprint/freopen.patch b/user/gutenprint/freopen.patch new file mode 100644 index 000000000..ddc351fec --- /dev/null +++ b/user/gutenprint/freopen.patch @@ -0,0 +1,11 @@ +--- gutenprint-5.3.1/src/xml/printers/check_duplicate_printers.c.old 2018-09-03 15:19:33.000000000 +0000 ++++ gutenprint-5.3.1/src/xml/printers/check_duplicate_printers.c 2019-05-01 20:32:48.290238929 +0000 +@@ -34,7 +34,7 @@ + if (getenv("BUILD_VERBOSE")) + dup2(2, 3); + (void) snprintf(path, PATH_MAX, "%scheck_duplicate_printers_%d.log", getenv("STP_TEST_LOG_PREFIX"), getpid()); +- stdout = freopen(path, "w", stdout); ++ freopen(path, "w", stdout); + dup2(1, 2); + } + setenv("STP_CHECK_DUPLICATE_PRINTERS", "TRUE", 1); |