pkgsrc-Changes archive

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

CVS commit: pkgsrc/mbone/mdp



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

Modified Files:
        pkgsrc/mbone/mdp: distinfo
Added Files:
        pkgsrc/mbone/mdp/patches: patch-common_mdpApp.cpp patch-common_mdpApp.h

Log Message:
Fix const issues


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/mbone/mdp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/mbone/mdp/patches/patch-common_mdpApp.cpp \
    pkgsrc/mbone/mdp/patches/patch-common_mdpApp.h

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

Modified files:

Index: pkgsrc/mbone/mdp/distinfo
diff -u pkgsrc/mbone/mdp/distinfo:1.6 pkgsrc/mbone/mdp/distinfo:1.7
--- pkgsrc/mbone/mdp/distinfo:1.6       Mon Nov  2 23:54:08 2015
+++ pkgsrc/mbone/mdp/distinfo   Thu May 14 19:26:01 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2015/11/02 23:54:08 agc Exp $
+$NetBSD: distinfo,v 1.7 2020/05/14 19:26:01 joerg Exp $
 
 SHA1 (src-mdp-1.9a5.tgz) = 62d688cc7f570d4492d6e0839026b6a72a5c7163
 RMD160 (src-mdp-1.9a5.tgz) = ba9a614466995eff42ea14d2afdb442fff780284
@@ -11,3 +11,5 @@ Size (src-protolib-1.0a3d.tgz) = 59402 b
 SHA1 (patch-ab) = 6a958d89aa42c636e67a9989d8a94eba1d3816e6
 SHA1 (patch-ac) = 72ccea437882074279c887635deb1ad3acbcb3ed
 SHA1 (patch-ad) = b6ec185f71ee4bac3986739969f12395de591328
+SHA1 (patch-common_mdpApp.cpp) = 36d89f74b4c6d17a38ffb864f382d1dfb63301b0
+SHA1 (patch-common_mdpApp.h) = a308271cf84fa58ed437d72c302d712fd17ffd2b

Added files:

Index: pkgsrc/mbone/mdp/patches/patch-common_mdpApp.cpp
diff -u /dev/null pkgsrc/mbone/mdp/patches/patch-common_mdpApp.cpp:1.1
--- /dev/null   Thu May 14 19:26:01 2020
+++ pkgsrc/mbone/mdp/patches/patch-common_mdpApp.cpp    Thu May 14 19:26:01 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-common_mdpApp.cpp,v 1.1 2020/05/14 19:26:01 joerg Exp $
+
+optarg is modified in place, can't be const.
+
+--- common/mdpApp.cpp.orig     2020-05-13 20:39:40.263973752 +0000
++++ common/mdpApp.cpp
+@@ -636,7 +636,7 @@ const char* MDPAPP_CMD_LINE_FLAGS = 
+     "aA:b:BcC:d:D:e:E:fF:g:G:i:I:Jk:K:l:L:mMn:No:p:P:Q:r:R:s:S:t:TuUWwX:y:z:Z:";
+ 
+ // Process MdpApp command line options and arguments
+-bool MdpApp::ProcessCommand(char opt, const char* optarg)
++bool MdpApp::ProcessCommand(char opt, char* optarg)
+ {
+       char* ptr;
+     switch(opt) 
Index: pkgsrc/mbone/mdp/patches/patch-common_mdpApp.h
diff -u /dev/null pkgsrc/mbone/mdp/patches/patch-common_mdpApp.h:1.1
--- /dev/null   Thu May 14 19:26:01 2020
+++ pkgsrc/mbone/mdp/patches/patch-common_mdpApp.h      Thu May 14 19:26:01 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-common_mdpApp.h,v 1.1 2020/05/14 19:26:01 joerg Exp $
+
+optarg is modified in place, can't be const.
+
+--- common/mdpApp.h.orig       2020-05-13 20:40:17.396210025 +0000
++++ common/mdpApp.h
+@@ -55,7 +55,7 @@ class MdpApp
+         bool Init(MdpTimerInstallCallback*  timerInstaller,
+                   MdpSocketInstallCallback* sockerInstaller);
+         bool Start();
+-        bool ProcessCommand(char opt, const char* optarg);
++        bool ProcessCommand(char opt, char* optarg);
+         const char* SessionName() {return session_name;}
+         virtual void SetPostProcessor(const char* theCmd);
+         void SetProcessorOpt(int i, char *opt);



Home | Main Index | Thread Index | Old Index