summaryrefslogtreecommitdiff
path: root/graphics/flasm/files/patch-unflasm.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-05-04 11:20:35 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-05-04 11:20:35 +0000
commit93ba7e46b89e04b5c4826fb4110916d8a8ee9b75 (patch)
treea45ef9c85c19b0442bcaa57317286967938527b9 /graphics/flasm/files/patch-unflasm.c
parent- direct depends on libpng (diff)
- fix build with -fno-common
Notes
Notes: svn path=/head/; revision=533920
Diffstat (limited to 'graphics/flasm/files/patch-unflasm.c')
-rw-r--r--graphics/flasm/files/patch-unflasm.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/graphics/flasm/files/patch-unflasm.c b/graphics/flasm/files/patch-unflasm.c
index c9651eff858b..a44fd7d1a186 100644
--- a/graphics/flasm/files/patch-unflasm.c
+++ b/graphics/flasm/files/patch-unflasm.c
@@ -1,6 +1,15 @@
---- ./unflasm.c.orig 2014-03-18 08:44:06.055828097 +0100
-+++ ./unflasm.c 2014-03-18 08:44:06.060828422 +0100
-@@ -1012,29 +1012,11 @@
+--- unflasm.c.orig 2020-05-02 15:54:36 UTC
++++ unflasm.c
+@@ -29,7 +29,7 @@ static int targetIndent = 0;
+ static long int swfabspos = -1;
+ static long int swfrelpos = -1;
+
+-int swfVersion;
++extern int swfVersion;
+
+ static int showLiterals;
+ static int nDict = 0;
+@@ -1012,29 +1012,11 @@ static void printActionRecord(byte *p, Action type, un
}
case SWFACTION_SETTARGET: