use -fPIC rather than -fpic

regenerate the patches with update-patches
ok naddy@
This commit is contained in:
wilfried 2001-10-10 15:15:00 +00:00
parent 63b02ec8fd
commit 97034e70a2
6 changed files with 31 additions and 25 deletions

View File

@ -1,6 +1,7 @@
--- config.guess.orig Fri Oct 22 16:35:08 1999
+++ config.guess Fri Oct 22 16:35:54 1999
@@ -279,6 +279,9 @@
$OpenBSD: patch-config_guess,v 1.1 2001/10/10 15:15:00 wilfried Exp $
--- config.guess.orig Fri Sep 24 04:45:04 1999
+++ config.guess Wed Oct 10 17:07:22 2001
@@ -279,6 +279,9 @@ EOF
*:NetBSD:*:*)
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;

View File

@ -1,13 +1,14 @@
--- configure.orig Mon Mar 20 11:20:42 2000
+++ configure Sun Oct 7 23:09:35 2001
@@ -1155,6 +1155,13 @@
$OpenBSD: patch-configure,v 1.1 2001/10/10 15:15:00 wilfried Exp $
--- configure.orig Mon Mar 20 19:20:42 2000
+++ configure Wed Oct 10 17:07:22 2001
@@ -1155,6 +1155,13 @@ if [ "$DSO" = auto ]; then
DSO=FREEBSD
TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'
;;
+ *-openbsd*)
+ DSOSUF=so
+ DSOSUF_VERSION=${DSOSUF}.35.5
+ LIBCOPTS='-fpic'
+ LIBCOPTS='-fPIC'
+ DSO=OPENBSD
+ TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'
+ ;;

View File

@ -1,6 +1,7 @@
--- libtiff/Makefile.in.orig Sun Nov 28 15:15:36 1999
+++ libtiff/Makefile.in Thu Oct 19 07:28:08 2000
@@ -62,7 +62,6 @@
$OpenBSD: patch-libtiff_Makefile_in,v 1.1 2001/10/10 15:15:00 wilfried Exp $
--- libtiff/Makefile.in.orig Sun Nov 28 21:15:36 1999
+++ libtiff/Makefile.in Wed Oct 10 17:07:22 2001
@@ -62,7 +62,6 @@ IPATH = -I. -I${SRCDIR} @COPT_LIBINC@
#
CONF_LIBRARY=@CONF_JPEG@ @CONF_ZIP@
COPTS = @GCOPTS@
@ -8,7 +9,7 @@
CFLAGS = @ENVOPTS@ @LIBCOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH} ${CONF_LIBRARY}
#
SRCS = \
@@ -216,6 +215,9 @@
@@ -216,6 +215,9 @@ LINUXdso: ${OBJS}
OSFdso: ${OBJS}
${LD} -o libtiff.@DSOSUF@ -shared -error_unresolved ${OBJS} @LIBJPEG@ @LIBGZ@ -lc -lm
@ -18,7 +19,7 @@
${OBJS}: ${SRCDIR}/tiffio.h ${SRCDIR}/tiff.h ${SRCDIR}/tif_dir.h
${OBJS}: ${SRCDIR}/tiffcomp.h ${SRCDIR}/tiffiop.h ${SRCDIR}/tiffconf.h
@@ -323,15 +325,9 @@
@@ -323,15 +325,9 @@ installHdrs: ${INCS}
-src $$i -O $$f; \
done
installDSO: @DSO@dso

View File

@ -1,6 +1,7 @@
$OpenBSD: patch-man_Makefile_in,v 1.1 2001/10/10 15:15:00 wilfried Exp $
--- man/Makefile.in.orig Mon Nov 29 17:42:44 1999
+++ man/Makefile.in Mon Mar 6 17:39:00 2000
@@ -41,6 +41,7 @@
+++ man/Makefile.in Wed Oct 10 17:07:22 2001
@@ -41,6 +41,7 @@ ECHO = echo
SED = sed
MV = mv
RM = rm -f
@ -8,7 +9,7 @@
INSTALL = @INSTALL@
#
@@ -82,7 +83,7 @@
@@ -82,7 +83,7 @@ MANLIBNAME = @MANLIBNAME@
# pathname prefix in the .so commands when setting
# up alternate files for multi-function manual pages.
#
@ -17,7 +18,7 @@
MANTOOLS=\
apps/fax2tiff.1 \
@@ -274,59 +275,59 @@
@@ -274,59 +275,59 @@ lib/TIFFstrip.3t:: ${SRCDIR}/TIFFstrip.3
lib/TIFFswab.3t:: ${SRCDIR}/TIFFswab.3t; ${MANCVT}
lib/TIFFtile.3t:: ${SRCDIR}/TIFFtile.3t; ${MANCVT}
@ -130,7 +131,7 @@
apps/Makefile:
test -d apps || mkdir apps
@@ -336,7 +337,7 @@
@@ -336,7 +337,7 @@ apps/Makefile:
${ECHO} 'install:'; \
for i in *.1; do \
f=${MANAPPNAME}; \
@ -139,7 +140,7 @@
-idb tiff.man.tools -src' apps/"$$i" '-O' "$$f"; \
done \
)>apps/Makefile
@@ -348,7 +349,7 @@
@@ -348,7 +349,7 @@ lib/Makefile:
${ECHO} 'install:'; \
for i in *.3t; do \
f=${MANLIBNAME}; \

View File

@ -1,6 +1,7 @@
--- tools/Makefile.in.orig Mon Dec 20 18:46:11 1999
+++ tools/Makefile.in Sun Jan 23 16:02:08 2000
@@ -43,17 +43,16 @@
$OpenBSD: patch-tools_Makefile_in,v 1.1 2001/10/10 15:15:00 wilfried Exp $
--- tools/Makefile.in.orig Tue Dec 21 00:46:11 1999
+++ tools/Makefile.in Wed Oct 10 17:07:22 2001
@@ -43,17 +43,16 @@ CC = @CCOMPILER@
INSTALL = @INSTALL@
#
COPTS = @GCOPTS@
@ -21,7 +22,7 @@
#
OBJS= \
fax2tiff.o \
@@ -108,8 +107,8 @@
@@ -108,8 +107,8 @@ all: ${TARGETS}
true; \
fi
install: all

View File

@ -1,6 +1,7 @@
--- tools/fax2ps.c.orig Fri Oct 22 16:33:29 1999
+++ tools/fax2ps.c Fri Oct 22 16:34:10 1999
@@ -382,8 +382,7 @@
$OpenBSD: patch-tools_fax2ps_c,v 1.1 2001/10/10 15:15:00 wilfried Exp $
--- tools/fax2ps.c.orig Wed Mar 29 06:22:33 2000
+++ tools/fax2ps.c Wed Oct 10 17:07:22 2001
@@ -382,8 +382,7 @@ main(int argc, char** argv)
char temp[1024], buf[16*1024];
strcpy(temp, "/tmp/fax2psXXXXXX");