annotate src/msvc-itstool-1.patch @ 6082:480f60641fc2

Add openlibm * src/openlibm.mk: new file * index.html, dist-files.mk: add ref to new file
author John Donoghue <john.donoghue@ieee.org>
date Wed, 09 Feb 2022 09:56:44 -0500
parents 90341dd4590e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3179
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
1 diff -ur itstool-1.2.0-orig/itstool.in itstool-1.2.0/itstool.in
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
2 --- itstool-1.2.0-orig/itstool.in 2012-05-16 11:19:34 -0400
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
3 +++ itstool-1.2.0/itstool.in 2013-07-25 19:25:40 -0400
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
4 @@ -1,4 +1,4 @@
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
5 -#!/usr/bin/python -s
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
6 +#!python -s
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
7 #
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
8 # Copyright (c) 2010-2011 Shaun McCance <shaunm@gnome.org>
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
9 #
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
10 @@ -559,9 +559,9 @@
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
11 ddir = os.getenv('XDG_DATA_DIRS', '')
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
12 if ddir == '':
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
13 if DATADIR not in ('/usr/local/share', '/usr/share'):
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
14 - ddir += DATADIR + ':'
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
15 - ddir += '/usr/local/share:/usr/share'
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
16 - dirs.extend(ddir.split(':'))
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
17 + ddir += DATADIR + os.pathsep
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
18 + ddir += '/usr/local/share' + os.pathsep + '/usr/share'
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
19 + dirs.extend(ddir.split(os.pathsep))
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
20 ddone = {}
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
21 for ddir in dirs:
90341dd4590e add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff changeset
22 itsdir = os.path.join(ddir, 'itstool', 'its')