aboutsummaryrefslogtreecommitdiffstats
path: root/misc/kdeedu3/files
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-05-06 17:39:26 +0800
committerlofi <lofi@FreeBSD.org>2004-05-06 17:39:26 +0800
commit5d26988f12522ad4f50bce7c44416eea321e0cbc (patch)
tree379ea3f4bf78b3f2524d15d4de001ccda1ba8812 /misc/kdeedu3/files
parent8cb389cabe360e0d85ebca8cf341a838f6ac28de (diff)
downloadfreebsd-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/files')
-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: $"};
title='2009-03-25 03:13:32 +0800'>2009-03-251-0/+1 * - Update to 3.2miwi2009-03-147-104/+32 * - Add a version check for cmake.araujo2009-03-134-1/+49 * Sigh, docbook-built man pages...lx2009-02-261-0/+5 * Updating to 3.1.2, adding a mirror.lx2009-02-264-47/+14 * - Remove an unnecessary line which I forgot to remove before update this portrafan2009-02-061-1/+0 * - Update to 3.1.1rafan2009-02-057-59/+246 * - Update to 2.3.4miwi2008-09-242-4/+4 * Update to 2.3.2.novel2008-07-032-5/+4 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Fix a wrong ${DOCSDIR} creation where NOPORTDOCS is set, wrong since my lastgarga2008-05-261-0/+5 * - Add missing dependencies (imlib2 and pango)garga2008-05-231-0/+3 * - Update to 2.3garga2008-05-213-4/+10 * - Update to 2.2garga2008-04-255-79/+44 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-1/+2 * - Update to 2.0miwi2007-12-139-97/+64 * - Fix two bugs (with code cleanup)miwi2007-10-094-16/+25 * - Update to 1.3rafan2007-10-065-28/+9