diff options
author | lofi <lofi@FreeBSD.org> | 2004-05-06 17:39:26 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-05-06 17:39:26 +0800 |
commit | 5d26988f12522ad4f50bce7c44416eea321e0cbc (patch) | |
tree | 379ea3f4bf78b3f2524d15d4de001ccda1ba8812 /misc/kdeedu3 | |
parent | 8cb389cabe360e0d85ebca8cf341a838f6ac28de (diff) | |
download | freebsd-ports-gnome-5d26988f12522ad4f50bce7c44416eea321e0cbc.tar.gz freebsd-ports-gnome-5d26988f12522ad4f50bce7c44416eea321e0cbc.tar.zst freebsd-ports-gnome-5d26988f12522ad4f50bce7c44416eea321e0cbc.zip |
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.h | 21 | ||||
-rw-r--r-- | misc/kdeedu3/files/patch-kstars_kstars_indi_indidrivermain.c | 26 |
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: $"}; |