summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/pvfs2/files/2.6.3-link-librt-properly.patch')
-rw-r--r--sys-cluster/pvfs2/files/2.6.3-link-librt-properly.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-cluster/pvfs2/files/2.6.3-link-librt-properly.patch b/sys-cluster/pvfs2/files/2.6.3-link-librt-properly.patch
new file mode 100644
index 000000000000..ac85f016924e
--- /dev/null
+++ b/sys-cluster/pvfs2/files/2.6.3-link-librt-properly.patch
@@ -0,0 +1,12 @@
+diff -urN pvfs-2.6.0.orig/maint/config/rt.m4 pvfs-2.6.0/maint/config/rt.m4
+--- pvfs-2.6.0.orig/maint/config/rt.m4 2006-12-10 23:16:47.000000000 -0800
++++ pvfs-2.6.0/maint/config/rt.m4 2006-12-10 23:36:17.000000000 -0800
+@@ -12,7 +12,7 @@
+ [lio_listio(LIO_NOWAIT, NULL, 0, NULL);],
+ [AC_MSG_RESULT(no)],
+ [
+- LDFLAGS="$LDFLAGS -lrt"
++ LIBS="$LIBS -lrt"
+ AC_TRY_LINK(
+ [#include <stdlib.h>
+ #include <unistd.h>