]> git.pld-linux.org Git - packages/libtiff.git/commitdiff
libtiff patches
authorArtur Frysiak <artur@frysiak.net>
Sun, 28 Mar 1999 11:40:05 +0000 (11:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tiff-glibc.patch -> 1.1
    tiff-shlib.patch -> 1.1

tiff-glibc.patch [new file with mode: 0644]
tiff-shlib.patch [new file with mode: 0644]

diff --git a/tiff-glibc.patch b/tiff-glibc.patch
new file mode 100644 (file)
index 0000000..68f1763
--- /dev/null
@@ -0,0 +1,11 @@
+--- tiff-v3.4/configure.djb    Mon Oct 13 18:11:56 1997
++++ tiff-v3.4/configure        Mon Oct 13 18:13:42 1997
+@@ -1127,7 +1127,7 @@
+       DSO=SOLARIS
+       ;;
+     *-linux)
+-      if [ -x /lib/libc.so.5 ]; then
++      if [ -x /lib/libc.so.5 -o -x /lib/libc.so.6 ]; then
+           DSOSUF=so.${DIST_MAJOR}
+           DSOSUF_VERSION=${DSOSUF}.${DIST_MINOR}.${DIST_ALPHA}
+           LIBCOPTS='-fPIC'
diff --git a/tiff-shlib.patch b/tiff-shlib.patch
new file mode 100644 (file)
index 0000000..fdd3f85
--- /dev/null
@@ -0,0 +1,49 @@
+--- tiff-v3.4/libtiff/Makefile.in.ewt  Tue Oct 14 21:16:40 1997
++++ tiff-v3.4/libtiff/Makefile.in      Tue Oct 14 21:51:36 1997
+@@ -64,6 +64,8 @@
+ COPTS = @GCOPTS@
+ OPTIMIZER=-O
+ CFLAGS        = @ENVOPTS@ @LIBCOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH} ${CONF_LIBRARY}
++SONAME = libtiff.so.3
++SHLIB = libtiff.so.3.4
+ #
+ SRCS  = \
+       tif_aux.c \
+@@ -133,7 +135,8 @@
+       tif_write.o \
+       tif_zip.o \
+       ${NULL}
+-TARGETS       = libtiff.a
++TARGETS       = libtiff.a $(SHLIB)
++SHOBJS= $(OBJS:%.o=%.so) 
+ all:  ${TARGETS}
+       if [ @DSO@dso != nodso ]; then \
+@@ -146,6 +149,9 @@
+       ${AR} ${AROPTS} libtiff.a $?
+       ${RANLIB} libtiff.a
++$(SHLIB): $(SHOBJS)
++      gcc -o $(SHLIB) -Wl,-soname,$(SONAME) -shared $(SHOBJS)
++
+ #
+ # NB: The configure script verifies that the configured
+ # tools are capable of producing a DSO before enabling
+@@ -328,3 +334,6 @@
+           mkg3states tif_fax3sm.c \
+           mkversion version.h \
+           libtiff.a libtiff.@DSOSUF@ libtiff.@DSOSUF_VERSION@ *dso
++
++%.so : %.c
++      $(CC) -c -fPIC $(CFLAGS) $(CPPFLAGS) $< -o $@
+--- tiff-v3.4/tools/Makefile.in.ewt    Tue Oct 14 21:55:37 1997
++++ tiff-v3.4/tools/Makefile.in        Tue Oct 14 21:56:06 1997
+@@ -47,7 +47,7 @@
+ IPATH = -I. -I${SRCDIR} -I${LIBDIR}
+ CFLAGS        = @ENVOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH}
+ #
+-LIBTIFF       = ${DEPTH}/libtiff/libtiff.@DSOSUF@
++LIBTIFF       = ${DEPTH}/libtiff/libtiff.so.3.4
+ LIBJPEG       = @LIBJPEG@
+ LIBGZ = @LIBGZ@
+ LIBS  = ${LIBTIFF} ${LIBJPEG} ${LIBGZ} @LIBPORT@ @MACHDEPLIBS@
This page took 0.027211 seconds and 4 git commands to generate.