mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
- Add a patch to compile with libevent 2.1 (only compile-tested!) after https://github.com/libevent/libevent/commit/cba59e53253b - Reformat an existing patch through "make makepatch" - Drop maintainership as the current maintainer no longer uses the port and wishes to resign PR: 216531 Submitted by: Fabian Keil <fk@fabiankeil.de> (maintainer)
14 lines
384 B
Text
14 lines
384 B
Text
--- Lib.xs.orig 2007-07-29 11:02:37 UTC
|
|
+++ Lib.xs
|
|
@@ -125,6 +125,11 @@ void free_args (struct event_args *args)
|
|
Safefree(args);
|
|
}
|
|
|
|
+#if LIBEVENT_VERSION_NUMBER > 0x02010101
|
|
+// From event-internal.h
|
|
+#define ev_arg ev_evcallback.evcb_arg
|
|
+#endif
|
|
+
|
|
void refresh_event (struct event_args *args, char *class) {
|
|
SV *sv = newSV(0);
|
|
sv_setref_pv(sv, class, (void*)args);
|