1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/science/vmd/files/patch-utilities.C
Florent Thoumie f4959ed7bb - Fix build/run on amd64.
PR:		ports/76941
Submitted by:	Sangwoo Shim <ssw@neo.redjade.org> (maintainer)
2005-03-14 12:21:32 +00:00

12 lines
584 B
C

--- src/utilities.C.orig Sat Jan 22 16:15:24 2005
+++ src/utilities.C Sat Jan 22 16:15:45 2005
@@ -275,7 +275,7 @@
return stringdup("Windows User");
}
#else
-#if defined(ARCH_FREEBSD) || defined(ARCH_MACOSX) || defined(ARCH_LINUX) || defined(ARCH_LINUXALPHA) || defined(ARCH_LINUXAMD64) || defined(ARCH_LINUXPPC)
+#if defined(ARCH_FREEBSD) || defined(ARCH_FREEBSDAMD64) || defined(ARCH_MACOSX) || defined(ARCH_LINUX) || defined(ARCH_LINUXALPHA) || defined(ARCH_LINUXAMD64) || defined(ARCH_LINUXPPC)
return stringdup(getlogin());
#else
return stringdup(cuserid(NULL));