Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4116 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
Ole Guldberg Jensen
committed
Dec 5, 2003
1 parent
fcef0db
commit fd3be0f
Showing
23 changed files
with
176 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- eel/eel-glib-extensions.c.org Wed Nov 26 18:21:37 2003 | ||
+++ eel/eel-glib-extensions.c Wed Nov 26 18:23:51 2003 | ||
@@ -54,7 +54,12 @@ | ||
|
||
/* We will need this for eel_unsetenv if there is no unsetenv. */ | ||
#if !defined (HAVE_SETENV) | ||
+#ifdef __APPLE__ | ||
+# include <crt_externs.h> | ||
+# define environ (*_NSGetEnviron()) | ||
+#elif | ||
extern char **environ; | ||
+#endif | ||
#endif | ||
|
||
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- eel/egg-screen-exec.c.org Wed Nov 26 18:20:55 2003 | ||
+++ eel/egg-screen-exec.c Wed Nov 26 18:22:17 2003 | ||
@@ -31,7 +31,12 @@ | ||
#include <gdk/gdkx.h> | ||
#endif | ||
|
||
+#ifdef __APPLE__ | ||
+# include <crt_externs.h> | ||
+# define environ (*_NSGetEnviron()) | ||
+#elif | ||
extern char **environ; | ||
+#endif | ||
|
||
/** | ||
* egg_screen_exec_display_string: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- libgnome-desktop/egg-spawn.c.org Tue Nov 25 20:59:45 2003 | ||
+++ libgnome-desktop/egg-spawn.c Tue Nov 25 21:01:11 2003 | ||
@@ -20,6 +20,11 @@ | ||
* Authors: Mark McLoughlin <mark@skynet.ie> | ||
*/ | ||
|
||
+#ifdef __APPLE__ | ||
+# include <crt_externs.h> | ||
+# define environ (*_NSGetEnviron()) | ||
+#endif | ||
+ | ||
#include <config.h> | ||
#include <string.h> | ||
|
||
@@ -27,8 +32,6 @@ | ||
|
||
#include <glib.h> | ||
#include <gdk/gdk.h> | ||
- | ||
-extern char **environ; | ||
|
||
/** | ||
* egg_make_spawn_environment_for_screen: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- libgnome-desktop/gnome-desktop-item.c.org Tue Nov 25 20:59:15 2003 | ||
+++ libgnome-desktop/gnome-desktop-item.c Tue Nov 25 21:00:05 2003 | ||
@@ -27,6 +27,11 @@ | ||
@NOTATION@ | ||
*/ | ||
|
||
+#ifdef __APPLE__ | ||
+# include <crt_externs.h> | ||
+# define environ (*_NSGetEnviron()) | ||
+#endif | ||
+ | ||
#include "config.h" | ||
|
||
#include <limits.h> | ||
@@ -1482,8 +1487,6 @@ | ||
{ | ||
gdk_error_trap_pop (); | ||
} | ||
- | ||
-extern char **environ; | ||
|
||
static char ** | ||
make_spawn_environment_for_sn_context (SnLauncherContext *sn_context, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- applets/clock/egg-screen-exec.c.org Wed Nov 26 16:09:48 2003 | ||
+++ applets/clock/egg-screen-exec.c Wed Nov 26 16:10:16 2003 | ||
@@ -31,7 +31,12 @@ | ||
#include <gdk/gdkx.h> | ||
#endif | ||
|
||
+#ifdef __APPLE__ | ||
+# include <crt_externs.h> | ||
+# define environ (*_NSGetEnviron()) | ||
+#elif | ||
extern char **environ; | ||
+#endif | ||
|
||
/** | ||
* egg_screen_exec_display_string: |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- gnome-panel/egg-screen-exec.c.org Wed Nov 26 07:53:16 2003 | ||
+++ gnome-panel/egg-screen-exec.c Wed Nov 26 07:54:06 2003 | ||
@@ -31,7 +31,12 @@ | ||
#include <gdk/gdkx.h> | ||
#endif | ||
|
||
+#ifdef __APPLE__ | ||
+# include <crt_externs.h> | ||
+# define environ (*_NSGetEnviron()) | ||
+#elif | ||
extern char **environ; | ||
+#endif | ||
|
||
/** | ||
* egg_screen_exec_display_string: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.