Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2017 16:07:52 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453978 - in head/print/dymo-cups-drivers: . files
Message-ID:  <201711111607.vABG7q0W087500@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky (src committer)
Date: Sat Nov 11 16:07:52 2017
New Revision: 453978
URL: https://svnweb.freebsd.org/changeset/ports/453978

Log:
  Fix some compiler warnings.
  
  Approved by:	maintainer

Added:
  head/print/dymo-cups-drivers/files/patch-ppd_lmpnp.ppd   (contents, props changed)
  head/print/dymo-cups-drivers/files/patch-src_lm_LabelManagerDriver.cpp   (contents, props changed)
  head/print/dymo-cups-drivers/files/patch-src_lw_LabelWriterDriver.cpp   (contents, props changed)
Modified:
  head/print/dymo-cups-drivers/Makefile

Modified: head/print/dymo-cups-drivers/Makefile
==============================================================================
--- head/print/dymo-cups-drivers/Makefile	Sat Nov 11 15:36:29 2017	(r453977)
+++ head/print/dymo-cups-drivers/Makefile	Sat Nov 11 16:07:52 2017	(r453978)
@@ -2,7 +2,7 @@
 
 PORTNAME=	dymo-cups-drivers
 PORTVERSION=	1.4.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	http://download.dymo.com/Software/Linux/
 

Added: head/print/dymo-cups-drivers/files/patch-ppd_lmpnp.ppd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/dymo-cups-drivers/files/patch-ppd_lmpnp.ppd	Sat Nov 11 16:07:52 2017	(r453978)
@@ -0,0 +1,10 @@
+--- ppd/lmpnp.ppd.orig	2017-11-11 12:11:12 UTC
++++ ppd/lmpnp.ppd
+@@ -42,7 +42,6 @@
+ *ModelName: "DYMO LabelManager PnP"
+ *NickName: "DYMO LabelManager PnP"
+ *ShortNickName: "DYMO LabelManager PnP"
+-*APPrinterIconPath: "/Library/Printers/DYMO/CUPS/Resources/LMPNP.icns"
+ 
+ *cupsIPPReason com.dymo.out-of-paper-error/Out of labels. : ""
+ *cupsIPPReason com.dymo.read-error/Cannot read data from printer. : ""

Added: head/print/dymo-cups-drivers/files/patch-src_lm_LabelManagerDriver.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/dymo-cups-drivers/files/patch-src_lm_LabelManagerDriver.cpp	Sat Nov 11 16:07:52 2017	(r453978)
@@ -0,0 +1,17 @@
+--- src/lm/LabelManagerDriver.cpp.orig	2012-02-07 13:22:38 UTC
++++ src/lm/LabelManagerDriver.cpp
+@@ -152,12 +152,12 @@ void 
+ CLabelManagerDriver::GetBlanks(
+   const buffer_t& Buf, size_t& LeaderBlanks, size_t& TrailerBlanks)
+ {
+-  size_t i = 0;
++  ssize_t i = 0;
+ 
+   LeaderBlanks    = 0;
+   TrailerBlanks   = 0;
+ 
+-  size_t BufSize = Buf.size();
++  ssize_t BufSize = Buf.size();
+ 
+   // count left spaces 
+   for (i = 0; i < BufSize; ++i)

Added: head/print/dymo-cups-drivers/files/patch-src_lw_LabelWriterDriver.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/dymo-cups-drivers/files/patch-src_lw_LabelWriterDriver.cpp	Sat Nov 11 16:07:52 2017	(r453978)
@@ -0,0 +1,17 @@
+--- src/lw/LabelWriterDriver.cpp.orig	2012-02-07 13:22:37 UTC
++++ src/lw/LabelWriterDriver.cpp
+@@ -121,12 +121,12 @@ void
+ CLabelWriterDriver::GetBlanks(
+   const buffer_t& Buf, size_t& LeaderBlanks, size_t& TrailerBlanks)
+ {
+-  size_t i = 0;
++  ssize_t i = 0;
+ 
+   LeaderBlanks    = 0;
+   TrailerBlanks   = 0;
+ 
+-  size_t BufSize = Buf.size();
++  ssize_t BufSize = Buf.size();
+ 
+   // count left spaces
+   for (i = 0; i < BufSize; ++i)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711111607.vABG7q0W087500>