summaryrefslogtreecommitdiffstats
path: root/graphics/giram/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/giram/files')
-rw-r--r--graphics/giram/files/patch-configure19
-rw-r--r--graphics/giram/files/patch-src+camera.c13
-rw-r--r--graphics/giram/files/patch-src+filetypes+povray+LoadPov.c42
-rw-r--r--graphics/giram/files/patch-src+filetypes+povray+SavePov.c10
-rw-r--r--graphics/giram/files/patch-src+giram.c12
-rw-r--r--graphics/giram/files/patch-src+giramobjecteditor.c14
-rw-r--r--graphics/giram/files/patch-src+texture.c15
-rw-r--r--graphics/giram/files/patch-src+view.c17
-rw-r--r--graphics/giram/files/patch-src+widgets+gtkcolorbutton.c16
9 files changed, 158 insertions, 0 deletions
diff --git a/graphics/giram/files/patch-configure b/graphics/giram/files/patch-configure
new file mode 100644
index 000000000..3f6755793
--- /dev/null
+++ b/graphics/giram/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Sat Mar 8 21:30:47 2003
++++ configure Sun May 25 21:41:54 2003
+@@ -5432,6 +5432,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -5843,7 +5844,7 @@
+ fi
+
+
+-CFLAGS="-g -Wall -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED $CFLAGS"
++CFLAGS="-DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED $CFLAGS"
+
+ if test -n "$DEBUGFLAG"; then
+ CFLAGS="$DEBUGFLAG $CFLAGS"
diff --git a/graphics/giram/files/patch-src+camera.c b/graphics/giram/files/patch-src+camera.c
new file mode 100644
index 000000000..0e5f8a62b
--- /dev/null
+++ b/graphics/giram/files/patch-src+camera.c
@@ -0,0 +1,13 @@
+--- src/camera.c.orig Fri Aug 9 18:19:56 2002
++++ src/camera.c Tue Oct 26 17:04:03 2004
+@@ -19,6 +19,10 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++
++#undef GTK_DISABLE_DEPRECATED
++#warning GTK_DISABLE_DEPRECATED
++
+ #include <math.h>
+ #include "giram.h"
+ #include "utils.h"
diff --git a/graphics/giram/files/patch-src+filetypes+povray+LoadPov.c b/graphics/giram/files/patch-src+filetypes+povray+LoadPov.c
new file mode 100644
index 000000000..92f8ab6cc
--- /dev/null
+++ b/graphics/giram/files/patch-src+filetypes+povray+LoadPov.c
@@ -0,0 +1,42 @@
+--- src/filetypes/povray/LoadPov.c.orig Mon Dec 23 18:06:14 2002
++++ src/filetypes/povray/LoadPov.c Tue Oct 26 17:04:03 2004
+@@ -1152,6 +1152,7 @@
+ break;
+ default:
+ /* panic!!! */
++ ;
+ }
+ get_token();
+ }
+@@ -3238,6 +3239,7 @@
+
+ default:
+ /*Error("Mis-matched '#case' or '#range'.");*/
++ ;
+ }
+ done = TRUE;
+ break;
+@@ -3303,6 +3305,7 @@
+
+ default:
+ /* Error("Mis-matched '#end'.");*/
++ ;
+ }
+ done = TRUE;
+ break;
+@@ -4965,6 +4968,7 @@
+ break;
+ default:
+ /* panic!!! */
++ ;
+ }
+ get_token();
+ }
+@@ -5111,6 +5115,7 @@
+ PARSE_FLOAT(HoleRadius)
+ break;
+ default: /* nothing */
++ ;
+ }
+
+ *pDisc = giram_disc_new(Center, Normal, Radius, HoleRadius);
diff --git a/graphics/giram/files/patch-src+filetypes+povray+SavePov.c b/graphics/giram/files/patch-src+filetypes+povray+SavePov.c
new file mode 100644
index 000000000..b4ad20cb5
--- /dev/null
+++ b/graphics/giram/files/patch-src+filetypes+povray+SavePov.c
@@ -0,0 +1,10 @@
+--- src/filetypes/povray/SavePov.c.orig Fri Aug 9 18:17:09 2002
++++ src/filetypes/povray/SavePov.c Tue Oct 26 17:04:03 2004
+@@ -799,6 +799,7 @@
+
+ default:
+ /* panic */
++ ;
+ }
+ fprintf(OutFile, " location <%g, %g, %g>\n", Camera->Location[0],
+ Camera->Location[1],
diff --git a/graphics/giram/files/patch-src+giram.c b/graphics/giram/files/patch-src+giram.c
new file mode 100644
index 000000000..493a74ec4
--- /dev/null
+++ b/graphics/giram/files/patch-src+giram.c
@@ -0,0 +1,12 @@
+--- src/giram.c.orig Sun Dec 29 02:49:03 2002
++++ src/giram.c Tue Oct 26 17:04:03 2004
+@@ -26,6 +26,9 @@
+ #include <sys/types.h>
+ #include <sys/wait.h>
+
++#undef GTK_DISABLE_DEPRECATED
++#warning GTK_DISABLE_DEPRECATED
++
+ #ifndef WAIT_ANY
+ #define WAIT_ANY (-1)
+ #endif /* WAIT_ANY */
diff --git a/graphics/giram/files/patch-src+giramobjecteditor.c b/graphics/giram/files/patch-src+giramobjecteditor.c
new file mode 100644
index 000000000..c46a259ab
--- /dev/null
+++ b/graphics/giram/files/patch-src+giramobjecteditor.c
@@ -0,0 +1,14 @@
+--- src/giramobjecteditor.c.orig Tue Jul 23 00:32:37 2002
++++ src/giramobjecteditor.c Tue Oct 26 17:04:03 2004
+@@ -19,10 +19,10 @@
+ */
+
+ #include <stdlib.h>
++#include "widgets/gtkcolorbutton.h"
+ #include "giram.h"
+
+ #include "giramintl.h"
+-#include "widgets/gtkcolorbutton.h"
+ #include "widgets/giramfileselection.h"
+
+ #include "widgets/giramvectorframe.h"
diff --git a/graphics/giram/files/patch-src+texture.c b/graphics/giram/files/patch-src+texture.c
new file mode 100644
index 000000000..1bc0d04ed
--- /dev/null
+++ b/graphics/giram/files/patch-src+texture.c
@@ -0,0 +1,15 @@
+--- src/texture.c.orig Tue Jul 9 02:02:23 2002
++++ src/texture.c Tue Oct 26 17:04:03 2004
+@@ -21,10 +21,10 @@
+ #include <string.h>
+ #undef GTK_DISABLE_DEPRECATED
+ #warning GTK_DISABLE_DEPRECATED
+-#include "giram.h"
+-#include "utils.h"
+ #include "widgets/gtkcolorbutton.h"
+ #include "widgets/gtkcolormapbutton.h"
++#include "giram.h"
++#include "utils.h"
+ #include "texture.h"
+
+ #include "widgets/giramwidgets.h"
diff --git a/graphics/giram/files/patch-src+view.c b/graphics/giram/files/patch-src+view.c
new file mode 100644
index 000000000..721522ad0
--- /dev/null
+++ b/graphics/giram/files/patch-src+view.c
@@ -0,0 +1,17 @@
+--- src/view.c.orig Sat Aug 10 02:25:18 2002
++++ src/view.c Tue Oct 26 17:04:03 2004
+@@ -22,8 +22,13 @@
+ #include <unistd.h>
+ #include <math.h>
+ #include <string.h>
+-#include "giram.h"
++
++#undef GTK_DISABLE_DEPRECATED
++#warning GTK_DISABLE_DEPRECATED
++
+ #include <gdk/gdkkeysyms.h>
++#include <gtk/gtkitemfactory.h>
++#include "giram.h"
+
+ #include "tools/tools.h"
+ #include "tools/tool_select.h"
diff --git a/graphics/giram/files/patch-src+widgets+gtkcolorbutton.c b/graphics/giram/files/patch-src+widgets+gtkcolorbutton.c
new file mode 100644
index 000000000..2440d49fa
--- /dev/null
+++ b/graphics/giram/files/patch-src+widgets+gtkcolorbutton.c
@@ -0,0 +1,16 @@
+--- src/widgets/gtkcolorbutton.c.orig Wed Jul 3 19:47:16 2002
++++ src/widgets/gtkcolorbutton.c Tue Oct 26 17:04:03 2004
+@@ -25,11 +25,11 @@
+ #undef GTK_DISABLE_DEPRECATED
+ #warning GTK_DISABLE_DEPRECATED
+
++#include "gtkcolorbutton.h"
++
+ #include "giram.h"
+
+ #include "giramintl.h"
+-
+-#include "gtkcolorbutton.h"
+
+ static void gtk_color_button_destroy(GtkObject *object);
+ static void gtk_color_button_clicked(GtkButton *button);