system/dymo-cups-drivers: Fix build with newer cups.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-02-05 16:30:14 +13:00 committed by Willy Sudiarto Raharjo
parent 5038ed3a23
commit d15ab49750
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,10 @@
--- dymo-cups-drivers-1.4.0.5/src/common/CupsPrintEnvironment.cpp.orig 2012-02-07 08:22:37.000000000 -0500
+++ dymo-cups-drivers-1.4.0.5/src/common/CupsPrintEnvironment.cpp 2019-10-27 11:27:37.899169865 -0400
@@ -23,6 +23,7 @@
#include "CupsPrintEnvironment.h"
#include <errno.h>
#include <cups/cups.h>
+#include <cups/sidechannel.h>
#include <cassert>
namespace DymoPrinterDriver

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dymo-cups-drivers
VERSION=${VERSION:-1.4.0.5}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -81,6 +81,7 @@ find -L . \
# Patch for the newer cups - thanks archlinux!
patch -p1 < $CWD/cups-ppd-header.patch
patch -p1 < $CWD/cups-2.6-api.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \

View file

@ -1,7 +1,7 @@
PRGNAM="dymo-cups-drivers"
VERSION="1.4.0.5"
HOMEPAGE="http://www.dymo.com/en-US/dymo-label-sdk-and-cups-drivers-for-linux-dymo-label-sdk-cups-linux-p--1"
DOWNLOAD="http://download.dymo.com/dymo/Software/Download%20Drivers/Linux/Download/dymo-cups-drivers-1.4.0.tar.gz"
DOWNLOAD="https://download.dymo.com/Software/Linux/dymo-cups-drivers-1.4.0.tar.gz"
MD5SUM="8774f98bbe8d57f5b337019ae86a23f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""