From 177e7cd6312bb01737929582699398ef37997193 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Mon, 14 Aug 2017 16:37:48 -0400
Subject: [PATCH] update markex to use the simplified hexmunger

---
 externals/markex/Makefile     | 2 +-
 externals/markex/v0x2a.c      | 5 +++++
 externals/markex/v0x2f.c      | 5 +++++
 externals/markex/vector0x2a.c | 9 ---------
 externals/markex/vector0x2f.c | 1 -
 5 files changed, 11 insertions(+), 11 deletions(-)
 create mode 100644 externals/markex/v0x2a.c
 create mode 100644 externals/markex/v0x2f.c

diff --git a/externals/markex/Makefile b/externals/markex/Makefile
index de11f8a48..11b3131e2 100644
--- a/externals/markex/Makefile
+++ b/externals/markex/Makefile
@@ -5,7 +5,7 @@ LIBRARY_NAME = markex
 
 # add your .c source files, one object per file, to the SOURCES
 # variable, help files will be included automatically
-SOURCES = abs~.c alternate.c average.c counter.c hsv2rgb.c invert.c multiselect.c oneshot.c randomF.c reson~.c rgb2hsv.c strcat.c tripleLine.c tripleRand.c vector+.c vector-.c vector0x2a.c vector0x2f.c vectorabs.c vectorpack.c
+SOURCES = abs~.c alternate.c average.c counter.c hsv2rgb.c invert.c multiselect.c oneshot.c randomF.c reson~.c rgb2hsv.c strcat.c tripleLine.c tripleRand.c vector+.c vector-.c vector0x2a.c v0x2a.c vector0x2f.c v0x2f.c vectorabs.c vectorpack.c
 
 # list all pd objects (i.e. myobject.pd) files here, and their helpfiles will
 # be included automatically
diff --git a/externals/markex/v0x2a.c b/externals/markex/v0x2a.c
new file mode 100644
index 000000000..a62d0aa66
--- /dev/null
+++ b/externals/markex/v0x2a.c
@@ -0,0 +1,5 @@
+#include "vector0x2a.c"
+
+void setup_v0x2a(void){
+  vectorMult_setup();
+}
diff --git a/externals/markex/v0x2f.c b/externals/markex/v0x2f.c
new file mode 100644
index 000000000..591f03932
--- /dev/null
+++ b/externals/markex/v0x2f.c
@@ -0,0 +1,5 @@
+#include "vector0x2f.c"
+
+void setup_v0x2f(void){
+  vectorDiv_setup();
+}
diff --git a/externals/markex/vector0x2a.c b/externals/markex/vector0x2a.c
index 32fcf0e4b..1e3db7a3a 100644
--- a/externals/markex/vector0x2a.c
+++ b/externals/markex/vector0x2a.c
@@ -62,12 +62,3 @@ static void vectorMult_setup(void)
 void setup_vector0x2a(void){
   vectorMult_setup();
 }
-void vector0x2a_setup(void){
-  vectorMult_setup();
-}
-void setup_v0x2a(void){
-  vectorMult_setup();
-}
-void v0x2a_setup(void){
-  vectorMult_setup();
-}
diff --git a/externals/markex/vector0x2f.c b/externals/markex/vector0x2f.c
index 55f744438..a8f6d0399 100644
--- a/externals/markex/vector0x2f.c
+++ b/externals/markex/vector0x2f.c
@@ -61,5 +61,4 @@ static void vectorDiv_setup(void)
 
 void setup_vector0x2f(void) { vectorDiv_setup(); }
 void vector0x2f_setup(void) { vectorDiv_setup(); }
-void setup_v0x2f(void)      { vectorDiv_setup(); }
 void v0x2f_setup(void)      { vectorDiv_setup(); }
-- 
GitLab