diff options
Diffstat (limited to 'devel/imake-4/files/patch-imake.c')
-rw-r--r-- | devel/imake-4/files/patch-imake.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/imake-4/files/patch-imake.c b/devel/imake-4/files/patch-imake.c new file mode 100644 index 000000000000..f8117c91e000 --- /dev/null +++ b/devel/imake-4/files/patch-imake.c @@ -0,0 +1,22 @@ +--- imake/imake.c.orig Tue Dec 17 04:21:38 2002 ++++ imake/imake.c Sat Jan 4 15:57:23 2003 +@@ -1384,6 +1384,19 @@ + name = &uts_name; + } + #endif ++# ifdef __FreeBSD__ ++ /* Hack for FreeBSD ports "Cross Version" compiling system. */ ++ { ++ char *e; ++ if ((e = getenv("OSREL")) != NULL && ++ strlen(name->sysname) + strlen(e) + 1 < SYS_NMLN) { ++ strcpy(name->release, e); ++ strcpy(name->version, name->sysname); ++ strcat(name->version, " "); ++ strcat(name->version, e); ++ } ++ } ++# endif + + # if defined DEFAULT_OS_NAME + # if defined CROSSCOMPILE |