summaryrefslogtreecommitdiff
path: root/misc/kdeedu3/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kdeedu3/patches/patch-ag')
-rw-r--r--misc/kdeedu3/patches/patch-ag40
1 files changed, 0 insertions, 40 deletions
diff --git a/misc/kdeedu3/patches/patch-ag b/misc/kdeedu3/patches/patch-ag
deleted file mode 100644
index cc4aecaa5e1..00000000000
--- a/misc/kdeedu3/patches/patch-ag
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2005/02/20 11:31:11 markd Exp $
-
---- kstars/kstars/indiproperty.cpp.orig 2004-07-18 05:52:57.000000000 +1200
-+++ kstars/kstars/indiproperty.cpp
-@@ -521,7 +521,7 @@ int INDI_P::buildMenuGUI(XMLEle *root, c
-
- if (pg->dp->crackSwitchState (pcdataXMLEle(sep), &(lp->state)) < 0)
- {
-- sprintf (errmsg, "INDI: <%s> unknown state %s for %s %s %s",
-+ snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> unknown state %.64s for %.64s %.64s %.64s",
- tagXMLEle(root), valuXMLAtt(ap), name.ascii(), lp->name.ascii(), name.ascii());
- return (-1);
- }
-@@ -532,7 +532,7 @@ int INDI_P::buildMenuGUI(XMLEle *root, c
- {
- if (onItem != -1)
- {
-- sprintf (errmsg,"INDI: <%s> %s %s has multiple On switches",
-+ snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> %.64s %.64s has multiple On switches",
- tagXMLEle(root), name.ascii(), lp->name.ascii());
- return (-1);
- }
-@@ -602,7 +602,7 @@ int INDI_P::buildSwitchesGUI(XMLEle *roo
-
- if (pg->dp->crackSwitchState (pcdataXMLEle(sep), &(lp->state)) < 0)
- {
-- sprintf (errmsg, "INDI: <%s> unknown state %s for %s %s %s",
-+ snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> unknown state %.64s for %.64s %.64s %.64s",
- tagXMLEle(root), valuXMLAtt(ap), name.ascii(), name.ascii(), lp->name.ascii());
- return (-1);
- }
-@@ -700,7 +700,7 @@ int INDI_P::buildLightsGUI(XMLEle *root,
-
- if (pg->dp->crackLightState (pcdataXMLEle(lep), &lp->state) < 0)
- {
-- sprintf (errmsg, "INDI: <%s> unknown state %s for %s %s %s",
-+ snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.64s> unknown state %.64s for %.64s %.64s %.64s",
- tagXMLEle(root), valuXMLAtt(ap), pg->dp->name.ascii(), name.ascii(), sname.ascii());
- return (-1);
- }