summaryrefslogtreecommitdiffstats
path: root/astro/nightfall/files
diff options
context:
space:
mode:
Diffstat (limited to 'astro/nightfall/files')
-rw-r--r--astro/nightfall/files/patch-Light.c13
-rw-r--r--astro/nightfall/files/patch-Light.h12
-rw-r--r--astro/nightfall/files/patch-LightGLAnimate.c10
-rw-r--r--astro/nightfall/files/patch-LightGnome.c14
4 files changed, 49 insertions, 0 deletions
diff --git a/astro/nightfall/files/patch-Light.c b/astro/nightfall/files/patch-Light.c
new file mode 100644
index 000000000..b2f9217be
--- /dev/null
+++ b/astro/nightfall/files/patch-Light.c
@@ -0,0 +1,13 @@
+--- Light.c.orig Thu Oct 20 22:54:11 2005
++++ Light.c Wed Dec 7 02:43:38 2005
+@@ -275,8 +275,10 @@
+
+ /* >>>>>>>>>>>>>>>> ALLOCATE MEMORY <<<<<<<<<<<<<<<<<<<<< */
+
++#if 0
+ program_invocation_name = malloc (1 + strlen(argv[0]));
+ strcpy(program_invocation_name, argv[0]);
++#endif
+
+ /* should be freed by OS on program exit (?) */
+
diff --git a/astro/nightfall/files/patch-Light.h b/astro/nightfall/files/patch-Light.h
new file mode 100644
index 000000000..ee425a24f
--- /dev/null
+++ b/astro/nightfall/files/patch-Light.h
@@ -0,0 +1,12 @@
+--- Light.h.orig Thu Oct 20 22:18:52 2005
++++ Light.h Wed Dec 7 02:47:16 2005
+@@ -805,7 +805,9 @@
+ /* */
+ /**************************************************************************/
+
++#if 0
+ extern char * program_invocation_name;
++#endif
+
+ /* ----------- Error Messages ---------------------------------------- */
+
diff --git a/astro/nightfall/files/patch-LightGLAnimate.c b/astro/nightfall/files/patch-LightGLAnimate.c
new file mode 100644
index 000000000..310eef55e
--- /dev/null
+++ b/astro/nightfall/files/patch-LightGLAnimate.c
@@ -0,0 +1,10 @@
+--- LightGLAnimate.c.orig Tue Nov 25 00:21:36 2003
++++ LightGLAnimate.c Tue Nov 25 00:24:22 2003
+@@ -25,6 +25,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/types.h>
+ #include "Light.h"
+
+ #ifdef _WITH_OPENGL
diff --git a/astro/nightfall/files/patch-LightGnome.c b/astro/nightfall/files/patch-LightGnome.c
new file mode 100644
index 000000000..fcbba3da3
--- /dev/null
+++ b/astro/nightfall/files/patch-LightGnome.c
@@ -0,0 +1,14 @@
+--- LightGnome.c.orig Thu Oct 27 21:46:52 2005
++++ LightGnome.c Wed Dec 7 02:44:36 2005
+@@ -335,7 +335,11 @@
+ FileType *dataFile = FileList;
+ char path[256];
+
++#if 0
+ argv[0] = program_invocation_name;
++#else
++ argv[0] = g_get_prgname();
++#endif
+ argv[1] = "-U";
+ argv[2] = NULL;
+