Package Details: darkplaces 20140513-4

Git Clone URL: https://aur.archlinux.org/darkplaces.git (read-only, click to copy)
Package Base: darkplaces
Description: An advanced Quake 1 game engine
Upstream URL: http://icculus.org/twilight/darkplaces/
Licenses: GPL2
Submitter: None
Maintainer: jose1711
Last Packager: jose1711
Votes: 77
Popularity: 0.006660
First Submitted: 2005-12-18 06:30
Last Updated: 2021-09-20 08:00

Latest Comments

1 2 3 4 Next › Last »

jose1711 commented on 2021-09-19 20:50

@kleintux looks like maintainer lost interest in maintaining this. here's a patch you need to apply to fix it.

--- PKGBUILD.orig   2021-09-19 22:47:10.045758485 +0200
+++ PKGBUILD    2021-09-19 22:46:27.978817641 +0200
@@ -13,9 +13,11 @@
          'libxxf86vm' 'sdl' 'zlib')
 install=$pkgname.install
 source=(http://icculus.org/twilight/$pkgname/files/darkplacesengine$pkgver.zip
-        $pkgname.desktop)
+        $pkgname.desktop
+        gcc-11.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/games-fps/darkplaces/files/darkplaces-20140513-gcc-11.patch?id=bc2ba1cd6fdc5a7ad7d161efb21652b73c6b207e)
 sha512sums=('45864b590057c6de0ea978b3cc967feb879b87b2d376f3b4d8525e037b10ca1fc68599c152506494bb06669c6c2304e0aa0ee1b28f7a0d589d10c23f7285052c'
-            'daed32cb397b8f5d8a569b0679680377b9a1fb7a30fc5b99742381723850b792424d221deafb48ed4bad99d9fc7812f8a667263d9f0e63a40fbc2d9e1013c1d6')
+            'daed32cb397b8f5d8a569b0679680377b9a1fb7a30fc5b99742381723850b792424d221deafb48ed4bad99d9fc7812f8a667263d9f0e63a40fbc2d9e1013c1d6'
+            '426e6e3926872131afde4b6f162453f5f24ee0075b13c2da9732c7519bdbae9f05348502f74cafce88b183adddf5d9916020d1df0db25b953fafdeda7b49f1e2')
 noextract=(darkplacesengine$pkgver.zip)

 prepare() {
@@ -27,6 +29,10 @@
    # Fix a couple options in the Makefile.
    sed -i '1i DP_LINK_TO_LIBJPEG=1' makefile
    sed -i '/(STRIP)/d' makefile.inc
+
+   # Fix compilation with GCC-11
+   patch -p1 -i "${srcdir}/gcc-11.patch"
+
 }

 build() {

kleintux commented on 2021-09-19 15:34

cc -MMD -DDP_FS_BASEDIR=\"/usr/share/games/quake\" -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c ../../../dpsoftrast.c -o dpsoftrast.o -msse2 ../../../dpsoftrast.c:239:22: error: size of array element is not a multiple of its alignment 239 | typedef ALIGN(struct DPSOFTRAST_State_Thread_s | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../dpsoftrast.c:45:36: note: in definition of macro ‘ALIGN’ 45 | #define ALIGN(var) var attribute((aligned(16))) | ^~~ make[3]: [makefile.inc:542: dpsoftrast.o] Error 1 make[3]: Leaving directory '/home/bl00dy/.cache/paru/clone/darkplaces/src/darkplaces/build-obj/release/darkplaces-dedicated' make[2]: [makefile.inc:471: bin-release] Error 2 make[2]: Leaving directory '/home/bl00dy/.cache/paru/clone/darkplaces/src/darkplaces' make[1]: [makefile.inc:392: sv-release] Error 2 make[1]: Leaving directory '/home/bl00dy/.cache/paru/clone/darkplaces/src/darkplaces' make: [makefile.inc:348: release] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'darkplaces-20140513-3': error: packages failed to build: darkplaces-20140513-3

pevzi commented on 2021-07-04 08:05

Building with gcc 11 fails with the following error:

../../../dpsoftrast.c:239:22: error: size of array element is not a multiple of its alignment
  239 | typedef ALIGN(struct DPSOFTRAST_State_Thread_s
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~

Here's a patch that fixes this: https://bugs.gentoo.org/786288#c9

alexbrinister commented on 2020-05-06 22:43

libglvnd should be a makedepend. This package does not build without GL/glx.h.

jose1711 commented on 2019-12-22 23:23

can you please drop the obsolete makedepends? the engine compiles just fine without them. thanks!

ProfessorKaos64 commented on 2016-09-21 19:27

This doesn't follow the git source? Maybe i'll just create darkplaces-git for my purposes.

parkerlreed commented on 2016-06-21 14:12

Found a working link on archive.org

https://web.archive.org/web/20160316040726/http://icculus.org/twilight/darkplaces/files/darkplacesengine20140513.zip

parkerlreed commented on 2016-06-21 14:10

Site is down at the moment http://www.downforeveryoneorjustme.com/http://icculus.org

Anybody have a backup of the zip?

FredBezies commented on 2014-05-08 21:36

Latest version is 20140507

Source file : http://icculus.org/twilight/darkplaces/files/darkplacesengine20140507.zip

sha256sums=('80fa52b2d5eb8b3c90a16d4937697f114a253e81df5151d7e0334ea2914b5e7c'
'476f513f85da873ce93c89f2078bf9c2ea244e3e13a19c6ab02e818ddf221c37')

Anonymous comment on 2013-04-14 06:01

Latest version is 20130304; builds fine with no changes but pkgver and sha256sums.