mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 17:06:32 -04:00
portlint complains that the patches have not been generated with makepatch and this caused some effort to generate the patches for this update. I'm leaving the legacy patches and the EXTRA_PATCH as-is to not cause unneccessary churn, but IMHO the patches should be regenerated with makepatch on occasion of the next major change to this port.
22 lines
765 B
C
22 lines
765 B
C
--- personality.h.orig 2007-05-28 08:12:52.000000000 +0200
|
|
+++ personality.h 2020-09-22 15:57:29.215618000 +0200
|
|
@@ -179,7 +179,8 @@
|
|
void print_perstree(void);
|
|
|
|
/* Splay stuff here so other modules can use it */
|
|
-SPLAY_HEAD(perstree, personality) personalities;
|
|
+typedef SPLAY_HEAD(perstree, personality) personalities_t;
|
|
+extern personalities_t personalities;
|
|
static int
|
|
perscompare(struct personality *a, struct personality *b)
|
|
{
|
|
@@ -187,7 +187,8 @@
|
|
}
|
|
SPLAY_PROTOTYPE(perstree, personality, node, perscompare);
|
|
|
|
-SPLAY_HEAD(xp_fprint_tree, xp_fingerprint) xp_fprints;
|
|
+typedef SPLAY_HEAD(xp_fprint_tree, xp_fingerprint) xp_fprints_t;
|
|
+extern xp_fprints_t xp_fprints;
|
|
static int
|
|
xp_fprint_compare(struct xp_fingerprint *a, struct xp_fingerprint *b)
|
|
{
|