diff options
-rw-r--r-- | packages/gcc/gcc-4.1.0/pr34130.patch | 16 | ||||
-rw-r--r-- | packages/gcc/gcc-4.1.1/pr34130.patch | 16 | ||||
-rw-r--r-- | packages/inotify-tools/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/inotify-tools/files/no-tests.patch | 31 | ||||
-rw-r--r-- | packages/inotify-tools/inotify-tools_3.12.bb | 14 |
5 files changed, 77 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.1.0/pr34130.patch b/packages/gcc/gcc-4.1.0/pr34130.patch new file mode 100644 index 0000000000..415335f4b4 --- /dev/null +++ b/packages/gcc/gcc-4.1.0/pr34130.patch @@ -0,0 +1,16 @@ +Index: gcc-4.1.2/gcc/fold-const.c +=================================================================== +--- gcc-4.1.2.orig/gcc/fold-const.c 2007-11-21 18:53:42.000000000 +0100 ++++ gcc-4.1.2/gcc/fold-const.c 2007-11-21 18:56:26.000000000 +0100 +@@ -5339,7 +5339,10 @@ + } + break; + } +- /* FALLTHROUGH */ ++ /* If the constant is negative, we cannot simplify this. */ ++ if (tree_int_cst_sgn (c) == -1) ++ break; ++ /* FALLTHROUGH */ + case NEGATE_EXPR: + if ((t1 = extract_muldiv (op0, c, code, wide_type)) != 0) + return fold_build1 (tcode, ctype, fold_convert (ctype, t1)); diff --git a/packages/gcc/gcc-4.1.1/pr34130.patch b/packages/gcc/gcc-4.1.1/pr34130.patch new file mode 100644 index 0000000000..415335f4b4 --- /dev/null +++ b/packages/gcc/gcc-4.1.1/pr34130.patch @@ -0,0 +1,16 @@ +Index: gcc-4.1.2/gcc/fold-const.c +=================================================================== +--- gcc-4.1.2.orig/gcc/fold-const.c 2007-11-21 18:53:42.000000000 +0100 ++++ gcc-4.1.2/gcc/fold-const.c 2007-11-21 18:56:26.000000000 +0100 +@@ -5339,7 +5339,10 @@ + } + break; + } +- /* FALLTHROUGH */ ++ /* If the constant is negative, we cannot simplify this. */ ++ if (tree_int_cst_sgn (c) == -1) ++ break; ++ /* FALLTHROUGH */ + case NEGATE_EXPR: + if ((t1 = extract_muldiv (op0, c, code, wide_type)) != 0) + return fold_build1 (tcode, ctype, fold_convert (ctype, t1)); diff --git a/packages/inotify-tools/files/.mtn2git_empty b/packages/inotify-tools/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/inotify-tools/files/.mtn2git_empty diff --git a/packages/inotify-tools/files/no-tests.patch b/packages/inotify-tools/files/no-tests.patch new file mode 100644 index 0000000000..0df45c0e72 --- /dev/null +++ b/packages/inotify-tools/files/no-tests.patch @@ -0,0 +1,31 @@ +Index: inotify-tools-3.12/configure.ac +=================================================================== +--- inotify-tools-3.12.orig/configure.ac 2007-11-26 22:23:15.000000000 +0100 ++++ inotify-tools-3.12/configure.ac 2007-11-26 22:23:29.000000000 +0100 +@@ -42,16 +42,16 @@ + + + # Checks for header files. +-AC_CHECK_HEADERS([sys/inotify.h mcheck.h]) +-AC_LANG(C) +-AC_MSG_CHECKING([whether sys/inotify.h actually works]) +-AC_RUN_IFELSE( +- AC_LANG_PROGRAM([[#include <sys/inotify.h>]], +- [[return (-1 == inotify_init());]] +- ), +- [AC_MSG_RESULT([yup]); AC_DEFINE([SYS_INOTIFY_H_EXISTS_AND_WORKS],[1],[sys/inotify.h exists and works correctly])], +- [AC_MSG_RESULT([nope, using own inotify headers])] +-) ++#AC_CHECK_HEADERS([sys/inotify.h mcheck.h]) ++#AC_LANG(C) ++#AC_MSG_CHECKING([whether sys/inotify.h actually works]) ++#AC_RUN_IFELSE( ++# AC_LANG_PROGRAM([[#include <sys/inotify.h>]], ++# [[return (-1 == inotify_init());]] ++# ), ++# [AC_MSG_RESULT([yup]); AC_DEFINE([SYS_INOTIFY_H_EXISTS_AND_WORKS],[1],[sys/inotify.h exists and works correctly])], ++# [AC_MSG_RESULT([nope, using own inotify headers])] ++#) + + + diff --git a/packages/inotify-tools/inotify-tools_3.12.bb b/packages/inotify-tools/inotify-tools_3.12.bb new file mode 100644 index 0000000000..2ec511409e --- /dev/null +++ b/packages/inotify-tools/inotify-tools_3.12.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "inotify-tools is a set of command line utilities for the \ +Linux inotify filesystem change notification system." +LICENSE = "GPL" +AUTHOR = "Rohan McGovern" +HOMEPAGE = "http://inotify-tools.sourceforge.net/" +PR = "r0" + +EXTRA_OECONF = "--disable-doxygen" + +SRC_URI = "${SOURCEFORGE_MIRROR}/inotify-tools/inotify-tools-3.12.tar.gz \ +file://no-tests.patch;patch=1" + +inherit autotools + |