[arch-projects] [pyalpm][PATCH] Update code for pacman 5
Support for .pacorig files has been removed in libalpm, so remove the relevant event case.
Signed-off-by: Jelle van der Waa jelle@vdwaa.nl --- src/transaction.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/src/transaction.c b/src/transaction.c index 9c28c50..4e681f8 100644 --- a/src/transaction.c +++ b/src/transaction.c @@ -141,7 +141,6 @@ void pyalpm_eventcb(alpm_event_t *event) { case ALPM_EVENT_KEY_DOWNLOAD_DONE: case ALPM_EVENT_PACNEW_CREATED: case ALPM_EVENT_PACSAVE_CREATED: - case ALPM_EVENT_PACORIG_CREATED: default: eventstr = "unknown event"; }
I have applied the patch. Sorry for the delay.
Regards, Rémy.
2016-01-19 21:59 GMT+01:00 Jelle van der Waa jelle@vdwaa.nl:
Support for .pacorig files has been removed in libalpm, so remove the relevant event case.
Signed-off-by: Jelle van der Waa jelle@vdwaa.nl
src/transaction.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/src/transaction.c b/src/transaction.c index 9c28c50..4e681f8 100644 --- a/src/transaction.c +++ b/src/transaction.c @@ -141,7 +141,6 @@ void pyalpm_eventcb(alpm_event_t *event) { case ALPM_EVENT_KEY_DOWNLOAD_DONE: case ALPM_EVENT_PACNEW_CREATED: case ALPM_EVENT_PACSAVE_CREATED:
- case ALPM_EVENT_PACORIG_CREATED: default: eventstr = "unknown event"; }
-- 2.7.0
participants (2)
-
Jelle van der Waa
-
Rémy Oudompheng