packages: openoffice.org/openoffice.org-hotfix-glibc210.patch (NEW) - renam...
megabajt
megabajt at pld-linux.org
Tue May 19 22:12:12 CEST 2009
Author: megabajt Date: Tue May 19 20:12:12 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- rename getline() function to fix build with glibc 2.10
---- Files affected:
packages/openoffice.org:
openoffice.org-hotfix-glibc210.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/openoffice.org/openoffice.org-hotfix-glibc210.patch
diff -u /dev/null packages/openoffice.org/openoffice.org-hotfix-glibc210.patch:1.1
--- /dev/null Tue May 19 22:12:12 2009
+++ packages/openoffice.org/openoffice.org-hotfix-glibc210.patch Tue May 19 22:12:07 2009
@@ -0,0 +1,42 @@
+--- soltools/mkdepend/def.h 2009-05-19 18:54:47.610663688 +0200
++++ soltools/mkdepend/def.h.new 2009-05-19 18:55:32.283853795 +0200
+@@ -154,7 +154,7 @@
+
+ char *copy();
+ char *base_name();
+-char *getline();
++char *get_line();
+ char *isdefined();
+ struct filepointer *getfile();
+ struct inclist *newinclude();
+--- soltools/mkdepend/main.c 2009-05-19 18:54:43.967194577 +0200
++++ soltools/mkdepend/main.c.new 2009-05-19 18:55:24.337603363 +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 *get_line(filep)
+ register struct filepointer *filep;
+ {
+ register char *p, /* walking pointer */
+--- soltools/mkdepend/parse.c 2009-05-19 18:54:39.814202678 +0200
++++ soltools/mkdepend/parse.c.new 2009-05-19 18:55:19.317186742 +0200
+@@ -45,7 +45,7 @@
+ register int type;
+ boolean recfailOK;
+
+- while ((line = getline(filep))) {
++ while ((line = get_line(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 = get_line(filep))) {
+ switch(type = deftype(line, filep, file_red, file, FALSE, symbols)) {
+ case IF:
+ case IFFALSE:
================================================================
More information about the pld-cvs-commit
mailing list