mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
update to Powder Toy 99.1.380
This commit is contained in:
@@ -3,7 +3,7 @@ COMMENT = physics sandbox simulation
|
||||
# LuaJIT requires USE_NOBTCFI
|
||||
USE_NOBTCFI = Yes
|
||||
|
||||
V = 98.2.365
|
||||
V = 99.1.380
|
||||
PKGNAME = powder-toy-${V}
|
||||
DIST_TUPLE += github The-Powder-Toy The-Powder-Toy v${V} .
|
||||
CATEGORIES = games
|
||||
@@ -28,10 +28,10 @@ LIB_DEPENDS = archivers/bzip2 \
|
||||
net/curl
|
||||
|
||||
CONFIGURE_ARGS += -Dworkaround_elusive_bzip2=true \
|
||||
-Dworkaround_elusive_bzip2_lib_dir=/usr/local/lib
|
||||
CONFIGURE_ENV += LIBRARY_PATH=/usr/local/lib LDFLAGS="${LDFLAGS}"
|
||||
-Dworkaround_elusive_bzip2_lib_dir=${LOCALBASE}/lib
|
||||
CONFIGURE_ENV += LIBRARY_PATH=${LOCALBASE}/lib LDFLAGS="${LDFLAGS}"
|
||||
|
||||
CFLAGS += -I/usr/local/include
|
||||
CXXFLAGS += -I${LOCALBASE}/include
|
||||
LDFLAGS += -lexecinfo
|
||||
|
||||
.if ${MACHINE_ARCH:Mi386}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (The-Powder-Toy-The-Powder-Toy-v98.2.365.tar.gz) = IZALawIlNdDlYSawI1OMxPRLZP7Or7VkBJJhikKmAIA=
|
||||
SIZE (The-Powder-Toy-The-Powder-Toy-v98.2.365.tar.gz) = 777726
|
||||
SHA256 (The-Powder-Toy-The-Powder-Toy-v99.1.380.tar.gz) = v735fQ6sluMVijl/iCnZI+jHm97Ra/9e361mAox3eZ8=
|
||||
SIZE (The-Powder-Toy-The-Powder-Toy-v99.1.380.tar.gz) = 798672
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
Index: src/PowderToy.cpp
|
||||
--- src/PowderToy.cpp.orig
|
||||
+++ src/PowderToy.cpp
|
||||
@@ -155,7 +155,7 @@ static void BlueScreen(String detailMessage, std::opti
|
||||
}
|
||||
|
||||
// Don't use Platform::Exit, we're practically zombies at this point anyway.
|
||||
-#if defined(__MINGW32__) || defined(__APPLE__) || defined(__EMSCRIPTEN__)
|
||||
+#if defined(__MINGW32__) || defined(__APPLE__) || defined(__EMSCRIPTEN__) || defined(__OpenBSD__)
|
||||
// Come on...
|
||||
exit(-1);
|
||||
#else
|
||||
Reference in New Issue
Block a user