From 265962bd6ff38bfe55b994e2ae9ac96989e63a7f Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Mon, 5 May 2014 21:02:17 +0000 Subject: [PATCH] sync third-party/miniupnp/updateminiupnpcstrings.sh to Transmission's automake code --- third-party/miniupnp/miniupnpcstrings.h.in | 6 +++--- third-party/miniupnp/updateminiupnpcstrings.sh | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/third-party/miniupnp/miniupnpcstrings.h.in b/third-party/miniupnp/miniupnpcstrings.h.in index 201c9a862..c32e3a133 100644 --- a/third-party/miniupnp/miniupnpcstrings.h.in +++ b/third-party/miniupnp/miniupnpcstrings.h.in @@ -1,12 +1,12 @@ -/* $Id: miniupnpcstrings.h.in,v 1.4 2011/01/04 11:41:53 nanard Exp $ */ +/* $Id: miniupnpcstrings.h.in,v 1.5 2012/10/16 16:48:26 nanard Exp $ */ /* Project: miniupnp * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * Author: Thomas Bernard * Copyright (c) 2005-2011 Thomas Bernard * This software is subjects to the conditions detailed * in the LICENCE file provided within this distribution */ -#ifndef __MINIUPNPCSTRINGS_H__ -#define __MINIUPNPCSTRINGS_H__ +#ifndef MINIUPNPCSTRINGS_H_INCLUDED +#define MINIUPNPCSTRINGS_H_INCLUDED #define OS_STRING "OS/version" #define MINIUPNPC_VERSION_STRING "version" diff --git a/third-party/miniupnp/updateminiupnpcstrings.sh b/third-party/miniupnp/updateminiupnpcstrings.sh index dde4354a8..3f3e7e749 100755 --- a/third-party/miniupnp/updateminiupnpcstrings.sh +++ b/third-party/miniupnp/updateminiupnpcstrings.sh @@ -3,9 +3,10 @@ # project miniupnp : http://miniupnp.free.fr/ # (c) 2009 Thomas Bernard -FILE=miniupnpcstrings.h -TMPFILE=miniupnpcstrings.h.tmp -TEMPLATE_FILE=${FILE}.in +VERSION_FILE=$1 +TEMPLATE_FILE=$2 +FILE=$3 +TMPFILE=$3.tmp # detecting the OS name and version OS_NAME=`uname -s` -- 2.40.0