SOURCES: e2fsprogs-diet.patch (NEW) - generic fixes that are needed to buil...

baggins baggins at pld-linux.org
Wed Mar 18 00:19:25 CET 2009


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)/libe2p at LIB_EXT@
+ LIBEXT2FS = $(LIB)/libext2fs at LIB_EXT@
+ LIBUUID = $(LIB)/libuuid at LIB_EXT@ @SOCKET_LIB@
+-LIBBLKID = $(LIB)/libblkid at LIB_EXT@ @PRIVATE_LIBS_CMT@ $(LIBUUID)
++LIBBLKID = $(LIB)/libblkid at LIB_EXT@ @PRIVATE_LIBS_CMT@ $(LIB)/libuuid at LIB_EXT@ @SOCKET_LIB@
+ LIBINTL = @LIBINTL@
+ DEPLIBSS = $(LIB)/libss at LIB_EXT@
+ DEPLIBUUID = $(LIB)/libuuid at LIB_EXT@
+-DEPLIBBLKID = $(LIB)/libblkid at LIB_EXT@ @PRIVATE_LIBS_CMT@ $(LIBUUID)
++DEPLIBBLKID = $(LIB)/libblkid at LIB_EXT@ @PRIVATE_LIBS_CMT@ $(LIB)/libuuid at LIB_EXT@ @SOCKET_LIB@
+ 
+ STATIC_LIBSS = $(LIB)/libss at STATIC_LIB_EXT@ @DLOPEN_LIB@
+ STATIC_LIBCOM_ERR = $(LIB)/libcom_err at STATIC_LIB_EXT@ @SEM_INIT_LIB@
================================================================


More information about the pld-cvs-commit mailing list