index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-08-10 13:06:28 +0000 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-08-10 13:06:28 +0000 |
commit | b564ab6807cc8133142c88cb180e4784881e95cf (patch) | |
tree | 31493fbdebd363de855438cdba1e06b8ecf57eaa /core/syslinux | |
parent | 9f07f8e51f08a85c000ed48c7d3e72f38f17c818 (diff) | |
parent | 21ae949aaf08083cbae30d64ee1650adccc365dd (diff) |
-rw-r--r-- | core/syslinux/PKGBUILD | 13 | ||||
-rw-r--r-- | core/syslinux/syslinux-sysmacros.patch | 11 |
diff --git a/core/syslinux/PKGBUILD b/core/syslinux/PKGBUILD new file mode 100644 index 00000000..410b180a --- /dev/null +++ b/core/syslinux/PKGBUILD @@ -0,0 +1,13 @@ +# include sysmacros.h in extlinux, otherwise you get undefined references +# to minor and major + +source+=(syslinux-sysmacros.patch) +sha1sums+=('52c5233da147acd41d542b1673835be966b561e3') + +eval "$( + declare -f prepare | \ + sed ' + /patch.*efi_no_kbd/a patch -p1 < ../syslinux-sysmacros.patch + ' +)" + diff --git a/core/syslinux/syslinux-sysmacros.patch b/core/syslinux/syslinux-sysmacros.patch new file mode 100644 index 00000000..ee7c4b61 --- /dev/null +++ b/core/syslinux/syslinux-sysmacros.patch @@ -0,0 +1,11 @@ +diff -rauN syslinux/extlinux/main.c syslinux-sysmacros-patch/extlinux/main.c +--- syslinux/extlinux/main.c 2018-08-10 11:28:39.164004538 +0200 ++++ syslinux-sysmacros-patch/extlinux/main.c 2018-08-10 11:33:05.410671208 +0200 +@@ -19,6 +19,7 @@ + */ + + #define _GNU_SOURCE /* Enable everything */ ++#include <sys/sysmacros.h> + #include <inttypes.h> + /* This is needed to deal with the kernel headers imported into glibc 3.3.3. */ + #include <alloca.h> |