• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/kodi-screensaver-rsxs/0001-cross-compile.patch
Bernd KuhlsBernd Kuhls committed 75ce17d0e1521 Feb 2016
Raw file
Source viewDiff to previous
 
1
Fix cross-compilation
2
​
3
Use the cross-compiler and not the host version.
4
​
5
Patch sent upstream:
6
https://github.com/notspiff/screensavers.rsxs/pull/5
7
​
8
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9
​
10
diff -uNr screensavers.rsxs-195e0ec3fbbcb2ee2012cd560e42d05167f0f259.org/CMakeLists.txt screensavers.rsxs-195e0ec3fbbcb2ee2012cd560e42d05167f0f259/CMakeLists.txt
11
--- screensavers.rsxs-195e0ec3fbbcb2ee2012cd560e42d05167f0f259.org/CMakeLists.txt   2015-03-19 12:20:23.000000000 +0100
12
+++ screensavers.rsxs-195e0ec3fbbcb2ee2012cd560e42d05167f0f259/CMakeLists.txt   2015-07-19 20:26:16.660481032 +0200
13
@@ -33,6 +33,11 @@
14
                     ${PROJECT_SOURCE_DIR}/${rsxs_dir}/src/skyrocket
15
                     ${PROJECT_SOURCE_DIR}/${rsxs_dir}/src/solarwinds)
16
                         
17
+
18
+get_filename_component( COMPILER_FILENAME "${CMAKE_C_COMPILER}" NAME )
19
+string( REGEX REPLACE "-[^-]+$" ""
20
+        TOOLCHAIN_NAME "${COMPILER_FILENAME}" )
21
+
22
 include(ExternalProject)
23
 set(update_command "")
24
 if(BOOTSTRAP_IN_TREE OR NOT DEFINED BOOTSTRAP_IN_TREE)
25
@@ -46,8 +51,11 @@
26
   endif()
27
 endif()
28
 externalproject_add(rsxs SOURCE_DIR ${PROJECT_SOURCE_DIR}/${rsxs_dir}
29
-                    CONFIGURE_COMMAND ${configure_start}
30
+                    CONFIGURE_COMMAND gl_cv_func_gettimeofday_clobber=no
31
+                                      ac_cv_func_malloc_0_nonnull=yes
32
+                                      ${configure_start}
33
                                       --prefix=<INSTALL_DIR>
34
+                                      --host=${TOOLCHAIN_NAME}
35
                                       --without-xscreensaver
36
                                       --disable-cyclone
37
                                       --disable-euphoria
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.