pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/hpijs



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu May 14 19:01:26 UTC 2020

Modified Files:
        pkgsrc/print/hpijs: distinfo
Added Files:
        pkgsrc/print/hpijs/patches: patch-dj3320.cpp patch-registry.cpp

Log Message:
Fix const use


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/print/hpijs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/print/hpijs/patches/patch-dj3320.cpp \
    pkgsrc/print/hpijs/patches/patch-registry.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/hpijs/distinfo
diff -u pkgsrc/print/hpijs/distinfo:1.12 pkgsrc/print/hpijs/distinfo:1.13
--- pkgsrc/print/hpijs/distinfo:1.12    Wed Nov  4 01:01:34 2015
+++ pkgsrc/print/hpijs/distinfo Thu May 14 19:01:26 2020
@@ -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 @@ Size (hpijs-2.1.4.tar.gz) = 1928371 byte
 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

Added files:

Index: pkgsrc/print/hpijs/patches/patch-dj3320.cpp
diff -u /dev/null pkgsrc/print/hpijs/patches/patch-dj3320.cpp:1.1
--- /dev/null   Thu May 14 19:01:26 2020
+++ pkgsrc/print/hpijs/patches/patch-dj3320.cpp Thu May 14 19:01:26 2020
@@ -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));
Index: pkgsrc/print/hpijs/patches/patch-registry.cpp
diff -u /dev/null pkgsrc/print/hpijs/patches/patch-registry.cpp:1.1
--- /dev/null   Thu May 14 19:01:26 2020
+++ pkgsrc/print/hpijs/patches/patch-registry.cpp       Thu May 14 19:01:26 2020
@@ -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