summaryrefslogtreecommitdiff
path: root/misc/kdeedu3
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-05-06 09:39:26 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-05-06 09:39:26 +0000
commitc3df519e6b7e5618ddec3762d037792f55f6b42c (patch)
tree356b85ac3da8dd6399ed539bc17e16173895e3c7 /misc/kdeedu3
parentUpdate to 1.2.12 (diff)
Add a patch to fix compilation on recent versions of gcc,
which bail if a const is attempted to be modified. Reported by: Chris BeHanna <chris@behanna.org> Obtained from: KDE CVS
Diffstat (limited to 'misc/kdeedu3')
-rw-r--r--misc/kdeedu3/files/patch-kstars_kstars_indi_indidevapi.h21
-rw-r--r--misc/kdeedu3/files/patch-kstars_kstars_indi_indidrivermain.c26
2 files changed, 47 insertions, 0 deletions
diff --git a/misc/kdeedu3/files/patch-kstars_kstars_indi_indidevapi.h b/misc/kdeedu3/files/patch-kstars_kstars_indi_indidevapi.h
new file mode 100644
index 000000000000..b538397ce58c
--- /dev/null
+++ b/misc/kdeedu3/files/patch-kstars_kstars_indi_indidevapi.h
@@ -0,0 +1,21 @@
+--- kstars/kstars/indi/indidevapi.h 2004/03/29 17:55:49 1.1.2.2
++++ kstars/kstars/indi/indidevapi.h 2004/04/10 12:38:18 1.1.2.3
+@@ -155,9 +155,9 @@ extern ISwitch *IUFindOnSwitch (const IS
+ /* function to set all property switches off */
+ extern void IUResetSwitches(const ISwitchVectorProperty *svp);
+
+-extern int IUUpdateSwitches(const ISwitchVectorProperty *svp, ISState *states, char *names[], int n);
++extern int IUUpdateSwitches(ISwitchVectorProperty *svp, ISState *states, char *names[], int n);
+
+-extern int IUUpdateNumbers(const INumberVectorProperty *nvp, double values[], char *names[], int n);
++extern int IUUpdateNumbers(INumberVectorProperty *nvp, double values[], char *names[], int n);
+
+ /* function to reliably save new text in a IText */
+ extern void IUSaveText (IText *tp, const char *newtext);
+@@ -202,5 +202,5 @@ extern void ISNewSwitch (const char *dev
+ #endif
+
+ /* For RCS Only -- Do Not Edit
+- * @(#) $RCSfile: indidevapi.h,v $ $Date: 2004/03/29 17:55:49 $ $Revision: 1.1.2.2 $ $Name: $
++ * @(#) $RCSfile: indidevapi.h,v $ $Date: 2004/04/10 12:38:18 $ $Revision: 1.1.2.3 $ $Name: $
+ */
diff --git a/misc/kdeedu3/files/patch-kstars_kstars_indi_indidrivermain.c b/misc/kdeedu3/files/patch-kstars_kstars_indi_indidrivermain.c
new file mode 100644
index 000000000000..3d918e777432
--- /dev/null
+++ b/misc/kdeedu3/files/patch-kstars_kstars_indi_indidrivermain.c
@@ -0,0 +1,26 @@
+--- kstars/kstars/indi/indidrivermain.c 2004/03/29 17:55:49 1.2.2.3
++++ kstars/kstars/indi/indidrivermain.c 2004/04/10 12:38:18 1.2.2.4
+@@ -546,7 +546,7 @@ IUResetSwitches(const ISwitchVectorPrope
+
+ /* Update property switches in accord with states and names. */
+ int
+-IUUpdateSwitches(const ISwitchVectorProperty *svp, ISState *states, char *names[], int n)
++IUUpdateSwitches(ISwitchVectorProperty *svp, ISState *states, char *names[], int n)
+ {
+ int i=0;
+
+@@ -571,7 +571,7 @@ IUUpdateSwitches(const ISwitchVectorProp
+ }
+
+ /* Update property numbers in accord with values and names */
+-int IUUpdateNumbers(const INumberVectorProperty *nvp, double values[], char *names[], int n)
++int IUUpdateNumbers(INumberVectorProperty *nvp, double values[], char *names[], int n)
+ {
+ int i=0;
+
+@@ -926,4 +926,4 @@ timestamp()
+ }
+
+ /* For RCS Only -- Do Not Edit */
+-static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: indidrivermain.c,v $ $Date: 2004/03/29 17:55:49 $ $Revision: 1.2.2.3 $ $Name: $"};
++static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: indidrivermain.c,v $ $Date: 2004/04/10 12:38:18 $ $Revision: 1.2.2.4 $ $Name: $"};