|
|
# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../nssdb/libc_hacks.patch # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END ---
--- ./src/db-XXX.c.orig 2003-05-03 08:46:16.000000000 +0200
+++ ./src/db-XXX.c 2003-05-03 08:46:21.000000000 +0200
@@ -17,6 +17,10 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <features.h>
+#define NOT_IN_libc
+#define _LIBC
+
#include <alloca.h> #include <ctype.h> #include <db.h> --- ./src/db-alias.c.orig 2003-05-03 08:40:34.000000000 +0200
+++ ./src/db-alias.c 2003-05-03 08:45:34.000000000 +0200
@@ -18,6 +18,10 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <features.h>
+#define NOT_IN_libc
+#define _LIBC
+
#include <aliases.h> #include <alloca.h> #include <ctype.h> --- ./src/db-netgrp.c.orig 2003-05-03 08:46:33.000000000 +0200
+++ ./src/db-netgrp.c 2003-05-03 08:46:39.000000000 +0200
@@ -18,6 +18,10 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <features.h>
+#define NOT_IN_libc
+#define _LIBC
+
#include <errno.h> #include <fcntl.h> #include <netgroup.h> --- ./src/makedb.c.orig 2003-05-03 08:47:21.000000000 +0200
+++ ./src/makedb.c 2003-05-03 08:48:09.000000000 +0200
@@ -18,6 +18,8 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define _GNU_SOURCE
+
#ifdef HAVE_CONFIG_H # include <config.h> #endif --- ./src/Makefile.in.orig 2003-05-03 08:49:38.000000000 +0200
+++ ./src/Makefile.in 2003-05-03 08:49:49.000000000 +0200
@@ -105,7 +105,7 @@
noinst_HEADERS = db-compat.h netgroup.h nss_db.h -INCLUDES = @DB_CFLAGS@ -D_LIBC -D_GNU_SOURCE -I../intl -DLOCALEDIR=\"$(localedir)\"
+INCLUDES = @DB_CFLAGS@ -D_GNU_SOURCE -I../intl -DLOCALEDIR=\"$(localedir)\"
EXTRA_DIST = libnss_db.map
|