From: Patrick Mauritz <oxygene@studentenbude.ath.cx>
To: git@vger.kernel.org
Subject: patches
Date: Tue, 06 Sep 2005 01:24:03 +0200 [thread overview]
Message-ID: <1125962642.15293.20.camel@divert> (raw)
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
Hi,
attached are two patches:
the first fixes some build issues on solaris10/x86 with sunpro (and some
that also happen with gcc), while the second adds a simple way to add
additional search and link paths for curl library and headers.
patrick mauritz
(not on the list, please Cc:)
[-- Attachment #2: patch-20050817-1-build --]
[-- Type: text/x-patch, Size: 1229 bytes --]
diff -ur git-core-0.99.4.orig/convert-cache.c git-core-0.99.4/convert-cache.c
--- git-core-0.99.5.orig/convert-cache.c Wed Aug 17 09:55:00 2005
+++ git-core-0.99.5/convert-cache.c Wed Aug 17 09:58:48 2005
@@ -1,4 +1,5 @@
#define _XOPEN_SOURCE /* glibc2 needs this */
+#define __EXTENSIONS__ /* solaris needs this */
#include <time.h>
#include <ctype.h>
#include "cache.h"
diff -ur git-core-0.99.4.orig/ident.c git-core-0.99.4/ident.c
--- git-core-0.99.5.orig/ident.c Wed Aug 17 09:55:00 2005
+++ git-core-0.99.5/ident.c Wed Aug 17 09:57:54 2005
@@ -36,12 +36,13 @@
memcpy(real_email, pw->pw_name, len);
real_email[len++] = '@';
gethostname(real_email + len, sizeof(real_email) - len);
+#ifndef __sun
if (!strchr(real_email+len, '.')) {
len = strlen(real_email);
real_email[len++] = '.';
getdomainname(real_email+len, sizeof(real_email)-len);
}
-
+#endif
/* And set the default date */
datestamp(real_date, sizeof(real_date));
return 0;
--- git-core-0.99.5/Makefile~ Thu Aug 25 03:54:24 2005
+++ git-core-0.99.5/Makefile Tue Sep 6 01:18:32 2005
@@ -146,7 +146,11 @@
endif
endif
endif
+ifeq ($(shell uname -s),SunOS)
+ LIBS += -lsocket
+endif
+
DEFINES += '-DSHA1_HEADER=$(SHA1_HEADER)'
[-- Attachment #3: patch-20050906-2-curl --]
[-- Type: text/plain, Size: 609 bytes --]
--- git-core-0.99.5/Makefile~ Tue Sep 6 01:13:29 2005
+++ git-core-0.99.5/Makefile Tue Sep 6 01:15:40 2005
@@ -34,7 +34,14 @@
GIT_VERSION = 0.99.5
-CFLAGS = -g -O2 -Wall
+ifndef COPTS
+COPTS = -g -O2 -Wall
+endif
+CFLAGS = $(COPTS)
+ifdef CURLDIR
+CFLAGS+=-I$(CURLDIR)/include
+endif
+
ALL_CFLAGS = $(CFLAGS) $(DEFINES)
prefix = $(HOME)
@@ -172,7 +179,11 @@
git-ssh-pull: rsh.o pull.o
git-ssh-push: rsh.o
+ifdef CURLDIR
+git-http-pull: LIBS += -lcurl -L$(CURLDIR)/lib -R$(CURLDIR)/lib
+else
git-http-pull: LIBS += -lcurl
+endif
git-rev-list: LIBS += $(OPENSSL_LIBSSL)
init-db.o: init-db.c
next reply other threads:[~2005-09-05 23:23 UTC|newest]
Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-05 23:24 Patrick Mauritz [this message]
2005-09-08 2:06 ` patches Junio C Hamano
2005-09-08 10:11 ` patches Patrick Mauritz
2005-09-09 22:25 ` patches Jason Riedy
2005-09-12 5:39 ` [PATCH] getdomainname should be usable on SunOS with -lnsl Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2025-04-02 6:43 patches Julia Lawall
2025-04-02 7:00 ` patches Samuel Abraham
2025-04-02 7:22 ` patches Julia Lawall
2025-04-02 7:30 ` patches Samuel Abraham
2025-04-02 7:15 ` patches Erick Karanja
2025-04-02 7:38 ` patches Julia Lawall
2025-03-21 13:35 patches Julia Lawall
[not found] ` <CAK=KnqQ4HmEVjWQZiv2xzVhLEwJMZxtWfKb51XyhVyBQOziYEg@mail.gmail.com>
[not found] ` <7a7648c5-2731-dc20-224-d5bb639b1c58@inria.fr>
[not found] ` <95e69530e3b03f56f4218b8c03a2ca520a0ae6bf.camel@gmail.com>
[not found] ` <8e95cbac-6b5d-f6fa-e0f5-4c4b42321cd2@inria.fr>
[not found] ` <CAK=KnqRsZdAq5FAJo4S0gQbs_PFAm0YrXdBwc-jA7-K1QJhGNg@mail.gmail.com>
[not found] ` <617cbba7-67a6-8ebd-bde8-e5e39a786d2@inria.fr>
[not found] ` <CAK=KnqS_PC-zKp0yjq4SBFicv+j+PYnpAkCRjpjeKb5OXjNeHQ@mail.gmail.com>
[not found] ` <721cf04a-5ef1-1829-54ca-96d07f498422@inria.fr>
[not found] ` <CAK=KnqRnHK=fma-s63ppm=vZEYhe7SWhKSB6H0cb8i69pUW7FA@mail.gmail.com>
[not found] ` <CAK=KnqTbWps0B6B+XgP9gY+Jy8ATJqz0Qb8kPMvyHb0wDkNSKA@mail.gmail.com>
2025-03-25 6:24 ` patches Julia Lawall
2025-03-25 6:27 ` patches erick karanja
2013-06-23 21:57 patches Peter Meerwald
2013-03-07 10:02 Patches Miles Rout
2013-03-07 12:07 ` Patches Daniel Mack
2012-06-14 18:12 Patches Peter Senna Tschudin
2012-06-14 21:27 ` Patches Rodney Baker
2012-06-14 21:43 ` Patches Randy Dunlap
2012-06-15 0:23 ` Patches Peter Senna Tschudin
2012-06-15 11:15 ` Patches Ezequiel Garcia
2012-06-15 16:15 ` Patches Randy Dunlap
2011-10-13 14:58 patches Sascha Hauer
2010-07-26 7:58 patches Maarten Vanraes
2010-07-14 0:05 patches Maarten Vanraes
[not found] ` <201007140205.35944.maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-07-21 11:33 ` patches Harald Hoyer
[not found] ` <4C46DAF1.1090603-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-21 15:18 ` patches Maarten Vanraes
[not found] ` <201007211718.28574.maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-07-26 7:42 ` patches Maarten Vanraes
2010-07-21 11:41 ` patches Harald Hoyer
[not found] ` <4C46DCD0.3020608-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-21 15:03 ` patches Maarten Vanraes
[not found] ` <201007211703.36797.maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-07-21 15:13 ` patches Harald Hoyer
[not found] ` <4C470EAD.705-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-21 15:20 ` patches Maarten Vanraes
2009-10-22 21:39 Patches David Lanzendörfer
2009-10-22 21:44 ` Patches David Lanzendörfer
2009-11-05 19:59 ` Patches Michael 'Mickey' Lauer
2009-11-05 21:33 ` Patches Koen Kooi
2009-11-05 22:09 ` Patches Marcin Juszkiewicz
2009-11-05 22:42 ` Patches Michael 'Mickey' Lauer
2009-11-07 16:30 ` Patches Klaus 'mrmoku' Kurzmann
2009-11-08 12:13 ` Patches Michael 'Mickey' Lauer
2009-10-22 21:35 Patches David Lanzendörfer
2009-11-05 19:55 ` Patches Michael 'Mickey' Lauer
2008-08-08 19:03 Patches Morey Roof
2008-01-23 12:35 Patches Marco Gerards
2008-01-23 13:11 ` Patches Robert Millan
2007-11-26 2:27 patches J. Bruce Fields
2007-04-23 7:05 patches Gerrit Renker
2006-10-20 17:00 patches Michael Labuschke
2006-10-23 4:19 ` patches Neil Brown
2006-09-12 20:47 Patches Thomas Koeller
2006-09-13 12:27 ` Patches Ralf Baechle
2006-09-13 13:02 ` Patches Franck Bui-Huu
2004-07-30 1:19 patches David S. Miller
2004-07-30 1:24 ` patches Herbert Xu
2004-07-30 2:20 ` patches David S. Miller
2004-07-30 2:22 ` patches Herbert Xu
2004-07-30 1:26 ` patches Herbert Xu
2004-07-30 2:30 ` patches David S. Miller
2004-05-10 14:46 patches amine.baina
2004-05-10 9:21 Depend on CONFIG_AUDIT? Thomas Bleher
2004-05-10 12:10 ` Stephen Smalley
2004-05-10 14:56 ` patches amine.baina
2004-05-03 16:56 [patch] Add devnull initial SID to policy Stephen Smalley
2004-05-10 14:59 ` patches maxence.bernard
2004-05-10 14:39 ` patches Stephen Smalley
2004-01-19 16:23 patches Peter Gerbrandt
2002-08-30 21:38 Patches Russell King
2001-01-25 6:11 Patches Alan Cox
2001-01-25 10:08 ` Patches David Woodhouse
2001-01-25 14:59 ` Patches Mike A. Harris
2001-01-25 10:23 ` Patches David Woodhouse
2001-01-25 13:31 ` Patches Daniel Phillips
2001-01-25 13:41 ` Patches Chris Wedgwood
2001-01-25 20:22 ` Patches Thunder from the hill
2001-01-26 18:22 ` Patches Marc Mutz
2001-01-29 14:41 ` Patches Thunder from the hill
2001-01-25 13:42 ` Patches Jeff Garzik
2001-01-18 6:34 Patches Alan Cox
2000-07-08 0:17 Patches Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1125962642.15293.20.camel@divert \
--to=oxygene@studentenbude.ath.cx \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.