diff options
author | jlam <jlam> | 2005-01-11 05:29:55 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-01-11 05:29:55 +0000 |
commit | acbf960f6e66b4682fed9f144aa7319a4c743fe3 (patch) | |
tree | f1081638c965d9979efd58c41aa9fec882fd14e3 /graphics/tiff/patches | |
parent | 8ffd1565ccadc9c6a6ed71959f73e8a2d1e3e368 (diff) | |
download | pkgsrc-acbf960f6e66b4682fed9f144aa7319a4c743fe3.tar.gz |
Create a separate libtiffcxx.so library for use by C++ applications.
It's meant to be used directly in place of libtiff.so, i.e. instead
of linking against -ltiff, you link against -ltiffcxx. It also leaves
libtiff.so as a plain C-linkage library again, as it was in tiff-3.6.x,
and avoids needing to patch tiff-using packages to link using the C++
compiler. Bump the PKGREVISION to 1.
Diffstat (limited to 'graphics/tiff/patches')
-rw-r--r-- | graphics/tiff/patches/patch-af | 12 | ||||
-rw-r--r-- | graphics/tiff/patches/patch-ag | 15 |
2 files changed, 27 insertions, 0 deletions
diff --git a/graphics/tiff/patches/patch-af b/graphics/tiff/patches/patch-af new file mode 100644 index 00000000000..64ad1e7ded4 --- /dev/null +++ b/graphics/tiff/patches/patch-af @@ -0,0 +1,12 @@ +$NetBSD: patch-af,v 1.10 2005/01/11 05:29:55 jlam Exp $ + +--- configure.orig 2004-12-20 14:41:54.000000000 -0500 ++++ configure +@@ -23722,6 +23722,7 @@ if test "${enable_c+++set}" = set; then + else + HAVE_CXX=yes + fi; ++HAVE_CXX=no + + if test "$HAVE_CXX" = "yes" ; then + diff --git a/graphics/tiff/patches/patch-ag b/graphics/tiff/patches/patch-ag new file mode 100644 index 00000000000..0e71d83c52f --- /dev/null +++ b/graphics/tiff/patches/patch-ag @@ -0,0 +1,15 @@ +$NetBSD: patch-ag,v 1.10 2005/01/11 05:29:55 jlam Exp $ + +--- libtiff/Makefile.in.orig 2004-12-20 14:41:54.000000000 -0500 ++++ libtiff/Makefile.in +@@ -409,6 +409,10 @@ clean-libLTLIBRARIES: + libtiff.la: $(libtiff_la_OBJECTS) $(libtiff_la_DEPENDENCIES) + $(CXXLINK) -rpath $(libdir) $(libtiff_la_LDFLAGS) $(libtiff_la_OBJECTS) $(libtiff_la_LIBADD) $(LIBS) + ++libtiffcxx_la_OBJECTS: tif_stream.lo ++libtiffcxx.la: $(libtiffcxx_la_OBJECTS) $(libtiff_la_DEPENDENCIES) ++ $(CXXLINK) -rpath $(libdir) $(libtiff_la_LDFLAGS) $(libtiffcxx_la_OBJECTS) libtiff.la $(libtiff_la_LIBADD) $(LIBS) ++ + clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ |