Parche para compat-api 0056a79a9d

This commit is contained in:
Sandino Araico Sanchez 2018-12-11 11:52:32 -06:00
parent 3dc7b8a626
commit 9625d4de4b
3 changed files with 26 additions and 1 deletions

View file

@ -1,7 +1,8 @@
AUX 0001-Import-patch-from-Marcin.patch 13238 BLAKE2B 4dc360c4132e2f5689ba6f8a47cdf1a7807a7927f7ffc4705b770e42a9c1cf12d91598f2767fe628675cd26631ce08f0cdca7adba139014b7afc2f42cc4010b4 SHA512 86f1396ab74b26ee93a1090ab06be0d2eb012805c2dcbf1a7ecd671dbb0d5be5b1d1bb5d0f3e1c59bd686aaac0e38a49da98c1c9c3dc4ad6bb7ca7a581d6ceb6
AUX 50-ump.rules 42 BLAKE2B 9990c490e2a50dcf8249583b934e65c5f615f8756004233d2ce9c6f61b00928e7788b02f7b9c5d56909cb1dcf96b176f3e3e5fc424475ba76e118d8dd1d5c549 SHA512 40f2200170f7efe0cf15666299eac7cc67ffd394ed58ffa2093f4db2cb62cac9aa4066d2c4a4afc614382f412a1a41f15aa323e868d3b894fa072923430f2ecc
AUX remove-mibstore-header-include.patch 638 BLAKE2B e2b68bd0e175de16502b16874c323eb0a96991261b0b21fd916d176dc436f80fe84a5063d1c6821c2047c48e54a3963a1cfe908914964bc30e951790630b2c3b SHA512 8bad45bb731c1d1cc7d6ccf3b62a40bdbb4683f7097f5c780a665f82559d6716b3b9475b412f5042654625ccdfa4d164b6fa3bd9d26b7bea5dd18b9f483cf664
AUX xf86-video-armsoc-compat-api.patch 1071 BLAKE2B afdf1044c2dcf235a957069fbf0eb7bfe68b0251eca52eb617778b2950f0443a47b62829e0c8c24af12818735577b75de975733ce36bfe3aed44a6d08b04597d SHA512 aaa0d2f4da5e50309c2d8a0b6f53933ca522d67afb41d8214963b0883e0feadba69a3b36e3aaadc4b05fa12c75a467f3aa79013e741ac727eb49ca6e739a3a1f
AUX xf86-video-armsoc-implicit_declaration.patch 349 BLAKE2B ecf5eece6a2c2d7d343bc3bf51efff9cc14dd3da82a487a53767c2fdb9eda98882fccf030ea254bb49f5dd0d6d135e8aac669740d2e023254924cce5fbdffb96 SHA512 25b9ccbcea91ef8fef94a1a4f42ca36e908d2892506e5fa92bb3cf687768e4e8a041b85c0b8e9d973bbb87a8b24b28644b29b51fea811ac8264a38a2656d4e1f
DIST xf86-video-armsoc-0.6.0-r100.tar.gz 50938 BLAKE2B b6a4b78a146d54abb937308ced2ea6164fc0aec7789a632891bf52f7226c5e8fb6da42c49707d8fcc5332e7c26eabbf799aa8678a3a56f462d69820a921fc73f SHA512 c3e59be74c3b4d43f2dcf5102ac0eb3284a5fd15195db235c5abc55c97039629415b99c40a972b5756454c4609a3ac55f49fc237d8587d9940aef7f0636d8284
EBUILD xf86-video-armsoc-0.6.0-r100.ebuild 1169 BLAKE2B 32161d0f653e8afb7eae5401a543335b25162460204de9c96628caf152ab1a5911650a100bdcc59c6b0bcb5e021d107b038fdc2b1b41c3a0935d70aa44ab5b5f SHA512 e0235740ce8640827d85a66dfeab571960b57e458fdf9ee3b0cf31b1221da0fa4e0831d9c875a0da08381831dbc05bcbedfbddb8241f32570af958bac227f6be
EBUILD xf86-video-armsoc-9999-r100.ebuild 1457 BLAKE2B 94b37bf3666a357be3f2abbb6b9f5c73bc6e3dd7378304b23eae811b724d83e5b5533ddee772c274573b3e7bf3994d0a1811c9f98fd8fda5d6cd3437c3dcbb87 SHA512 a4d59576d79bbd2c24984eb230b25a431514ade50adea4266672cf5d42f474df1343bb961326964e75a111ab3268861825ee6828722db0a82dba6653f1fa3bd2
EBUILD xf86-video-armsoc-9999-r100.ebuild 1502 BLAKE2B eb1b6fffc6c78be512b8d113a8f9b8cff7d831cd8de8702fdf653431838e1e6ae553e86fb5818f59b67086e557266adf37c2138f56bde0dfc2258e477350ae93 SHA512 4c9794379392ee96051c48365488d3216dedd4c8c4e174c7fee96416169069e6bb47749f2ea69dc9e009ee671f78195968081a79e07bc6e5d951e3b01f1a4903

View file

@ -0,0 +1,23 @@
diff -puriN xf86-video-armsoc.orig/src/compat-api.h xf86-video-armsoc/src/compat-api.h
--- xf86-video-armsoc.orig/src/compat-api.h 2018-11-16 07:13:46.000000000 -0600
+++ xf86-video-armsoc/src/compat-api.h 2018-12-11 11:46:04.270021934 -0600
@@ -77,9 +77,17 @@
#define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
-#define BLOCKHANDLER_ARGS_DECL \
- ScreenPtr arg, pointer pTimeout, pointer pReadmask
+#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,17,0,0,0)
#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
+#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
+#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
+#elif XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,19,0,0,0)
+#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, void* pTimeout, void* pReadmask
+#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
+#else
+#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, void* pTimeout
+#define BLOCKHANDLER_ARGS arg, pTimeout
+#endif
#define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
#define CLOSE_SCREEN_ARGS pScreen

View file

@ -44,6 +44,7 @@ src_prepare() {
|| die "could not tweak makefile.am!"
epatch "${FILESDIR}"/${PN}-implicit_declaration.patch
epatch "${FILESDIR}"/${PN}-compat-api.patch
xorg-2_src_prepare
}