From c4ae6e3ba424d4e47d1728041c04745c8e160518 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Sat, 2 Oct 2010 17:11:34 +0200 Subject: cdrkit: files dir renamed to cdrkit Signed-off-by: Frans Meulenbroeks --- recipes/cdrkit/cdrkit/xconfig.patch | 25 +++++++++++++++++++++++++ recipes/cdrkit/files/xconfig.patch | 25 ------------------------- 2 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 recipes/cdrkit/cdrkit/xconfig.patch delete mode 100644 recipes/cdrkit/files/xconfig.patch (limited to 'recipes/cdrkit') diff --git a/recipes/cdrkit/cdrkit/xconfig.patch b/recipes/cdrkit/cdrkit/xconfig.patch new file mode 100644 index 0000000000..866b602a35 --- /dev/null +++ b/recipes/cdrkit/cdrkit/xconfig.patch @@ -0,0 +1,25 @@ +--- cdrkit-1.1.9/include/xconfig.h.in.orig 2006-12-02 12:10:05.000000000 +0100 ++++ cdrkit-1.1.9/include/xconfig.h.in 2009-03-08 13:29:05.000000000 +0100 +@@ -233,7 +233,11 @@ + /* If using network byte order */ + #cmakedefine WORDS_BIGENDIAN + /* If high bits come first in structures */ +-#cmakedefine BITFIELDS_HTOL ++#ifdef WORDS_BIGENDIAN ++#define BITFIELDS_HTOL ++#else ++#define BITFIELDS_LTOH ++#endif + #define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */ + #define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */ + +--- cdrkit-1.1.9/include/CMakeLists.txt.orig 2010-09-27 23:17:34.000000000 +0000 ++++ cdrkit-1.1.9/include/CMakeLists.txt 2010-09-27 23:17:58.000000000 +0000 +@@ -35,7 +35,6 @@ + INCLUDE(TestBigEndian) + TEST_BIG_ENDIAN(WORDS_BIGENDIAN) + +-TRY_RUN(BITFIELDS_HTOL TEST_DUMMY ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/test_BITFIELDS_HTOL.c) + + INCLUDE(CheckIncludeFiles) + diff --git a/recipes/cdrkit/files/xconfig.patch b/recipes/cdrkit/files/xconfig.patch deleted file mode 100644 index 866b602a35..0000000000 --- a/recipes/cdrkit/files/xconfig.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- cdrkit-1.1.9/include/xconfig.h.in.orig 2006-12-02 12:10:05.000000000 +0100 -+++ cdrkit-1.1.9/include/xconfig.h.in 2009-03-08 13:29:05.000000000 +0100 -@@ -233,7 +233,11 @@ - /* If using network byte order */ - #cmakedefine WORDS_BIGENDIAN - /* If high bits come first in structures */ --#cmakedefine BITFIELDS_HTOL -+#ifdef WORDS_BIGENDIAN -+#define BITFIELDS_HTOL -+#else -+#define BITFIELDS_LTOH -+#endif - #define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */ - #define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */ - ---- cdrkit-1.1.9/include/CMakeLists.txt.orig 2010-09-27 23:17:34.000000000 +0000 -+++ cdrkit-1.1.9/include/CMakeLists.txt 2010-09-27 23:17:58.000000000 +0000 -@@ -35,7 +35,6 @@ - INCLUDE(TestBigEndian) - TEST_BIG_ENDIAN(WORDS_BIGENDIAN) - --TRY_RUN(BITFIELDS_HTOL TEST_DUMMY ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/test_BITFIELDS_HTOL.c) - - INCLUDE(CheckIncludeFiles) - -- cgit 1.2.3-korg