Author: baggins Date: Tue Mar 17 23:19:25 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- generic fixes that are needed to build e2fsprogs with dietlibc
---- Files affected:
SOURCES:
e2fsprogs-diet.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/e2fsprogs-diet.patch
diff -u /dev/null SOURCES/e2fsprogs-diet.patch:1.1
--- /dev/null Wed Mar 18 00:19:25 2009
+++ SOURCES/e2fsprogs-diet.patch Wed Mar 18 00:19:19 2009
@@ -0,0 +1,41 @@
+diff -ur e2fsprogs-1.41.3/configure.in e2fsprogs-1.41.3-diet/configure.in
+--- e2fsprogs-1.41.3/configure.in 2009-03-17 22:03:38.000000000 +0100
++++ e2fsprogs-1.41.3-diet/configure.in 2009-03-17 22:01:22.000000000 +0100
+@@ -701,7 +701,7 @@
+ [#include <sys/types.h>
+ #include <sys/socket.h>])
+ dnl
+-AC_CHECK_FUNCS(chflags getrusage llseek lseek64 open64 fstat64 ftruncate64
getmntinfo strtoull strcasecmp srandom jrand48 fchown mallinfo fdatasync
strnlen strptime strdup sysconf pathconf posix_memalign memalign valloc
__secure_getenv prctl mmap utime setresuid setresgid usleep nanosleep)
++AC_CHECK_FUNCS(chflags getrusage llseek lseek64 open64 fstat64 stat64
ftruncate64 getmntinfo strtoull strcasecmp srandom jrand48 fchown mallinfo
fdatasync strnlen strptime strdup sysconf pathconf posix_memalign memalign
valloc __secure_getenv prctl mmap utime setresuid setresgid usleep nanosleep)
+ dnl
+ dnl Check to see if -lsocket is required (solaris) to make something
+ dnl that uses socket() to compile; this is needed for the UUID library
+diff -ur e2fsprogs-1.41.3/misc/util.c e2fsprogs-1.41.3-diet/misc/util.c
+--- e2fsprogs-1.41.3/misc/util.c 2008-10-07 16:22:39.000000000 +0200
++++ e2fsprogs-1.41.3-diet/misc/util.c 2009-03-17 22:01:31.000000000 +0100
+@@ -79,7 +79,7 @@
+ void check_plausibility(const char *device)
+ {
+ int val;
+-#ifdef HAVE_OPEN64
++#ifdef HAVE_STAT64
+ struct stat64 s;
+
+ val = stat64(device, &s);
+diff -ur e2fsprogs-1.41.3/MCONFIG.in e2fsprogs-1.41.3-diet/MCONFIG.in
+--- e2fsprogs-1.41.3/MCONFIG.in 2008-10-07 16:22:39.000000000 +0200
++++ e2fsprogs-1.41.3-diet/MCONFIG.in 2009-03-17 19:20:07.000000000 +0100
+@@ -75,11 +75,11 @@
+ LIBE2P = $(LIB)/lib...@lib_ext@
+ LIBEXT2FS = $(LIB)/libext...@lib_ext@
+ LIBUUID = $(LIB)/libu...@lib_ext@ @SOCKET_LIB@
+-LIBBLKID = $(LIB)/libbl...@lib_ext@ @PRIVATE_LIBS_CMT@ $(LIBUUID)
++LIBBLKID = $(LIB)/libbl...@lib_ext@ @PRIVATE_LIBS_CMT@
$(LIB)/libu...@lib_ext@ @SOCKET_LIB@
+ LIBINTL = @LIBINTL@
+ DEPLIBSS = $(LIB)/li...@lib_ext@
+ DEPLIBUUID = $(LIB)/libu...@lib_ext@
+-DEPLIBBLKID = $(LIB)/libbl...@lib_ext@ @PRIVATE_LIBS_CMT@ $(LIBUUID)
++DEPLIBBLKID = $(LIB)/libbl...@lib_ext@ @PRIVATE_LIBS_CMT@
$(LIB)/libu...@lib_ext@ @SOCKET_LIB@
+
+ STATIC_LIBSS = $(LIB)/li...@static_lib_ext@ @DLOPEN_LIB@
+ STATIC_LIBCOM_ERR = $(LIB)/libcom_...@static_lib_ext@ @SEM_INIT_LIB@
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit