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.

42 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libmpeg3/largefile.patch
  5. # Copyright (C) 2008 The OpenSDE Project
  6. # Copyright (C) 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. Needed for compilation on at least ppc64, maybe all architectures.
  18. - Rene Rebe <rene@exactcode.de>
  19. --- libmpeg3-1.6/mpeg3io.c.vanilla 2006-06-04 13:23:42.000000000 +0200
  20. +++ libmpeg3-1.6/mpeg3io.c 2006-06-04 13:26:14.000000000 +0200
  21. @@ -1,6 +1,7 @@
  22. #include "mpeg3private.h"
  23. #include "mpeg3protos.h"
  24. +#define __USE_LARGEFILE64
  25. #include <mntent.h>
  26. #include <stdint.h>
  27. #include <stdlib.h>
  28. diff -Nur libmpeg3-1.8-orig/mpeg3tocutil.c libmpeg3-1.8/mpeg3tocutil.c
  29. --- libmpeg3-1.8-orig/mpeg3tocutil.c 2008-08-29 12:40:46.000000000 +0200
  30. +++ libmpeg3-1.8/mpeg3tocutil.c 2008-08-29 12:42:08.000000000 +0200
  31. @@ -1,6 +1,7 @@
  32. #include "libmpeg3.h"
  33. #include "mpeg3protos.h"
  34. +#define __USE_LARGEFILE64
  35. #include <errno.h>
  36. #include <stdio.h>
  37. #include <stdlib.h>