git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* minor patch required to compile git 2.26.1 on Oracle Solaris 10 with Oracle Studio
@ 2020-04-19  4:52 Dennis Clarke
  2020-04-19  5:35 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Dennis Clarke @ 2020-04-19  4:52 UTC (permalink / raw)
  To: git



Very minor patch required :


--- ./compat/inet_ntop.c.orig   Tue Apr 14 01:51:03 2020
+++ ./compat/inet_ntop.c        Sun Apr 19 04:16:39 2020
@@ -168,7 +168,7 @@
   *     Paul Vixie, 1996.
   */
  const char *
-inet_ntop(int af, const void *src, char *dst, size_t size)
+inet_ntop(int af, const void *src, char *dst, unsigned int size)
  {
         switch (af) {
         case AF_INET:
--- ./git-compat-util.h.orig    Tue Apr 14 01:51:03 2020
+++ ./git-compat-util.h Sun Apr 19 03:56:17 2020
@@ -795,7 +795,7 @@
  #endif

  #ifdef NO_INET_NTOP
-const char *inet_ntop(int af, const void *src, char *dst, size_t size);
+const char *inet_ntop(int af, const void *src, char *dst, unsigned int 
size);
  #endif

  #ifdef NO_PTHREADS
#
# exit

That allows compile to proceed beatly with :

alpha$
alpha$ cc -V
cc: Studio 12.6 Sun C 5.15 SunOS_sparc 2017/05/30



-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-04-23  5:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-19  4:52 minor patch required to compile git 2.26.1 on Oracle Solaris 10 with Oracle Studio Dennis Clarke
2020-04-19  5:35 ` Junio C Hamano
2020-04-22  8:09   ` Jeff King
2020-04-22  8:11     ` Jeff King
2020-04-23  0:09       ` Dennis Clarke
2020-04-23  5:41         ` Kevin Daudt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).