Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: andersen at uclibc.org <andersen@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/lsof
Date: Thu, 24 Aug 2006 19:13:47 -0700 (PDT)	[thread overview]
Message-ID: <20060825021347.7224EC8101@busybox.net> (raw)

Author: andersen
Date: 2006-08-24 19:13:46 -0700 (Thu, 24 Aug 2006)
New Revision: 15990

Log:
fixup lsof so it will apply patches, and compile when rpc is disabled


Added:
   trunk/buildroot/package/lsof/lsof-noportmap.patch

Modified:
   trunk/buildroot/package/lsof/lsof.mk


Changeset:
Added: trunk/buildroot/package/lsof/lsof-noportmap.patch
===================================================================
--- trunk/buildroot/package/lsof/lsof-noportmap.patch	2006-08-24 23:47:02 UTC (rev 15989)
+++ trunk/buildroot/package/lsof/lsof-noportmap.patch	2006-08-25 02:13:46 UTC (rev 15990)
@@ -0,0 +1,18 @@
+--- lsof_4.77/lsof_4.77_src/print.orig.c	2006-08-23 13:37:43.000000000 -0600
++++ lsof_4.77/lsof_4.77_src/print.c	2006-08-23 13:38:29.000000000 -0600
+@@ -148,6 +148,7 @@
+ static void
+ fill_portmap()
+ {
++#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_RPC__)
+ 	char buf[128], *cp, *nm;
+ 	CLIENT *c;
+ 	int h, port, pr;
+@@ -266,6 +267,7 @@
+ 	    Pth[pr][h] = pt;
+ 	}
+ 	clnt_destroy(c);
++#endif
+ }
+ 
+ 

Modified: trunk/buildroot/package/lsof/lsof.mk
===================================================================
--- trunk/buildroot/package/lsof/lsof.mk	2006-08-24 23:47:02 UTC (rev 15989)
+++ trunk/buildroot/package/lsof/lsof.mk	2006-08-25 02:13:46 UTC (rev 15990)
@@ -20,6 +20,7 @@
 $(LSOF_DIR)/.unpacked: $(DL_DIR)/$(LSOF_SOURCE)
 	$(LSOF_CAT) $(DL_DIR)/$(LSOF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	(cd $(LSOF_DIR);tar xf lsof_4.77_src.tar;rm -f lsof_4.77_src.tar)
+	toolchain/patch-kernel.sh $(LSOF_DIR) package/lsof/ *.patch
 	touch $(LSOF_DIR)/.unpacked
 
 $(LSOF_DIR)/.configured: $(LSOF_DIR)/.unpacked

             reply	other threads:[~2006-08-25  2:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-25  2:13 andersen at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-10-02 18:40 [Buildroot] svn commit: trunk/buildroot/package/lsof andersen at uclibc.org
2006-10-03  8:40 ` Bernhard Fischer
2006-10-03 18:41   ` Erik Andersen
2006-11-29 12:59 aldot at uclibc.org
2006-12-13 23:08 aldot at uclibc.org
2007-05-15 11:23 aldot at uclibc.org
2007-10-21 12:02 vanokuten at uclibc.org
2008-06-16 12:29 jacmet at uclibc.org
2008-10-23 18:54 jacmet at uclibc.org

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=20060825021347.7224EC8101@busybox.net \
    --to=andersen@uclibc.org \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox