summaryrefslogtreecommitdiff
path: root/net/wireshark/patches/patch-bc
blob: a9457ec553bdd9bc24522771aab8bfddb639f90c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-bc,v 1.1 2010/09/26 23:15:18 tron Exp $

Avoid conflict with NetBSD's popcount(3).

--- tools/process-x11-xcb.pl.orig	2010-08-29 23:15:01.000000000 +0100
+++ tools/process-x11-xcb.pl	2010-09-26 23:55:27.000000000 +0100
@@ -436,7 +436,7 @@
 	    return '(' . $op->att('op') . "$left)";
 	}
 	when ('popcount') {
-	    return "popcount($left)";
+	    return "my_popcount($left)";
 	}
 	default { die "Invalid unop element $op->name()\n"; }
     }