[Midnightbsd-cvs] mports [15908] trunk/graphics/libgphoto2/files/ patch-libgphoto2_port-gphoto2-gphoto2-port-portability.h: libgphoto 2.5.3
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Feb 26 19:55:31 EST 2014
Revision: 15908
http://svnweb.midnightbsd.org/mports/?rev=15908
Author: laffer1
Date: 2014-02-26 19:55:30 -0500 (Wed, 26 Feb 2014)
Log Message:
-----------
libgphoto 2.5.3
Added Paths:
-----------
trunk/graphics/libgphoto2/files/patch-libgphoto2_port-gphoto2-gphoto2-port-portability.h
Added: trunk/graphics/libgphoto2/files/patch-libgphoto2_port-gphoto2-gphoto2-port-portability.h
===================================================================
--- trunk/graphics/libgphoto2/files/patch-libgphoto2_port-gphoto2-gphoto2-port-portability.h (rev 0)
+++ trunk/graphics/libgphoto2/files/patch-libgphoto2_port-gphoto2-gphoto2-port-portability.h 2014-02-27 00:55:30 UTC (rev 15908)
@@ -0,0 +1,23 @@
+--- libgphoto2_port/gphoto2/gphoto2-port-portability.h.orig 2011-04-05 08:38:24.000000000 +0200
++++ libgphoto2_port/gphoto2/gphoto2-port-portability.h 2013-10-26 11:13:54.000000000 +0200
+@@ -152,20 +152,6 @@
+
+ /* yummy. :) */
+
+-/* XOPEN needed for usleep */
+-#ifndef _XOPEN_SOURCE
+-# define _XOPEN_SOURCE 500
+-#else
+-# if ((_XOPEN_SOURCE - 0) < 500)
+-# undef _XOPEN_SOURCE
+-# define _XOPEN_SOURCE 500
+-# endif
+-#endif
+-
+-/* for nanosleep */
+-# ifndef _POSIX_C_SOURCE
+-# define _POSIX_C_SOURCE 199309
+-# endif
+ # include <time.h>
+
+ # include <strings.h>
More information about the Midnightbsd-cvs
mailing list