freebsd-ports/devel/fam/files/patch-fam__StringTable.h
Matthias Andree 8151e37e93 - Fix build with libc++, dropping hardcoded -lstdc++ from the right Makefile.
- Fix build with clang, casting a large constant to int in mntent_compat.c++.
- Fix a noisy clang warning in BTree.h by parenthesizing the 2nd for() expr.
- Fix a format string mismatch (%d/size_t -> %lu/unsigned long) in snprintf.
- Regenerate patches, and normalize their filenames, with make makepatch.
- Bump PORTREVISION.
2014-01-03 01:45:45 +00:00

10 lines
338 B
C

--- ./fam/StringTable.h.orig 2003-04-15 06:21:43.000000000 +0200
+++ ./fam/StringTable.h 2014-01-03 02:35:10.000000000 +0100
@@ -25,6 +25,7 @@
#include <assert.h>
#include <string.h>
+#include "mntent.h"
// A StringTable maps C strings onto values. It is a cheap O(n)
// implementation, suitable only for small tables that are