OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.7 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../ghostscript/gcc-40.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- espgs-8.15rc3/src/gp_unifs.c 2005-01-19 05:08:41.000000000 +0100
  17. +++ espgs-8.15rc3-fixed/src/gp_unifs.c 2005-09-19 12:22:29.000000000 +0200
  18. @@ -130,6 +129,8 @@
  19. /* the original version of the following code, and Richard Mlynarik */
  20. /* (mly@adoc.xerox.com) for an improved version. */
  21. +#include <sys/dir.h>
  22. +
  23. typedef struct dirstack_s dirstack;
  24. struct dirstack_s {
  25. dirstack *next;
  26. @@ -293,7 +295,7 @@
  27. uint
  28. gp_enumerate_files_next(file_enum * pfen, char *ptr, uint maxlen)
  29. {
  30. - const dir_entry *de;
  31. + struct dirent *de;
  32. char *work = pfen->work;
  33. int worklen = pfen->worklen;
  34. char *pattern = pfen->pattern;
  35. diff -ur espgs-8.15rc3/src/time_.h espgs-8.15rc3-fixed/src/time_.h
  36. --- espgs-8.15rc3/src/time_.h 2005-03-08 21:46:07.000000000 +0100
  37. +++ espgs-8.15rc3-fixed/src/time_.h 2005-09-19 12:04:49.000000000 +0200
  38. @@ -40,9 +40,6 @@
  39. #else
  40. # include <time.h>
  41. # if !defined(__DECC) && !defined(__MWERKS__)
  42. -struct timeval {
  43. - long tv_sec, tv_usec;
  44. -};
  45. # endif
  46. struct timezone {
  47. int tz_minuteswest, tz_dsttime;