From 95beedc3dde53b56f3b2f93f9e5d7545d4c3fe46 Mon Sep 17 00:00:00 2001 From: danw Date: Sun, 23 May 2004 18:23:51 +0000 Subject: add a dummy file to libreplacements_la_SOURCES so this builds correctly on Darwin (which doesn't need any of the replacement functions, but also doesn't allow empty .a files). PR 25682 --- databases/freetds/distinfo | 4 +++- databases/freetds/patches/patch-ac | 6 ++++++ databases/freetds/patches/patch-ad | 22 ++++++++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 databases/freetds/patches/patch-ac create mode 100644 databases/freetds/patches/patch-ad (limited to 'databases') diff --git a/databases/freetds/distinfo b/databases/freetds/distinfo index 6905ecc7532..cdf57410b4c 100644 --- a/databases/freetds/distinfo +++ b/databases/freetds/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.9 2003/10/09 17:23:16 jdolecek Exp $ +$NetBSD: distinfo,v 1.10 2004/05/23 18:23:51 danw Exp $ SHA1 (freetds-0.61.2.tar.gz) = 0803baeb09707c4e2ba822c7c3b0379b67e362eb Size (freetds-0.61.2.tar.gz) = 749650 bytes SHA1 (patch-aa) = e0f358dec17b9735686bc7859312497de2908624 SHA1 (patch-ab) = 6634d7358481d8a89cdf1112c7e1173b4206d448 +SHA1 (patch-ac) = f757e56e3229ba268af73ac4779887a47b70cbef +SHA1 (patch-ad) = ac4e41062a65a46f01e853ab7d6ae63abc87f4de diff --git a/databases/freetds/patches/patch-ac b/databases/freetds/patches/patch-ac new file mode 100644 index 00000000000..f977fe81640 --- /dev/null +++ b/databases/freetds/patches/patch-ac @@ -0,0 +1,6 @@ +$NetBSD: patch-ac,v 1.4 2004/05/23 18:23:51 danw Exp $ + +--- src/replacements/dummy.c.orig Sun May 23 14:00:52 2004 ++++ src/replacements/dummy.c +@@ -0,0 +1 @@ ++int libreplacements_dummy; diff --git a/databases/freetds/patches/patch-ad b/databases/freetds/patches/patch-ad new file mode 100644 index 00000000000..a044f3b2e0e --- /dev/null +++ b/databases/freetds/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1 2004/05/23 18:23:51 danw Exp $ + +--- src/replacements/Makefile.in.orig Sat Aug 2 11:24:35 2003 ++++ src/replacements/Makefile.in +@@ -138,7 +138,7 @@ tds_sysdep_int64_type = @tds_sysdep_int6 + tds_sysdep_real32_type = @tds_sysdep_real32_type@ + tds_sysdep_real64_type = @tds_sysdep_real64_type@ + noinst_LTLIBRARIES = libreplacements.la +-libreplacements_la_SOURCES = ++libreplacements_la_SOURCES = dummy.c + libreplacements_la_LDFLAGS = + libreplacements_la_LIBADD = @LTLIBOBJS@ + INCLUDES = -I$(top_srcdir)/include +@@ -150,7 +150,7 @@ CONFIG_CLEAN_FILES = + LTLIBRARIES = $(noinst_LTLIBRARIES) + + libreplacements_la_DEPENDENCIES = @LTLIBOBJS@ +-am_libreplacements_la_OBJECTS = ++am_libreplacements_la_OBJECTS = dummy.lo + libreplacements_la_OBJECTS = $(am_libreplacements_la_OBJECTS) + + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -- cgit v1.2.3