pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libretro-gambatte



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Oct  3 01:40:32 UTC 2018

Modified Files:
        pkgsrc/emulators/libretro-gambatte: Makefile distinfo
Added Files:
        pkgsrc/emulators/libretro-gambatte/patches:
            patch-libgambatte_libretro_net__serial.cpp

Log Message:
libretro-gambatte: Fix build on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-gambatte/Makefile \
    pkgsrc/emulators/libretro-gambatte/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/libretro-gambatte/patches/patch-libgambatte_libretro_net__serial.cpp

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

Modified files:

Index: pkgsrc/emulators/libretro-gambatte/Makefile
diff -u pkgsrc/emulators/libretro-gambatte/Makefile:1.3 pkgsrc/emulators/libretro-gambatte/Makefile:1.4
--- pkgsrc/emulators/libretro-gambatte/Makefile:1.3     Wed Aug  8 20:41:06 2018
+++ pkgsrc/emulators/libretro-gambatte/Makefile Wed Oct  3 01:40:32 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2018/08/08 20:41:06 nia Exp $
+# $NetBSD: Makefile,v 1.4 2018/10/03 01:40:32 nia Exp $
 
 DISTNAME=      libretro-gambatte-20180709
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
 GITHUB_PROJECT=        gambatte-libretro
@@ -16,6 +17,10 @@ USE_LANGUAGES=       c c++03
 MAKE_FILE=     Makefile.libretro
 USE_TOOLS+=    gmake
 
+CFLAGS.SunOS+= -DBSD_COMP
+
+BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,-version-script=libgambatte/libretro/link.T
+
 INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
 
 do-install:
Index: pkgsrc/emulators/libretro-gambatte/distinfo
diff -u pkgsrc/emulators/libretro-gambatte/distinfo:1.3 pkgsrc/emulators/libretro-gambatte/distinfo:1.4
--- pkgsrc/emulators/libretro-gambatte/distinfo:1.3     Wed Aug  8 20:41:06 2018
+++ pkgsrc/emulators/libretro-gambatte/distinfo Wed Oct  3 01:40:32 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2018/08/08 20:41:06 nia Exp $
+$NetBSD: distinfo,v 1.4 2018/10/03 01:40:32 nia Exp $
 
 SHA1 (libretro-gambatte-20180709-7722012ce85e56c324cb2080645347689ca379ae.tar.gz) = 1b155bafe76acae6ec207eb7da2e417513c3f8d7
 RMD160 (libretro-gambatte-20180709-7722012ce85e56c324cb2080645347689ca379ae.tar.gz) = 3eb8c9cd7064525fb32b3cca486e74f1bcb64162
 SHA512 (libretro-gambatte-20180709-7722012ce85e56c324cb2080645347689ca379ae.tar.gz) = 
4f7de8ff549c51fd69042eed7883f1f73cbdf3e06677c91be428161767b7d5af24304006029e6db8fc67e0c67bfdf6764d044dee99ddc75afcd83b52c9b654bf
 Size (libretro-gambatte-20180709-7722012ce85e56c324cb2080645347689ca379ae.tar.gz) = 180439 bytes
+SHA1 (patch-libgambatte_libretro_net__serial.cpp) = fad2ef612eb7893409dbae5aca30c8d79e9cb501

Added files:

Index: pkgsrc/emulators/libretro-gambatte/patches/patch-libgambatte_libretro_net__serial.cpp
diff -u /dev/null pkgsrc/emulators/libretro-gambatte/patches/patch-libgambatte_libretro_net__serial.cpp:1.1
--- /dev/null   Wed Oct  3 01:40:32 2018
+++ pkgsrc/emulators/libretro-gambatte/patches/patch-libgambatte_libretro_net__serial.cpp       Wed Oct  3 01:40:32 2018
@@ -0,0 +1,14 @@
+$NetBSD: patch-libgambatte_libretro_net__serial.cpp,v 1.1 2018/10/03 01:40:32 nia Exp $
+
+Include strings.h for bzero and bcopy.
+
+--- libgambatte/libretro/net_serial.cpp.orig   2018-07-09 19:08:35.000000000 +0000
++++ libgambatte/libretro/net_serial.cpp
+@@ -4,6 +4,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <strings.h>
+ #include <unistd.h>
+ #include <errno.h>
+ #include <sys/types.h>



Home | Main Index | Thread Index | Old Index