mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
5038ed3a23
commit
d15ab49750
3 changed files with 13 additions and 2 deletions
10
system/dymo-cups-drivers/cups-2.6-api.patch
Normal file
10
system/dymo-cups-drivers/cups-2.6-api.patch
Normal 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
|
|
@ -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" \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue