Skip to contentSkip to conversation

snort: add missing pkgconfig inherit

PATCH New Martin Jansa 1 participant 1 message Jul 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 snort: add missing pkgconfig inherit

* otherwise m4 eats all memory and is killed by OOMK

  [1051138.019784] Out of memory: Kill process 26264 (m4) score 860 or sacrifice child
  [1051138.019788] Killed process 26264 (m4) total-vm:23062712kB, anon-rss:15066516kB, file-rss:100kB

* very strange, but m4 and snort sometimes have strange side-effects, from first google result:
http://www.hipforums.com/newforums/showthread.php?t=466568

---
 meta-networking/recipes-connectivity/snort/snort_2.9.6.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/snort/snort_2.9.6.0.bb +1 -1
index 1933f29..16c9bbb 100644
@@ -16,7 +16,7 @@ SRC_URI = " ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \
 SRC_URI[tarball.md5sum] = "18111f6de3989ca89add36077a7c2659"
 SRC_URI[tarball.sha256sum] = "3cc6c8a9b52f4c863a5736a73b4012aff340b50b5e002771b04d4877f47cd19e"
 
-inherit autotools  gettext  update-rc.d
+inherit autotools gettext update-rc.d pkgconfig
 
 INITSCRIPT_NAME = "snort"
 INITSCRIPT_PARAMS = "defaults"
Signature · 1 line
2.0.2