summarylogtreecommitdiffstats
path: root/gcc-4.7.patch
diff options
context:
space:
mode:
authorJonathan Liu2016-12-26 16:55:00 +1100
committerJonathan Liu2016-12-26 16:55:08 +1100
commit60fe040820a4eb4fa6376fb595c64c09ef32b7a7 (patch)
treeb8e5a3f15ba1a3696826f311665810105ccb4cba /gcc-4.7.patch
parent58293469f6dffd36413386a8d1ab83c6b92d4559 (diff)
downloadaur-60fe040820a4eb4fa6376fb595c64c09ef32b7a7.tar.gz
Revert "Update to 2016.12-1"
This reverts commit 58293469f6dffd36413386a8d1ab83c6b92d4559. Graphics not working.
Diffstat (limited to 'gcc-4.7.patch')
-rw-r--r--gcc-4.7.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.7.patch b/gcc-4.7.patch
new file mode 100644
index 000000000000..8bf9ca8c3fe5
--- /dev/null
+++ b/gcc-4.7.patch
@@ -0,0 +1,12 @@
+diff --git a/vcglib/wrap/ply/plystuff.h b/vcglib/wrap/ply/plystuff.h
+index 3e41e63..4af9508 100644
+--- a/vcglib/wrap/ply/plystuff.h
++++ b/vcglib/wrap/ply/plystuff.h
+@@ -75,6 +75,7 @@ using namespace vcg;
+ #define pb_close _close
+ #define DIR_SEP "\\"
+ #else
++#include <unistd.h>
+ #define pb_mkdir(n) mkdir(n,0755)
+ #define pb_access access
+ #define pb_stat stat