Skip to content

Commit

Permalink
obj2voxel: fix aarch64-darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
Isidor Zeuner committed Sep 10, 2023
1 parent 2fcf16c commit 84768e9
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions pkgs/tools/graphics/obj2voxel/stdlib-defs.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
diff -Naurd x/voxelio/include/voxelio/sstreamwrap.hpp y/voxelio/include/voxelio/sstreamwrap.hpp
--- x/voxelio/include/voxelio/sstreamwrap.hpp 2023-09-10 08:24:15.545222068 +0000
+++ y/voxelio/include/voxelio/sstreamwrap.hpp 2023-09-10 08:26:08.037270383 +0000
@@ -1,6 +1,7 @@
#ifndef VXIO_SSTREAMWRAP_HPP
#define VXIO_SSTREAMWRAP_HPP

+#include <ios>
#include <iosfwd>
#include <string>

diff -Naurd x/voxelio/include/voxelio/stringify.hpp y/voxelio/include/voxelio/stringify.hpp
--- x/voxelio/include/voxelio/stringify.hpp 2023-09-10 08:24:15.545222068 +0000
+++ y/voxelio/include/voxelio/stringify.hpp 2023-09-10 08:25:03.665242188 +0000
@@ -15,6 +15,7 @@
#include <cmath>
#include <iosfwd>
#include <string>
+#include <ios>

namespace voxelio {

diff -Naurd x/voxelio/src/3rd_party/miniz_cpp.cpp y/voxelio/src/3rd_party/miniz_cpp.cpp
--- x/voxelio/src/3rd_party/miniz_cpp.cpp 2023-09-08 22:30:15.673411286 +0000
+++ y/voxelio/src/3rd_party/miniz_cpp.cpp 2023-09-08 22:31:31.261526177 +0000
--- x/voxelio/src/3rd_party/miniz_cpp.cpp 2023-09-10 08:24:15.625222101 +0000
+++ y/voxelio/src/3rd_party/miniz_cpp.cpp 2023-09-10 08:25:03.665242188 +0000
@@ -6,6 +6,7 @@
#include <iostream>
#include <fstream>
Expand All @@ -10,8 +32,8 @@ diff -Naurd x/voxelio/src/3rd_party/miniz_cpp.cpp y/voxelio/src/3rd_party/miniz_
namespace miniz_cpp {

diff -Naurd x/voxelio/src/assert.cpp y/voxelio/src/assert.cpp
--- x/voxelio/src/assert.cpp 2023-09-08 22:30:15.669411280 +0000
+++ y/voxelio/src/assert.cpp 2023-09-08 22:31:31.261526177 +0000
--- x/voxelio/src/assert.cpp 2023-09-10 08:24:15.625222101 +0000
+++ y/voxelio/src/assert.cpp 2023-09-10 08:25:03.665242188 +0000
@@ -5,6 +5,7 @@
#include "voxelio/log.hpp"

Expand Down

0 comments on commit 84768e9

Please sign in to comment.