]> git.pld-linux.org Git - packages/ocfs2-tools.git/commitdiff
- new auto/th/ocfs2-tools-1_4_1-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 19 Oct 2008 14:18:37 +0000 (14:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ocfs2-tools-ac.patch -> 1.1
    ocfs2-tools-limits.patch -> 1.1

ocfs2-tools-ac.patch [new file with mode: 0644]
ocfs2-tools-limits.patch [new file with mode: 0644]

diff --git a/ocfs2-tools-ac.patch b/ocfs2-tools-ac.patch
new file mode 100644 (file)
index 0000000..76e5bc7
--- /dev/null
@@ -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)
diff --git a/ocfs2-tools-limits.patch b/ocfs2-tools-limits.patch
new file mode 100644 (file)
index 0000000..e82da40
--- /dev/null
@@ -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>
This page took 0.101275 seconds and 4 git commands to generate.