From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/sfdisk
Date: Fri, 17 Nov 2006 03:54:45 -0800 (PST) [thread overview]
Message-ID: <20061117115445.7111B48613@busybox.net> (raw)
Author: aldot
Date: 2006-11-17 03:54:45 -0800 (Fri, 17 Nov 2006)
New Revision: 16558
Log:
- I had to apply this patch to get it to build with a uClibc-snapshot..
Added:
trunk/buildroot/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
Modified:
trunk/buildroot/package/sfdisk/sfdisk.mk
Changeset:
Added: trunk/buildroot/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
===================================================================
--- trunk/buildroot/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch 2006-11-17 11:52:58 UTC (rev 16557)
+++ trunk/buildroot/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch 2006-11-17 11:54:45 UTC (rev 16558)
@@ -0,0 +1,12 @@
+--- sfdisk/sfdisk.c.oorig 2006-10-09 16:24:06.000000000 +0200
++++ sfdisk/sfdisk.c 2006-10-09 16:24:20.000000000 +0200
+@@ -47,6 +47,9 @@
+ #include <sys/stat.h>
+ #include <sys/utsname.h>
+ #ifdef __linux__
++#define _LIBC
++#include <sys/syscall.h>
++#undef _LIBC
+ #include <linux/unistd.h> /* _syscall */
+ #endif
+ #include "nls.h"
Modified: trunk/buildroot/package/sfdisk/sfdisk.mk
===================================================================
--- trunk/buildroot/package/sfdisk/sfdisk.mk 2006-11-17 11:52:58 UTC (rev 16557)
+++ trunk/buildroot/package/sfdisk/sfdisk.mk 2006-11-17 11:54:45 UTC (rev 16558)
@@ -10,10 +10,13 @@
$(DL_DIR)/$(SFDISK_SOURCE):
$(WGET) -P $(DL_DIR) $(SFDISK_SITE)/$(SFDISK_SOURCE)
-$(SFDISK_DIR): $(DL_DIR)/$(SFDISK_SOURCE)
+$(SFDISK_DIR)/.patched: $(DL_DIR)/$(SFDISK_SOURCE)
bzcat $(DL_DIR)/$(SFDISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(SFDISK_DIR) package/sfdisk/ sfdisk.\*.patch
+ touch $@
+
-$(SFDISK_DIR)/sfdisk: $(SFDISK_DIR)
+$(SFDISK_DIR)/sfdisk: $(SFDISK_DIR)/.patched
$(MAKE) \
CROSS=$(TARGET_CROSS) DEBUG=false OPTIMIZATION="$(TARGET_CFLAGS)" \
-C $(SFDISK_DIR)
next reply other threads:[~2006-11-17 11:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-17 11:54 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-04-17 13:23 [Buildroot] svn commit: trunk/buildroot/package/sfdisk nkukard at uclibc.org
2008-04-17 13:35 ` sjhill at realitydiluted.com
2008-04-17 13:48 ` Nigel Kukard
2008-04-17 13:56 ` Nigel Kukard
2008-04-17 13:40 nkukard at uclibc.org
2008-04-17 13:47 nkukard at uclibc.org
2008-04-17 14:16 ` sjhill at realitydiluted.com
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=20061117115445.7111B48613@busybox.net \
--to=aldot@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