diff options
-rw-r--r-- | recipes/e2fsprogs/e2fsprogs-1.41.9/llseek-uclibc.patch | 24 | ||||
-rw-r--r-- | recipes/e2fsprogs/e2fsprogs_1.41.9.bb | 4 |
2 files changed, 27 insertions, 1 deletions
diff --git a/recipes/e2fsprogs/e2fsprogs-1.41.9/llseek-uclibc.patch b/recipes/e2fsprogs/e2fsprogs-1.41.9/llseek-uclibc.patch new file mode 100644 index 0000000000..026db2a47d --- /dev/null +++ b/recipes/e2fsprogs/e2fsprogs-1.41.9/llseek-uclibc.patch @@ -0,0 +1,24 @@ +diff -ur e2fsprogs-1.41.9.orig/lib/blkid/llseek.c e2fsprogs-1.41.9/lib/blkid/llseek.c +--- e2fsprogs-1.41.9.orig/lib/blkid/llseek.c 2009-08-13 11:09:57.000000000 +0930 ++++ e2fsprogs-1.41.9/lib/blkid/llseek.c 2010-12-01 13:23:48.000000000 +1030 +@@ -28,7 +28,7 @@ + + #include "blkidP.h" + +-#ifdef __linux__ ++#if defined(__linux__) && !(defined(__UCLIBC__) && !defined(__USE_FILE_OFFSET64)) + + #if defined(HAVE_LSEEK64) && defined(HAVE_LSEEK64_PROTOTYPE) + +diff -ur e2fsprogs-1.41.9.orig/lib/ext2fs/llseek.c e2fsprogs-1.41.9/lib/ext2fs/llseek.c +--- e2fsprogs-1.41.9.orig/lib/ext2fs/llseek.c 2009-08-13 11:09:57.000000000 +0930 ++++ e2fsprogs-1.41.9/lib/ext2fs/llseek.c 2010-12-01 13:18:26.000000000 +1030 +@@ -28,7 +28,7 @@ + #include "et/com_err.h" + #include "ext2fs/ext2_io.h" + +-#ifdef __linux__ ++#if defined(__linux__) && !(defined(__UCLIBC__) && !defined(__USE_FILE_OFFSET64)) + + #if defined(HAVE_LSEEK64) && defined(HAVE_LSEEK64_PROTOTYPE) + diff --git a/recipes/e2fsprogs/e2fsprogs_1.41.9.bb b/recipes/e2fsprogs/e2fsprogs_1.41.9.bb index 6a8c113116..026e35af2e 100644 --- a/recipes/e2fsprogs/e2fsprogs_1.41.9.bb +++ b/recipes/e2fsprogs/e2fsprogs_1.41.9.bb @@ -1,6 +1,8 @@ require e2fsprogs.inc -PR = "${INC_PR}" +PR = "${INC_PR}.1" + +SRC_URI += "file://llseek-uclibc.patch" do_configure() { oe_runconf |