pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/doomlegacy



Module Name:    pkgsrc
Committed By:   micha
Date:           Wed Jun 10 15:35:02 UTC 2020

Modified Files:
        pkgsrc/games/doomlegacy: Makefile distinfo
Added Files:
        pkgsrc/games/doomlegacy/patches: patch-src_t__prepro.h

Log Message:
games/doomlegacy: Build fix for SunOS

The type label_t is not available on all OS, e.g. on SmartOS.
labelforname() is an unused function and the only place where label_t is
used. Commented out with new patch.

Bump PKGREVISION because C source file has changed.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/doomlegacy/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/games/doomlegacy/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/doomlegacy/patches/patch-src_t__prepro.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/doomlegacy/Makefile
diff -u pkgsrc/games/doomlegacy/Makefile:1.4 pkgsrc/games/doomlegacy/Makefile:1.5
--- pkgsrc/games/doomlegacy/Makefile:1.4        Tue May 19 11:20:16 2020
+++ pkgsrc/games/doomlegacy/Makefile    Wed Jun 10 15:35:02 2020
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2020/05/19 11:20:16 micha Exp $
+# $NetBSD: Makefile,v 1.5 2020/06/10 15:35:02 micha Exp $
 
 VERS=                  1.48.4
 PKGNAME=               doomlegacy-${VERS}
+PKGREVISION=           1
 CATEGORIES=            games
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=doomlegacy/}
-DISTNAME=              ${PKGNAME:S/-/_/}_source
+DISTNAME=              ${PKGNAME_NOREV:S/-/_/}_source
 DISTFILES=             ${DEFAULT_DISTFILES} doomlegacy_${VERS}_common.zip
 EXTRACT_SUFX=          .tar.bz2
 

Index: pkgsrc/games/doomlegacy/distinfo
diff -u pkgsrc/games/doomlegacy/distinfo:1.3 pkgsrc/games/doomlegacy/distinfo:1.4
--- pkgsrc/games/doomlegacy/distinfo:1.3        Wed May 20 16:04:12 2020
+++ pkgsrc/games/doomlegacy/distinfo    Wed Jun 10 15:35:02 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2020/05/20 16:04:12 micha Exp $
+$NetBSD: distinfo,v 1.4 2020/06/10 15:35:02 micha Exp $
 
 SHA1 (doomlegacy_1.48.4_common.zip) = 14aed4c0091e8c61f46a2303f9316659ab6c0483
 RMD160 (doomlegacy_1.48.4_common.zip) = cca61af6bdda1003032ee117129e07596c8bbfcf
@@ -15,3 +15,4 @@ SHA1 (patch-src_dstrings.c) = e1fc8bdcb8
 SHA1 (patch-src_p__local.h) = e429f2ce5d60dd538bc5e796847b53ae72604b33
 SHA1 (patch-src_p__setup.c) = c3766f924b05655b8d9d17d4686dde9a83239e0a
 SHA1 (patch-src_r__defs.h) = 9211ae6db72f0288f38449b18c8c252f42686405
+SHA1 (patch-src_t__prepro.h) = 768fc3a87665a75a85ff4ff88b53091b13eab55e

Added files:

Index: pkgsrc/games/doomlegacy/patches/patch-src_t__prepro.h
diff -u /dev/null pkgsrc/games/doomlegacy/patches/patch-src_t__prepro.h:1.1
--- /dev/null   Wed Jun 10 15:35:02 2020
+++ pkgsrc/games/doomlegacy/patches/patch-src_t__prepro.h       Wed Jun 10 15:35:02 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_t__prepro.h,v 1.1 2020/06/10 15:35:02 micha Exp $
+
+The type label_t is not available on all OS, e.g. on SmartOS.
+labelforname() is an unused function and the only place where label_t is used.
+
+--- src/t_prepro.h.orig        2018-07-16 09:17:06.000000000 +0000
++++ src/t_prepro.h
+@@ -97,6 +97,8 @@ typedef enum    // section types
+ 
+ /****** goto labels ***********/
+ 
++#if 0
+ label_t * labelforname(char *labelname);
++#endif
+ 
+ #endif



Home | Main Index | Thread Index | Old Index