summaryrefslogtreecommitdiff
path: root/data/aptitude/xopen.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-02 09:40:04 +0000
committerJay Freeman <saurik@saurik.com>2008-06-02 09:40:04 +0000
commita6b322f346c04ff7c39eb0c486e92725f3873e42 (patch)
tree40c38b3a68545593cbc4441a7c89e3ab5deecbeb /data/aptitude/xopen.diff
parentf3c126fb81304eeb02275bea8261bd1e9078393a (diff)
Finally commiting aptitude.
git-svn-id: http://svn.telesphoreo.org/trunk@300 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/aptitude/xopen.diff')
-rw-r--r--data/aptitude/xopen.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/aptitude/xopen.diff b/data/aptitude/xopen.diff
new file mode 100644
index 000000000..b43bf14b1
--- /dev/null
+++ b/data/aptitude/xopen.diff
@@ -0,0 +1,25 @@
+diff -ru aptitude-0.4.4.orig/src/vscreen/config/style.h aptitude-0.4.4.orig+iPhone/src/vscreen/config/style.h
+--- aptitude-0.4.4.orig/src/vscreen/config/style.h 2006-10-27 04:26:08.000000000 +0000
++++ aptitude-0.4.4.orig+iPhone/src/vscreen/config/style.h 2008-05-13 09:17:57.000000000 +0000
+@@ -20,8 +20,6 @@
+ #ifndef STYLE_H
+ #define STYLE_H
+
+-#include <ncursesw/curses.h>
+-
+ #include <vscreen/curses++.h>
+
+ #include <string>
+diff -ru aptitude-0.4.4.orig/src/vscreen/curses++.h aptitude-0.4.4.orig+iPhone/src/vscreen/curses++.h
+--- aptitude-0.4.4.orig/src/vscreen/curses++.h 2006-10-27 04:26:08.000000000 +0000
++++ aptitude-0.4.4.orig+iPhone/src/vscreen/curses++.h 2008-05-13 09:17:43.000000000 +0000
+@@ -22,6 +22,9 @@
+ #ifndef CURSES_PLUSPLUS_H
+ #define CURSES_PLUSPLUS_H
+
++#define _XOPEN_SOURCE
++#define _XOPEN_SOURCE_EXTENDED 1
++
+ #include <string>
+ #include <ncursesw/curses.h>
+