diff options
author | mbr <mbr@FreeBSD.org> | 2002-06-03 03:29:04 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-06-03 03:29:04 +0800 |
commit | 6512ef8ceb16b6a051478275201363d8c248de4f (patch) | |
tree | f49f4dd2668026bf30a536be7854636934b8b805 | |
parent | 607cb2c170350143ee7d33df8bd2669417a8b396 (diff) | |
download | freebsd-ports-gnome-6512ef8ceb16b6a051478275201363d8c248de4f.tar.gz freebsd-ports-gnome-6512ef8ceb16b6a051478275201363d8c248de4f.tar.zst freebsd-ports-gnome-6512ef8ceb16b6a051478275201363d8c248de4f.zip |
Add a patch to not prototype getopt() again if gcc3 is used.
6 files changed, 210 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-external+glibc+glibcpatch b/editors/openoffice-1.0/files/patch-external+glibc+glibcpatch new file mode 100644 index 000000000000..07e2f5373ee8 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-external+glibc+glibcpatch @@ -0,0 +1,35 @@ +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/flist.pat Sun Jun 2 12:00:09 2002 +@@ -0,0 +1 @@ ++patch-getopt.h +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/patch-getopt.h Sun Jun 2 16:14:52 2002 +@@ -0,0 +1,14 @@ ++--- rtufiles/getopt.h.orig Fri May 31 16:46:21 2002 +++++ rtufiles/getopt.h Fri May 31 17:07:19 2002 ++@@ -133,7 +133,11 @@ ++ errors, only prototype getopt for the GNU C library. */ ++ extern int getopt (int __argc, char *const *__argv, const char *__shortopts); ++ # else /* not __GNU_LIBRARY__ */ +++#if (__GNUC__ == 3 && defined(FREEBSD)) +++/* skip getopt() definition , it conflicts with std.h */ +++#else ++ extern int getopt (); +++# endif /* FREEBSD */ ++ # endif /* __GNU_LIBRARY__ */ ++ ++ # ifndef __need_getopt +--- ../external/glibc/glibcpatch.sh.orig Sun Jun 2 11:46:42 2002 ++++ ../external/glibc/glibcpatch.sh Sun Jun 2 16:13:51 2002 +@@ -113,7 +113,10 @@ + # apply the patches + # + +-# there is no need to apply patch here ++for PNAME in `cat flist.pat` ++ do ++ patch < $PNAME ++ done + + + # diff --git a/editors/openoffice-1.0/files/patch-external::glibc::glibcpatch b/editors/openoffice-1.0/files/patch-external::glibc::glibcpatch new file mode 100644 index 000000000000..07e2f5373ee8 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-external::glibc::glibcpatch @@ -0,0 +1,35 @@ +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/flist.pat Sun Jun 2 12:00:09 2002 +@@ -0,0 +1 @@ ++patch-getopt.h +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/patch-getopt.h Sun Jun 2 16:14:52 2002 +@@ -0,0 +1,14 @@ ++--- rtufiles/getopt.h.orig Fri May 31 16:46:21 2002 +++++ rtufiles/getopt.h Fri May 31 17:07:19 2002 ++@@ -133,7 +133,11 @@ ++ errors, only prototype getopt for the GNU C library. */ ++ extern int getopt (int __argc, char *const *__argv, const char *__shortopts); ++ # else /* not __GNU_LIBRARY__ */ +++#if (__GNUC__ == 3 && defined(FREEBSD)) +++/* skip getopt() definition , it conflicts with std.h */ +++#else ++ extern int getopt (); +++# endif /* FREEBSD */ ++ # endif /* __GNU_LIBRARY__ */ ++ ++ # ifndef __need_getopt +--- ../external/glibc/glibcpatch.sh.orig Sun Jun 2 11:46:42 2002 ++++ ../external/glibc/glibcpatch.sh Sun Jun 2 16:13:51 2002 +@@ -113,7 +113,10 @@ + # apply the patches + # + +-# there is no need to apply patch here ++for PNAME in `cat flist.pat` ++ do ++ patch < $PNAME ++ done + + + # diff --git a/editors/openoffice.org-1.0/files/patch-external+glibc+glibcpatch b/editors/openoffice.org-1.0/files/patch-external+glibc+glibcpatch new file mode 100644 index 000000000000..07e2f5373ee8 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-external+glibc+glibcpatch @@ -0,0 +1,35 @@ +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/flist.pat Sun Jun 2 12:00:09 2002 +@@ -0,0 +1 @@ ++patch-getopt.h +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/patch-getopt.h Sun Jun 2 16:14:52 2002 +@@ -0,0 +1,14 @@ ++--- rtufiles/getopt.h.orig Fri May 31 16:46:21 2002 +++++ rtufiles/getopt.h Fri May 31 17:07:19 2002 ++@@ -133,7 +133,11 @@ ++ errors, only prototype getopt for the GNU C library. */ ++ extern int getopt (int __argc, char *const *__argv, const char *__shortopts); ++ # else /* not __GNU_LIBRARY__ */ +++#if (__GNUC__ == 3 && defined(FREEBSD)) +++/* skip getopt() definition , it conflicts with std.h */ +++#else ++ extern int getopt (); +++# endif /* FREEBSD */ ++ # endif /* __GNU_LIBRARY__ */ ++ ++ # ifndef __need_getopt +--- ../external/glibc/glibcpatch.sh.orig Sun Jun 2 11:46:42 2002 ++++ ../external/glibc/glibcpatch.sh Sun Jun 2 16:13:51 2002 +@@ -113,7 +113,10 @@ + # apply the patches + # + +-# there is no need to apply patch here ++for PNAME in `cat flist.pat` ++ do ++ patch < $PNAME ++ done + + + # diff --git a/editors/openoffice.org-1.0/files/patch-external::glibc::glibcpatch b/editors/openoffice.org-1.0/files/patch-external::glibc::glibcpatch new file mode 100644 index 000000000000..07e2f5373ee8 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-external::glibc::glibcpatch @@ -0,0 +1,35 @@ +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/flist.pat Sun Jun 2 12:00:09 2002 +@@ -0,0 +1 @@ ++patch-getopt.h +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/patch-getopt.h Sun Jun 2 16:14:52 2002 +@@ -0,0 +1,14 @@ ++--- rtufiles/getopt.h.orig Fri May 31 16:46:21 2002 +++++ rtufiles/getopt.h Fri May 31 17:07:19 2002 ++@@ -133,7 +133,11 @@ ++ errors, only prototype getopt for the GNU C library. */ ++ extern int getopt (int __argc, char *const *__argv, const char *__shortopts); ++ # else /* not __GNU_LIBRARY__ */ +++#if (__GNUC__ == 3 && defined(FREEBSD)) +++/* skip getopt() definition , it conflicts with std.h */ +++#else ++ extern int getopt (); +++# endif /* FREEBSD */ ++ # endif /* __GNU_LIBRARY__ */ ++ ++ # ifndef __need_getopt +--- ../external/glibc/glibcpatch.sh.orig Sun Jun 2 11:46:42 2002 ++++ ../external/glibc/glibcpatch.sh Sun Jun 2 16:13:51 2002 +@@ -113,7 +113,10 @@ + # apply the patches + # + +-# there is no need to apply patch here ++for PNAME in `cat flist.pat` ++ do ++ patch < $PNAME ++ done + + + # diff --git a/editors/openoffice/files/patch-external+glibc+glibcpatch b/editors/openoffice/files/patch-external+glibc+glibcpatch new file mode 100644 index 000000000000..07e2f5373ee8 --- /dev/null +++ b/editors/openoffice/files/patch-external+glibc+glibcpatch @@ -0,0 +1,35 @@ +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/flist.pat Sun Jun 2 12:00:09 2002 +@@ -0,0 +1 @@ ++patch-getopt.h +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/patch-getopt.h Sun Jun 2 16:14:52 2002 +@@ -0,0 +1,14 @@ ++--- rtufiles/getopt.h.orig Fri May 31 16:46:21 2002 +++++ rtufiles/getopt.h Fri May 31 17:07:19 2002 ++@@ -133,7 +133,11 @@ ++ errors, only prototype getopt for the GNU C library. */ ++ extern int getopt (int __argc, char *const *__argv, const char *__shortopts); ++ # else /* not __GNU_LIBRARY__ */ +++#if (__GNUC__ == 3 && defined(FREEBSD)) +++/* skip getopt() definition , it conflicts with std.h */ +++#else ++ extern int getopt (); +++# endif /* FREEBSD */ ++ # endif /* __GNU_LIBRARY__ */ ++ ++ # ifndef __need_getopt +--- ../external/glibc/glibcpatch.sh.orig Sun Jun 2 11:46:42 2002 ++++ ../external/glibc/glibcpatch.sh Sun Jun 2 16:13:51 2002 +@@ -113,7 +113,10 @@ + # apply the patches + # + +-# there is no need to apply patch here ++for PNAME in `cat flist.pat` ++ do ++ patch < $PNAME ++ done + + + # diff --git a/editors/openoffice/files/patch-external::glibc::glibcpatch b/editors/openoffice/files/patch-external::glibc::glibcpatch new file mode 100644 index 000000000000..07e2f5373ee8 --- /dev/null +++ b/editors/openoffice/files/patch-external::glibc::glibcpatch @@ -0,0 +1,35 @@ +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/flist.pat Sun Jun 2 12:00:09 2002 +@@ -0,0 +1 @@ ++patch-getopt.h +--- /dev/null Sun Jun 2 16:11:00 2002 ++++ ../external/glibc/patch-getopt.h Sun Jun 2 16:14:52 2002 +@@ -0,0 +1,14 @@ ++--- rtufiles/getopt.h.orig Fri May 31 16:46:21 2002 +++++ rtufiles/getopt.h Fri May 31 17:07:19 2002 ++@@ -133,7 +133,11 @@ ++ errors, only prototype getopt for the GNU C library. */ ++ extern int getopt (int __argc, char *const *__argv, const char *__shortopts); ++ # else /* not __GNU_LIBRARY__ */ +++#if (__GNUC__ == 3 && defined(FREEBSD)) +++/* skip getopt() definition , it conflicts with std.h */ +++#else ++ extern int getopt (); +++# endif /* FREEBSD */ ++ # endif /* __GNU_LIBRARY__ */ ++ ++ # ifndef __need_getopt +--- ../external/glibc/glibcpatch.sh.orig Sun Jun 2 11:46:42 2002 ++++ ../external/glibc/glibcpatch.sh Sun Jun 2 16:13:51 2002 +@@ -113,7 +113,10 @@ + # apply the patches + # + +-# there is no need to apply patch here ++for PNAME in `cat flist.pat` ++ do ++ patch < $PNAME ++ done + + + # |