pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34120: sysutils/lsof Solaris10 gcc64



>Number:         34120
>Category:       pkg
>Synopsis:       sysutils/lsof Solaris10 gcc64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 01 12:50:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


with 64bits ABI lsof don't compile


>How-To-Repeat:


bmake (with ABI=64)


>Fix:


--- Makefile.orig       Mon Dec  5 21:51:01 2005
+++ Makefile    Tue Aug  1 14:45:31 2006
@@ -36,6 +36,10 @@
 REAL_GROUP=            -g kmem
 .elif ${OPSYS} == "SunOS"
 MAKE_ENV+=             CPPFLAGS=
+.  if ${ABI} == "64"
+# make 32bit data visible in 64bits env. see man -s4 proc and man types32
+CFLAGS.SunOS+= -D_SYSCALL32
+.  endif
 .endif
 INSTALLATION_DIRS=     man/man8 sbin
 






Home | Main Index | Thread Index | Old Index