[Buildroot] Issue Applying Patches to Package
Dylan
ohitsdylan at outlook.com
Wed Oct 1 13:55:14 UTC 2025
Hello,
I am trying to patch the psplash package. I've followed the Buildroot
documentation and set up a global patch directory with the package name
and the patches within:
/home/dylan/project_name/external/board/my_board/patches
└── psplash
├── 0001-psplash-config.patch
├── 0002-psplash-colors.patch
├── psplash-colors.h
├── psplash-colors.h.orig
├── psplash-config.h
└── psplash-config.h.orig
When Buildroot tries to patch the psplash package, it returns an error
message, "can't find file to patch at input line 3".
I've included the output of "make psplash-patch V=1" in the pastebin
here: https://paste.ack.tf/ce2678
I'm not sure what I'm doing wrong here; it seems to me that everything
is set up correctly.
I've attached the patch files here, as well.
Thank you,
Dylan
-------------- next part --------------
--- psplash-colors.h.orig 2025-09-03 15:00:12.430488536 -0400
+++ psplash-colors.h 2025-09-03 15:04:11.755677016 -0400
@@ -12,16 +12,16 @@
#define _HAVE_PSPLASH_COLORS_H
/* This is the overall background color */
-#define PSPLASH_BACKGROUND_COLOR 0xec,0xec,0xe1
+#define PSPLASH_BACKGROUND_COLOR 0x00,0x00,0x00
/* This is the color of any text output */
-#define PSPLASH_TEXT_COLOR 0x6d,0x6d,0x70
+#define PSPLASH_TEXT_COLOR 0xff,0xff,0xff
/* This is the color of the progress bar indicator */
-#define PSPLASH_BAR_COLOR 0x6d,0x6d,0x70
+#define PSPLASH_BAR_COLOR 0xff,0xff,0xff
/* This is the color of the progress bar background */
-#define PSPLASH_BAR_BACKGROUND_COLOR 0xec,0xec,0xe1
+#define PSPLASH_BAR_BACKGROUND_COLOR 0x00,0x00,0x00
#endif
-------------- next part --------------
--- psplash-config.h.orig 2025-09-03 15:01:21.282531766 -0400
+++ psplash-config.h 2025-09-03 15:10:18.445116066 -0400
@@ -18,7 +18,7 @@
/* Bool indicating if the image is fullscreen, as opposed to split screen */
#ifndef PSPLASH_IMG_FULLSCREEN
-#define PSPLASH_IMG_FULLSCREEN 0
+#define PSPLASH_IMG_FULLSCREEN 1
#endif
/* Bool indicated if the progress bar should be disabled */
More information about the buildroot
mailing list