r9665 - in packages/trunk/libphysfs/debian: . patches
Patrick Matthäi
pmatthaei at alioth.debian.org
Mon May 4 17:10:58 UTC 2009
Author: pmatthaei
Date: 2009-05-04 17:10:57 +0000 (Mon, 04 May 2009)
New Revision: 9665
Added:
packages/trunk/libphysfs/debian/patches/02_fix-hurd-ftbfs.diff
Modified:
packages/trunk/libphysfs/debian/changelog
packages/trunk/libphysfs/debian/patches/series
Log:
* Add experimental 02_fix-hurd-ftbfs.diff patch, which should fix FTBFS
on hurd.
Closes: #493916
Modified: packages/trunk/libphysfs/debian/changelog
===================================================================
--- packages/trunk/libphysfs/debian/changelog 2009-05-04 16:47:37 UTC (rev 9664)
+++ packages/trunk/libphysfs/debian/changelog 2009-05-04 17:10:57 UTC (rev 9665)
@@ -4,8 +4,11 @@
* Add 03_gcc4.4-ftbfs.diff patch from upstream, which fixes a FTBFS with
gcc 4.4.
Closes: #525750
+ * Add experimental 02_fix-hurd-ftbfs.diff patch, which should fix FTBFS
+ on hurd.
+ Closes: #493916
- -- Patrick Matthäi <pmatthaei at debian.org> Mon, 04 May 2009 18:45:38 +0200
+ -- Patrick Matthäi <pmatthaei at debian.org> Mon, 04 May 2009 19:09:45 +0200
libphysfs (2.0.0-2) unstable; urgency=low
Added: packages/trunk/libphysfs/debian/patches/02_fix-hurd-ftbfs.diff
===================================================================
--- packages/trunk/libphysfs/debian/patches/02_fix-hurd-ftbfs.diff (rev 0)
+++ packages/trunk/libphysfs/debian/patches/02_fix-hurd-ftbfs.diff 2009-05-04 17:10:57 UTC (rev 9665)
@@ -0,0 +1,29 @@
+diff -Naur physfs-2.0.0.orig/platform/unix.c physfs-2.0.0/platform/unix.c
+--- physfs-2.0.0.orig/platform/unix.c 2009-05-04 19:01:08.000000000 +0200
++++ physfs-2.0.0/platform/unix.c 2009-05-04 19:04:17.000000000 +0200
+@@ -23,7 +23,6 @@
+ #include <dirent.h>
+ #include <time.h>
+ #include <errno.h>
+-#include <sys/mount.h>
+
+ #if (!defined PHYSFS_NO_PTHREADS_SUPPORT)
+ #include <pthread.h>
+@@ -34,6 +33,7 @@
+ # undef PHYSFS_HAVE_MNTENT_H /* don't do both... */
+ # endif
+ # include <sys/ucred.h>
++# include <sys/mount.h>
+ #endif
+
+ #ifdef PHYSFS_HAVE_MNTENT_H
+@@ -42,6 +42,9 @@
+
+ #include "physfs_internal.h"
+
++#ifndef MAXPATHLEN
++#define MAXPATHLEN 1024
++#endif
+
+ int __PHYSFS_platformInit(void)
+ {
Modified: packages/trunk/libphysfs/debian/patches/series
===================================================================
--- packages/trunk/libphysfs/debian/patches/series 2009-05-04 16:47:37 UTC (rev 9664)
+++ packages/trunk/libphysfs/debian/patches/series 2009-05-04 17:10:57 UTC (rev 9665)
@@ -1,2 +1,3 @@
01_manpages.diff
+02_fix-hurd-ftbfs.diff
03_gcc4.4-ftbfs.diff
More information about the Pkg-games-commits
mailing list