Browse Source

upgrading package: xmlstarlet 1.0.6 -> 1.1.0

master
parent
commit
57d9f31a14
  1. 16
      xmlstarlet/xmlstarlet.patch
  2. 6
      xmlstarlet/xmlstarlet.spec

16
xmlstarlet/xmlstarlet.patch

@ -1,16 +1,16 @@
Index: src/xml_C14N.c
--- src/xml_C14N.c.orig 2011-03-06 20:52:01.000000000 +0100
+++ src/xml_C14N.c 2011-03-14 20:14:16.000000000 +0100
@@ -23,7 +23,9 @@
#if !HAVE_SETMODE
# define setmode(fd, mode)
#else
--- src/xml_C14N.c.orig 2011-04-01 23:58:13.000000000 +0200
+++ src/xml_C14N.c 2011-04-04 20:58:29.000000000 +0200
@@ -21,7 +21,9 @@
#endif
#if HAVE_SETMODE && HAVE_DECL_O_BINARY
+#ifdef __linux__
# include <io.h>
+#endif
# include <fcntl.h>
#endif
#else
# define setmode(fd, mode)
@@ -136,7 +138,9 @@
/*
* Canonical form

6
xmlstarlet/xmlstarlet.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: PLUS
Group: XML
License: GPL
Version: 1.0.6
Release: 20110314
Version: 1.1.0
Release: 20110404
# list of sources
Source0: http://switch.dl.sourceforge.net/sourceforge/xmlstar/xmlstarlet-%{version}.tar.gz
@ -67,7 +67,7 @@ PreReq: libxml, libxslt, libiconv, gcrypt, gpg-error
export CFLAGS="%{l_cflags -O} %{l_cppflags}"
export CPPFLAGS="%{l_cppflags}"
export LDFLAGS="%{l_ldflags}"
export LIBS="-liconv -lgcrypt -lgpg-error"
export LIBS="-liconv -lgcrypt -lgpg-error -lz -lm"
case "%{l_platform -t}" in
*-sunos* ) LIBS="$LIBS -lsocket -lnsl" ;;
esac

Loading…
Cancel
Save