Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/hpijs Fix const use
details: https://anonhg.NetBSD.org/pkgsrc/rev/df27de6cec5b
branches: trunk
changeset: 431557:df27de6cec5b
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu May 14 19:01:26 2020 +0000
description:
Fix const use
diffstat:
print/hpijs/distinfo | 4 +++-
print/hpijs/patches/patch-dj3320.cpp | 13 +++++++++++++
print/hpijs/patches/patch-registry.cpp | 13 +++++++++++++
3 files changed, 29 insertions(+), 1 deletions(-)
diffs (54 lines):
diff -r 1e5b75d205ce -r df27de6cec5b print/hpijs/distinfo
--- a/print/hpijs/distinfo Thu May 14 18:59:47 2020 +0000
+++ b/print/hpijs/distinfo Thu May 14 19:01:26 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/11/04 01:01:34 agc Exp $
+$NetBSD: distinfo,v 1.13 2020/05/14 19:01:26 joerg Exp $
SHA1 (hpijs-2.1.4.tar.gz) = 8b8baa2d410f8918ae2b8381811983c923b29703
RMD160 (hpijs-2.1.4.tar.gz) = b498a578d89bdd2dcc12d2df846f9950df67db8d
@@ -7,8 +7,10 @@
SHA1 (patch-aa) = 1d89574d8f54cec6493304a663c0f546bd8df111
SHA1 (patch-ab) = cf2224faf7bb81b6d656a3fe19c668413a54707c
SHA1 (patch-ac) = b6bd6df7a30152df93d579e12d2b465f15c130c8
+SHA1 (patch-dj3320.cpp) = 5deed8cbad5f0b958632b68dd678d1dba2011ded
SHA1 (patch-djgenericvip.cpp) = 1ad602d1086c7972e240646e5eaed199b60c63a5
SHA1 (patch-hpijs.cpp) = 0be9dce9ba7470ff5ddf1d74a02e058aaea6605e
SHA1 (patch-ldlencap.h) = e768093c0208f850ca0500259f8539dcf028be91
SHA1 (patch-ljfastraster.cpp) = 34860e7daafcd47ae5a8506b477e320ee3f7eb2e
SHA1 (patch-ljjetready.cpp) = 7a6ee8e7261a376e3ce53c4375ede2bb1b6f2b8c
+SHA1 (patch-registry.cpp) = 78038a093e124dbc156f871210d5c13b46a64c20
diff -r 1e5b75d205ce -r df27de6cec5b print/hpijs/patches/patch-dj3320.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/hpijs/patches/patch-dj3320.cpp Thu May 14 19:01:26 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-dj3320.cpp,v 1.1 2020/05/14 19:01:26 joerg Exp $
+
+--- dj3320.cpp.orig 2020-05-10 23:09:20.918727851 +0000
++++ dj3320.cpp
+@@ -400,7 +400,7 @@ DISPLAY_STATUS DJ3320::ParseError (BYTE
+ {
+ DRIVER_ERROR err = NO_ERROR;
+ BYTE byDevIDBuffer[DevIDBuffSize];
+- char *pcStr = NULL;
++ const char *pcStr = NULL;
+ BYTE byStatus1, byStatus2;
+
+ memset(byDevIDBuffer, 0, sizeof(byDevIDBuffer));
diff -r 1e5b75d205ce -r df27de6cec5b print/hpijs/patches/patch-registry.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/hpijs/patches/patch-registry.cpp Thu May 14 19:01:26 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-registry.cpp,v 1.1 2020/05/14 19:01:26 joerg Exp $
+
+--- registry.cpp.orig 2020-05-10 23:08:47.003542472 +0000
++++ registry.cpp
+@@ -246,7 +246,7 @@ DRIVER_ERROR DeviceRegistry::SelectDevic
+ device = eDJ3320;
+ match = TRUE;
+ }
+- char *cmdStr = strstr ((const char *) DevIDBuffer+2, "CMD:");
++ const char *cmdStr = strstr ((const char *) DevIDBuffer+2, "CMD:");
+ if (!cmdStr)
+ {
+ cmdStr = strstr ((const char *) DevIDBuffer+2, "COMMAND SET:");
Home |
Main Index |
Thread Index |
Old Index