summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-11-28 14:47:31 +0000
committerwiz <wiz@pkgsrc.org>2017-11-28 14:47:31 +0000
commit9268138ad4b2dcc759b28d69dc6d4b2aa8b4a3cb (patch)
treebd81079b6c70f4054877f57e2944d710f2476e91 /devel
parenta8a299436048ceb1c3e3650b69b51400adec2b6d (diff)
downloadpkgsrc-9268138ad4b2dcc759b28d69dc6d4b2aa8b4a3cb.tar.gz
physfs: update to 3.0.1.
Many years of development, not summarized by upstream. For a detailed log see the hg shortlog at https://hg.icculus.org/icculus/physfs/shortlog
Diffstat (limited to 'devel')
-rw-r--r--devel/physfs/Makefile7
-rw-r--r--devel/physfs/PLIST3
-rw-r--r--devel/physfs/distinfo11
-rw-r--r--devel/physfs/patches/patch-src_physfs__platform__unix.c17
4 files changed, 29 insertions, 9 deletions
diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile
index 49496b0a4f1..71d7459344f 100644
--- a/devel/physfs/Makefile
+++ b/devel/physfs/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2015/08/18 07:31:00 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2017/11/28 14:47:31 wiz Exp $
-DISTNAME= physfs-2.0.3
-PKGREVISION= 1
+DISTNAME= physfs-3.0.1
CATEGORIES= devel
MASTER_SITES= http://offload1.icculus.org/physfs/downloads/
EXTRACT_SUFX= .tar.bz2
@@ -15,6 +14,8 @@ USE_CMAKE= yes
USE_LANGUAGES= c c++
PTHREAD_AUTO_VARS= yes
+PKGCONFIG_OVERRIDE+= extras/physfs.pc.in
+
CFLAGS.SunOS+= -DPHYSFS_NO_CDROM_SUPPORT=1
.include "../../mk/readline.buildlink3.mk"
diff --git a/devel/physfs/PLIST b/devel/physfs/PLIST
index 2af7d0af43c..5e9dad045db 100644
--- a/devel/physfs/PLIST
+++ b/devel/physfs/PLIST
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.4 2014/03/31 08:29:44 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/11/28 14:47:31 wiz Exp $
bin/test_physfs
include/physfs.h
lib/libphysfs.a
lib/libphysfs.so
lib/libphysfs.so.1
lib/libphysfs.so.${PKGVERSION}
+lib/pkgconfig/physfs.pc
diff --git a/devel/physfs/distinfo b/devel/physfs/distinfo
index ec6bc641c8b..a3de160574a 100644
--- a/devel/physfs/distinfo
+++ b/devel/physfs/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 03:29:02 agc Exp $
+$NetBSD: distinfo,v 1.12 2017/11/28 14:47:31 wiz Exp $
-SHA1 (physfs-2.0.3.tar.bz2) = 327308c777009a41bbabb9159b18c4c0ac069537
-RMD160 (physfs-2.0.3.tar.bz2) = a6122fe69bdb213409dbfc4927c7a5782e063e21
-SHA512 (physfs-2.0.3.tar.bz2) = 47eff0c81b8dc3bb526766b0a8ad2437d2951867880116d6e6e8f2ec1490e263541fb741867fed6517cc3fa8a9c5651b36e3e02a499f19cfdc5c7261c9707e80
-Size (physfs-2.0.3.tar.bz2) = 560628 bytes
+SHA1 (physfs-3.0.1.tar.bz2) = 9959a7acad0aa30d1a86d3a418e61155b0ac533c
+RMD160 (physfs-3.0.1.tar.bz2) = 3d5e1f224b510444fe88247db10976e45d5302e8
+SHA512 (physfs-3.0.1.tar.bz2) = ddf3b075ccb506da5e9a1ce96001be402752b9b777c2e816a85d48aff3626ff0886ea43eb07bd300fe3a9f59b9a002f54d822c51d483a4ee94b38378534c1879
+Size (physfs-3.0.1.tar.bz2) = 194638 bytes
+SHA1 (patch-src_physfs__platform__unix.c) = 704cbbdc45c99e583983dadfb1e0d7950c4957cf
diff --git a/devel/physfs/patches/patch-src_physfs__platform__unix.c b/devel/physfs/patches/patch-src_physfs__platform__unix.c
new file mode 100644
index 00000000000..f0baab9d2c6
--- /dev/null
+++ b/devel/physfs/patches/patch-src_physfs__platform__unix.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_physfs__platform__unix.c,v 1.1 2017/11/28 14:47:31 wiz Exp $
+
+NetBSD support.
+
+--- src/physfs_platform_unix.c.orig 2017-10-26 18:38:03.000000000 +0000
++++ src/physfs_platform_unix.c
+@@ -56,6 +56,10 @@
+ #ifdef PHYSFS_PLATFORM_FREEBSD
+ #include <sys/sysctl.h>
+ #endif
++#ifdef __NetBSD__
++#include <sys/statvfs.h>
++#define statfs statvfs
++#endif
+
+
+ #include "physfs_internal.h"