net-snmp: support compilation with GCC 11 permissively
authorWei-Ting Yang <williamatcg@gmail.com>
Thu, 19 Dec 2024 03:41:42 +0000 (11:41 +0800)
committerRosen Penev <rosenp@gmail.com>
Mon, 23 Dec 2024 22:43:48 +0000 (14:43 -0800)
commit665bac8e17b563d30fcc09c9854e249c9ad3d092
treee02832bbd950fa19a26ea01205cbd1ae9b3c7bf4
parent0c0d897b47ef98781277305d09eadf79b6bb6fe0
net-snmp: support compilation with GCC 11 permissively

Use #elif defined instead of #elifdef as seen elsewhere throughout the patch
file. This avoids the following errors when compiling with GCC 11:

```
mibgroup/ucd-snmp/proc.c:45:2: error: invalid preprocessing directive #elifdef; did you mean #ifdef?
   45 | #elifdef HAVE_PCRE_H
      |  ^~~~~~~
      |  ifdef

mibgroup/ucd-snmp/proc.c:243:2: error: invalid preprocessing directive #elifdef; did you mean #ifdef?
  243 | #elifdef HAVE_PCRE_H
      |  ^~~~~~~
      |  ifdef
```

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
net/net-snmp/patches/200-add-pcre2-support.patch