mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
Initial bep and patch for libggz from GCI2012 student Zbaker1398
This commit is contained in:
24
dev-games/libggz/libggz-0.99.5.bep
Normal file
24
dev-games/libggz/libggz-0.99.5.bep
Normal file
@@ -0,0 +1,24 @@
|
||||
DESCRIPTION="GGZ Library libggz"
|
||||
HOMEPAGE="http://dev.ggzgamingzone.org/libraries/libggz/"
|
||||
SRC_URI="http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/ggz-base-libs-snapshot-0.99.5.tar.gz"
|
||||
CHECKSUM_MD5="811d956fe082ee27c682c6d1c4d55142"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="broken"
|
||||
DEPEND="dev-util/pkgconfig >= 0.23"
|
||||
|
||||
BUILD {
|
||||
cd ggz-base-libs-snapshot-0.99.5
|
||||
libtoolize -fci
|
||||
aclocal -I m4 -I m4/ggz
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd ggz-base-libs-snapshot-0.99.5
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2003-2009 The GGZ Development Team"
|
||||
28
dev-games/libggz/patches/libggz-0.99.5.patch
Normal file
28
dev-games/libggz/patches/libggz-0.99.5.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
diff -Naur ggz-base-libs-snapshot-0.99.5/ggzcore/netxml.c ggz-base-libs-snapshot-0.99.5-haiku/ggzcore/netxml.c
|
||||
--- ggz-base-libs-snapshot-0.99.5/ggzcore/netxml.c 2009-01-02 19:32:30.017825792 +0000
|
||||
+++ ggz-base-libs-snapshot-0.99.5/ggzcore/netxml.c 2011-06-08 19:17:54.251396096 +0000
|
||||
@@ -37,6 +37,11 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
+#ifdef (__HAIKU__)
|
||||
+#include <sys/select.h>
|
||||
+#endif
|
||||
+
|
||||
+
|
||||
#ifdef HAVE_WINSOCK2_H
|
||||
# include <winsock2.h>
|
||||
#endif
|
||||
|
||||
--- ggz-base-libs-snapshot-0.99.5/m4/ggz/platform.m4 2012-12-22 15:35:37.236191744 +0000
|
||||
+++ ggz-base-libs-snapshot-0.99.5/m4/ggz/platform.m4 2012-12-22 15:26:06.672661504 +0000
|
||||
@@ -251,7 +251,9 @@
|
||||
# On some systems additional libraries may be needed. Simply include them
|
||||
# if they're there.
|
||||
AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])
|
||||
+AC_CHECK_LIB(network, socket, [LIBS="$LIBS -lnetwork"])
|
||||
AC_CHECK_LIB(nsl, gethostbyname, [LIBS="$LIBS -lnsl"])
|
||||
+AC_CHECK_LIB(network, gethostbyname, [LIBS="$LIBS -lnetwork"])
|
||||
])
|
||||
|
||||
dnl ------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user