summaryrefslogtreecommitdiff
path: root/net/snort
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-02-20 17:29:36 +0000
committerjoerg <joerg@pkgsrc.org>2007-02-20 17:29:36 +0000
commit800393454c0e70e094c8f49a70cb5bde10cfafee (patch)
treea55744aecfd6ed95e7512ff44b5cecfe50640d6a /net/snort
parenteb5c88ba26b535893daf4e65b556a3fdf5aba36b (diff)
downloadpkgsrc-800393454c0e70e094c8f49a70cb5bde10cfafee.tar.gz
Kill an useless, unportable check.
Diffstat (limited to 'net/snort')
-rw-r--r--net/snort/distinfo3
-rw-r--r--net/snort/patches/patch-af14
2 files changed, 16 insertions, 1 deletions
diff --git a/net/snort/distinfo b/net/snort/distinfo
index 25f4a799e77..79d26a29d5c 100644
--- a/net/snort/distinfo
+++ b/net/snort/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.37 2007/02/19 19:40:35 adrianp Exp $
+$NetBSD: distinfo,v 1.38 2007/02/20 17:29:36 joerg Exp $
SHA1 (snort-2.6.1.3.tar.gz) = cb944d74ab6c254f88d356d45e4492ba560dfc3c
RMD160 (snort-2.6.1.3.tar.gz) = 0c390bd7cdbe705ba43ce8c8894bfec53c3179f6
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 0ea7deb91de5d3d68558a30e80dcbd8bd81f8a5e
SHA1 (patch-ac) = 6cdf26fcaeb8dad9cd9562b77377bd56b49c9f38
SHA1 (patch-ad) = d4bf1dee02af1f1730263a78a868bbdae5d8846d
SHA1 (patch-ae) = 4a669e664ccbce2b9e689fe3d281c46f6549b72c
+SHA1 (patch-af) = 0480c59f59a616148002732dae8364425f892069
diff --git a/net/snort/patches/patch-af b/net/snort/patches/patch-af
new file mode 100644
index 00000000000..6baea442782
--- /dev/null
+++ b/net/snort/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.3 2007/02/20 17:29:36 joerg Exp $
+
+--- src/dynamic-plugins/sf_dynamic_plugins.c.orig 2007-02-20 16:54:06.000000000 +0000
++++ src/dynamic-plugins/sf_dynamic_plugins.c
+@@ -210,8 +210,7 @@ void LoadAllLibs(char *path, LoadLibrary
+ dirEntry = readdir(directory);
+ while (dirEntry)
+ {
+- if (dirEntry->d_reclen &&
+- !fnmatch(EXT, dirEntry->d_name, FNM_PATHNAME | FNM_PERIOD))
++ if (!fnmatch(EXT, dirEntry->d_name, FNM_PATHNAME | FNM_PERIOD))
+ {
+ snprintf(path_buf, PATH_MAX, "%s%s%s", path, "/", dirEntry->d_name);
+ loadFunc(path_buf, 1);