SOURCES: ocfs2-tools-ac.patch (NEW), ocfs2-tools-limits.patch (NEW) - new

arekm arekm at pld-linux.org
Sun Oct 19 16:18:42 CEST 2008


Author: arekm                        Date: Sun Oct 19 14:18:42 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   ocfs2-tools-ac.patch (NONE -> 1.1)  (NEW), ocfs2-tools-limits.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ocfs2-tools-ac.patch
diff -u /dev/null SOURCES/ocfs2-tools-ac.patch:1.1
--- /dev/null	Sun Oct 19 16:18:43 2008
+++ SOURCES/ocfs2-tools-ac.patch	Sun Oct 19 16:18:36 2008
@@ -0,0 +1,35 @@
+--- configure.in.org	2008-10-19 15:34:15.802087380 +0200
++++ configure.in	2008-10-19 15:34:53.712083280 +0200
+@@ -226,30 +226,9 @@
+ #
+ CPG_LDFLAGS=
+ if test "x$cpg_found" = "xyes"; then
+-    # Remember, AIS_TRY_PATH starts with a colon ':' on purpose
+-    AIS_TRY_PATH=":/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib"
+-    AC_MSG_CHECKING([for cpg_initialize in -lcpg])
+-    while test "x$AIS_TRY_PATH" != "x"; do
+-	TRY="`echo $AIS_TRY_PATH | cut -f1 -d:`"
+-	AIS_TRY_PATH="`echo $AIS_TRY_PATH | cut -f2- -d:`"
+-
+-	if test "x$TRY" != "x"; then
+-	    TRY="-L${TRY}/openais"
+-	fi
+-        TRY="$TRY"
+-
+-	saved_LDFLAGS="$LDFLAGS"
+-	LDFLAGS="$LDFLAGS $TRY -lcpg"
+-	AC_LINK_IFELSE([AC_LANG_CALL([], [cpg_initialize])],
+-		       [CPG_LDFLAGS="$TRY"])
+-	LDFLAGS="$saved_LDFLAGS"
+-
+-	if test "x$CPG_LDFLAGS" != "x"; then
+-	    break
+-	fi
+-    done
++    AC_CHECK_LIB(cpg, cpg_initialize, [], [cpg_found=no])
+ fi
+-if test "x$CPG_LDFLAGS" != "x"; then
++if test "x$cpg_found" = "xyes"; then
+     AC_MSG_RESULT(yes)
+ else
+     AC_MSG_RESULT(no)

================================================================
Index: SOURCES/ocfs2-tools-limits.patch
diff -u /dev/null SOURCES/ocfs2-tools-limits.patch:1.1
--- /dev/null	Sun Oct 19 16:18:44 2008
+++ SOURCES/ocfs2-tools-limits.patch	Sun Oct 19 16:18:37 2008
@@ -0,0 +1,10 @@
+--- libo2cb/client_proto.c.org	2008-10-19 15:37:40.518733830 +0200
++++ libo2cb/client_proto.c	2008-10-19 15:37:53.005866078 +0200
+@@ -13,6 +13,7 @@
+ #include <stdlib.h>
+ #include <stdarg.h>
+ #include <unistd.h>
++#include <limits.h>
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
================================================================


More information about the pld-cvs-commit mailing list