pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/vlc2



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jul  5 14:24:38 UTC 2018

Modified Files:
        pkgsrc/multimedia/vlc2: distinfo
Added Files:
        pkgsrc/multimedia/vlc2/patches: patch-src_posix_error.c

Log Message:
vlc2: Workaround missing strerror_l on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/multimedia/vlc2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/vlc2/patches/patch-src_posix_error.c

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

Modified files:

Index: pkgsrc/multimedia/vlc2/distinfo
diff -u pkgsrc/multimedia/vlc2/distinfo:1.27 pkgsrc/multimedia/vlc2/distinfo:1.28
--- pkgsrc/multimedia/vlc2/distinfo:1.27        Sat Jun 16 09:49:00 2018
+++ pkgsrc/multimedia/vlc2/distinfo     Thu Jul  5 14:24:38 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2018/06/16 09:49:00 markd Exp $
+$NetBSD: distinfo,v 1.28 2018/07/05 14:24:38 jperkin Exp $
 
 SHA1 (vlc-2.2.6.tar.xz) = d299dce6a5c94af4292657b6cb99c44654024f70
 RMD160 (vlc-2.2.6.tar.xz) = b2727834bcbbf0d274e3a0b4a3317f3b914f9ad4
@@ -31,3 +31,4 @@ SHA1 (patch-modules_misc_inhibit_xdg.c) 
 SHA1 (patch-modules_services__discovery_mtp.c) = 03ad7d3efecc95bb27aaa216b78719662999102e
 SHA1 (patch-modules_video__output_sdl.c) = fcb5daacd5fe0627dcf1eaad79c8e2a27d6c948a
 SHA1 (patch-src_config_file.c) = 87c53b6d3a2d1fa9cf5b7e8e672ab2a08cafe3bb
+SHA1 (patch-src_posix_error.c) = 7892d00bdcb21a0ab0e3b5424354a647b14fe819

Added files:

Index: pkgsrc/multimedia/vlc2/patches/patch-src_posix_error.c
diff -u /dev/null pkgsrc/multimedia/vlc2/patches/patch-src_posix_error.c:1.1
--- /dev/null   Thu Jul  5 14:24:38 2018
+++ pkgsrc/multimedia/vlc2/patches/patch-src_posix_error.c      Thu Jul  5 14:24:38 2018
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_posix_error.c,v 1.1 2018/07/05 14:24:38 jperkin Exp $
+
+Missing strerror_l workaround for SunOS.
+
+--- src/posix/error.c.orig     2014-08-14 07:20:04.000000000 +0000
++++ src/posix/error.c
+@@ -31,6 +31,9 @@
+ 
+ static const char *vlc_strerror_l(int errnum, const char *lname)
+ {
++#ifdef __sun
++    const char *buf = strerror(errnum);
++#else
+     int saved_errno = errno;
+     locale_t loc = newlocale(LC_MESSAGES_MASK, lname, (locale_t)0);
+ 
+@@ -51,6 +54,7 @@ static const char *vlc_strerror_l(int er
+     const char *buf = strerror_l(errnum, loc);
+ 
+     freelocale(loc);
++#endif
+     return buf;
+ }
+ 



Home | Main Index | Thread Index | Old Index