Missed in previous.

This commit is contained in:
jca 2015-11-21 15:34:46 +00:00
parent df25f854ac
commit bed132abd8
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-src_Makefile,v 1.4 2015/11/21 15:34:46 jca Exp $
--- src/Makefile.orig Sun Jun 21 16:20:11 2015
+++ src/Makefile Thu Nov 19 22:37:08 2015
@@ -150,7 +150,7 @@ LIBRARY = libexiv2.la
# ******************************************************************************
# Initialisations
-SHELL = /bin/bash
+SHELL = /bin/sh
.SUFFIXES:
.SUFFIXES: .c .cpp .o .so
@@ -235,7 +235,7 @@ $(SRC): ../include/exiv2/exv_conf.h svn_version.h
# svn_version.h is only rewritten when the svn info | grep Revision has changed
svn_version.h:
- ./svn_version.sh
+# ./svn_version.sh
version.hpp : svn_version.h
@@ -252,7 +252,7 @@ $(BINARY): %: %.o lib
@$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $@.o -rpath $(libdir)
$(EXIV2BIN): lib $(EXIV2OBJ) $(EXIV2COBJ)
- mkdir -pv ../bin 2>&1 > /dev/null
+ mkdir -p ../bin 2>&1 > /dev/null
@$(LIBTOOL) --mode=link $(LINK.cc) -o ../bin/$@ $(LIBRARY) $(EXIV2OBJ) $(EXIV2COBJ) -rpath $(libdir)
install-header:

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_http_cpp,v 1.1 2015/11/21 15:34:46 jca Exp $
--- src/http.cpp.orig Thu Nov 19 22:17:01 2015
+++ src/http.cpp Thu Nov 19 22:18:16 2015
@@ -35,6 +35,7 @@
#include <time.h>
#include <sys/stat.h>
#include <string.h>
+#include <cerrno>
#ifdef _MSC_VER
#pragma message("Using exiv2 http support")