]> git.pld-linux.org Git - packages/libtiff.git/commitdiff
- move C++ streams API to sepearate library
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 23 Dec 2004 11:05:53 +0000 (11:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libtiff-cxx.patch -> 1.1

libtiff-cxx.patch [new file with mode: 0644]

diff --git a/libtiff-cxx.patch b/libtiff-cxx.patch
new file mode 100644 (file)
index 0000000..fa8877e
--- /dev/null
@@ -0,0 +1,38 @@
+--- tiff-3.7.1/libtiff/Makefile.am.orig        2004-10-14 19:53:27.000000000 +0200
++++ tiff-3.7.1/libtiff/Makefile.am     2004-12-23 11:33:13.000000000 +0100
+@@ -36,7 +36,19 @@
+ libtiffinclude_HEADERS = $(HDRS)
+ noinst_HEADERS = $(EXTRA_HDRS)
+-lib_LTLIBRARIES = libtiff.la
++if HAVE_CXX
++libtiffcxx_la_SOURCES = $(CXX_SRCS)
++libtiffcxx_la_LDFLAGS = \
++      -no-undefined \
++      -version-number $(LIBTIFF_MAJOR_VERSION):$(LIBTIFF_MINOR_VERSION):$(LIBTIFF_MICRO_VERSION)
++libtiffcxx_la_LIBADD = libtiff.la
++HDRS += $(CXX_HDRS)
++tiffcxx = libtiffcxx.la
++else
++tiffcxx =
++endif
++
++lib_LTLIBRARIES = libtiff.la $(tiffcxx)
+ libtiff_la_SOURCES = $(SRCS)
+ libtiff_la_LDFLAGS = \
+       -no-undefined \
+--- tiff-3.7.1/libtiff/files.lst.orig  2004-11-21 17:09:29.000000000 +0100
++++ tiff-3.7.1/libtiff/files.lst       2004-12-23 11:22:13.000000000 +0100
+@@ -49,10 +49,8 @@
+       tif_write.c \
+       tif_zip.c
+-if HAVE_CXX
+-HDRS +=       tiffio.hxx
+-SRCS += tif_stream.cxx
+-endif
++CXX_HDRS = tiffio.hxx
++CXX_SRCS = tif_stream.cxx
+ EXTRA_SRCS = \
+       tif_acorn.c \
This page took 0.103824 seconds and 4 git commands to generate.