Fix: implicit declaration of function ‘AddGeneralSocket’
This commit is contained in:
parent
a13a7d3668
commit
8c7a27afb5
3 changed files with 28 additions and 1 deletions
|
@ -1,8 +1,9 @@
|
|||
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-GeneralSocket.patch 951 BLAKE2B 2dd9b2f61aff016abe1eff6ee406287868cbe4fe83871a91941b45596d8ed74f861e49b60adfd064025b3b0c8e8ea2ab4a434c8324c8f400efc81382a4bebf79 SHA512 5f1d04db7fdfda7cdb0dcb0e3330686fe83ee0b5baa445df95b1d9c6a7a4c9df9bf92570a3473e70af82389c727b8de06cb7ea488a72a5cc9e57bc73047d1a1b
|
||||
AUX xf86-video-armsoc-compat-api.patch 1334 BLAKE2B c96e76f40ac0d903e1c5f05007ad8577ef68f6b746985de37276ba1319e75c1406430891017ffc98e886f3edeb3ee9444d1bd7296c25bbf34543cffd2b8c89d4 SHA512 4bfddd7973b76f812722b8b67e78596161feb9ee02773d9f59b823dd6d6080dab386d472672477b7e6855c8055f93440aa7af293ceecb7785be597d51b59121c
|
||||
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 1502 BLAKE2B eb1b6fffc6c78be512b8d113a8f9b8cff7d831cd8de8702fdf653431838e1e6ae553e86fb5818f59b67086e557266adf37c2138f56bde0dfc2258e477350ae93 SHA512 4c9794379392ee96051c48365488d3216dedd4c8c4e174c7fee96416169069e6bb47749f2ea69dc9e009ee671f78195968081a79e07bc6e5d951e3b01f1a4903
|
||||
EBUILD xf86-video-armsoc-9999-r100.ebuild 1550 BLAKE2B f634c8ad5b900332bb745dcf0ca8edc57d46dc74fe3d1f1a20205c6a7264dcef3907066ad7f99237a1a98b509defafec9970c29db79ef71e2c85850feebf34ae SHA512 81e5064683241d92e667d3be93b05d6828306691957bf95fc981b37129bc275558c7d4dd5e839d5c1f696c422ba318b0440952ce0ee1f20b105a33887dc09e2b
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
diff -puriN xf86-video-armsoc.2/src/drmmode_display.c xf86-video-armsoc/src/drmmode_display.c
|
||||
--- xf86-video-armsoc.2/src/drmmode_display.c 2018-11-16 07:26:04.000000000 -0600
|
||||
+++ xf86-video-armsoc/src/drmmode_display.c 2018-12-11 19:24:05.050035038 -0600
|
||||
@@ -1901,7 +1901,9 @@ drmmode_wakeup_handler(pointer data, int
|
||||
|
||||
void drmmode_init_wakeup_handler(struct ARMSOCRec *pARMSOC)
|
||||
{
|
||||
- AddGeneralSocket(pARMSOC->drmFD);
|
||||
+ FD_SET(pARMSOC->drmFD, &AllSockets);
|
||||
+ if (GrabInProgress)
|
||||
+ FD_SET(pARMSOC->drmFD, &SavedAllSockets);
|
||||
RegisterBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA,
|
||||
drmmode_wakeup_handler, pARMSOC);
|
||||
}
|
||||
@@ -1910,7 +1912,9 @@ void drmmode_fini_wakeup_handler(struct
|
||||
{
|
||||
RemoveBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA,
|
||||
drmmode_wakeup_handler, pARMSOC);
|
||||
- RemoveGeneralSocket(pARMSOC->drmFD);
|
||||
+ FD_CLR(pARMSOC->drmFD, &AllSockets);
|
||||
+ if (GrabInProgress)
|
||||
+ FD_CLR(pARMSOC->drmFD, &SavedAllSockets);
|
||||
}
|
||||
|
||||
void
|
|
@ -45,6 +45,7 @@ src_prepare() {
|
|||
|
||||
epatch "${FILESDIR}"/${PN}-implicit_declaration.patch
|
||||
epatch "${FILESDIR}"/${PN}-compat-api.patch
|
||||
epatch "${FILESDIR}"/${PN}-GeneralSocket.patch
|
||||
|
||||
xorg-2_src_prepare
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue