Properly define _XOPEN_SOURCE, no need for _XOPEN_SOURCE_EXTENDED.

Regen WANTLIB while here.
This commit is contained in:
ajacoutot 2022-11-07 18:06:39 +00:00
parent 491f36270e
commit dc44de2ca1
2 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
COMMENT = tool for working with RAW images
DISTNAME = rawstudio-1.2
REVISION = 23
REVISION = 24
CATEGORIES = graphics
@ -16,7 +16,7 @@ WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo dbus-1
WANTLIB += exiv2 fontconfig freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
WANTLIB += intl jpeg lcms m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += tiff xml2 z harfbuzz
WANTLIB += tiff xml2 harfbuzz
COMPILER = base-clang ports-gcc base-gcc

View File

@ -1,12 +1,12 @@
Needed for strptime(3).
--- src/rs-utils.c.orig Sun May 20 15:10:05 2012
+++ src/rs-utils.c Sun May 20 15:10:31 2012
@@ -18,6 +18,7 @@
Index: src/rs-utils.c
--- src/rs-utils.c.orig
+++ src/rs-utils.c
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define _XOPEN_SOURCE /* strptime() */
+#define _XOPEN_SOURCE_EXTENDED 1
-#define _XOPEN_SOURCE /* strptime() */
+#define _XOPEN_SOURCE 700 /* strptime() */
#include <config.h>
#include <glib.h>
#include <glib/gstdio.h>