summaryrefslogtreecommitdiff
path: root/databases/dbf/files/patch-libdbf.h
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-12-24 12:33:44 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-12-24 12:33:44 +0000
commit18249d83c8cf4a460eeb4b89412f366f38261b38 (patch)
treec82f794d9977f1ce3f2d91291c783a8f9886b515 /databases/dbf/files/patch-libdbf.h
parentFix RUN_DEPENDS (diff)
- Fix build with gcc on 8.x and 9.x
- Use option subs - Support staging, strip library PR: ports/184896 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=337338
Diffstat (limited to '')
-rw-r--r--databases/dbf/files/patch-libdbf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/dbf/files/patch-libdbf.h b/databases/dbf/files/patch-libdbf.h
new file mode 100644
index 000000000000..ebf0b36fac7d
--- /dev/null
+++ b/databases/dbf/files/patch-libdbf.h
@@ -0,0 +1,17 @@
+--- ../libdbf/include/libdbf/libdbf.h.orig
++++ ../libdbf/include/libdbf/libdbf.h
+@@ -17,6 +17,9 @@
+ * $Id: libdbf.h,v 1.6 2006/04/14 12:25:30 rollinhand Exp $
+ ****************************************************************************/
+
++#ifndef __LIBDBF_H__
++#define __LIBDBF_H__
++
+ #include <sys/types.h>
+
+ /*! \file libdbf.h
+@@ -337,3 +340,4 @@
+ */
+ int dbf_IsMemo(P_DBF *p_dbf);
+
++#endif /* __LIBDBF_H__ */