summaryrefslogtreecommitdiffstats
path: root/extra/openoffice/ooo_getline.diff
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:12:11 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:12:11 +0200
commitafd1de4942c9cfe78a359af2d461e8d85967ecd9 (patch)
tree99449ebb715e09b0587a87aa0071608af52a187b /extra/openoffice/ooo_getline.diff
parentb8cc8a29eda028a61b7a0862279b27c6616c791a (diff)
downloadnutyx-pakxe-afd1de4942c9cfe78a359af2d461e8d85967ecd9.tar.gz
nutyx-pakxe-afd1de4942c9cfe78a359af2d461e8d85967ecd9.tar.bz2
nutyx-pakxe-afd1de4942c9cfe78a359af2d461e8d85967ecd9.tar.xz
nutyx-pakxe-afd1de4942c9cfe78a359af2d461e8d85967ecd9.zip
Ajout de openoffice#3.1.0-1
Diffstat (limited to 'extra/openoffice/ooo_getline.diff')
-rw-r--r--extra/openoffice/ooo_getline.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/extra/openoffice/ooo_getline.diff b/extra/openoffice/ooo_getline.diff
new file mode 100644
index 000000000..c9fac857c
--- /dev/null
+++ b/extra/openoffice/ooo_getline.diff
@@ -0,0 +1,43 @@
+
+--- soltools/mkdepend/def.h.orig 2009-05-18 15:28:59.000000000 +0200
++++ soltools/mkdepend/def.h 2009-05-18 15:29:36.000000000 +0200
+@@ -154,7 +154,7 @@
+
+ char *copy();
+ char *base_name();
+-char *getline();
++char *ooo_getline();
+ char *isdefined();
+ struct filepointer *getfile();
+ struct inclist *newinclude();
+--- soltools/mkdepend/main.c.orig 2009-05-18 15:29:08.000000000 +0200
++++ soltools/mkdepend/main.c 2009-05-18 15:30:23.000000000 +0200
+@@ -548,7 +548,7 @@
+ * Get the next line. We only return lines beginning with '#' since that
+ * is all this program is ever interested in.
+ */
+-char *getline(filep)
++char *ooo_getline(filep)
+ register struct filepointer *filep;
+ {
+ register char *p, /* walking pointer */
+--- soltools/mkdepend/parse.c.orig 2009-05-18 15:29:17.000000000 +0200
++++ soltools/mkdepend/parse.c 2009-05-18 15:30:43.000000000 +0200
+@@ -45,7 +45,7 @@
+ register int type;
+ boolean recfailOK;
+
+- while ((line = getline(filep))) {
++ while ((line = ooo_getline(filep))) {
+ switch(type = deftype(line, filep, file_red, file, TRUE, symbols)) {
+ case IF:
+ doif:
+@@ -168,7 +168,7 @@
+ register char *line;
+ register int type;
+
+- while ((line = getline(filep))) {
++ while ((line = ooo_getline(filep))) {
+ switch(type = deftype(line, filep, file_red, file, FALSE, symbols)) {
+ case IF:
+ case IFFALSE: