[Pkg-erlang-commits] r1771 - in libsdl-erlang/trunk/debian: . patches
sgolovan at alioth.debian.org
sgolovan at alioth.debian.org
Sun Apr 3 07:16:06 UTC 2016
Author: sgolovan
Date: 2016-04-03 07:16:06 +0000 (Sun, 03 Apr 2016)
New Revision: 1771
Modified:
libsdl-erlang/trunk/debian/changelog
libsdl-erlang/trunk/debian/patches/rebar.patch
Log:
[esdl]
* Fixed FTBFS on GNU/kFreebsd and GNU/Hurd beacuse of rebar config options
which were enabled for Linux only.
Modified: libsdl-erlang/trunk/debian/changelog
===================================================================
--- libsdl-erlang/trunk/debian/changelog 2016-04-03 05:32:17 UTC (rev 1770)
+++ libsdl-erlang/trunk/debian/changelog 2016-04-03 07:16:06 UTC (rev 1771)
@@ -1,8 +1,9 @@
-esdl (1.3.1-3) UNRELEASED; urgency=medium
+esdl (1.3.1-3) unstable; urgency=medium
- * NOT RELEASED YET
+ * Fixed FTBFS on GNU/kFreebsd and GNU/Hurd beacuse of rebar config options
+ which were enabled for Linux only.
- -- Sergei Golovan <sgolovan at debian.org> Sun, 03 Apr 2016 08:32:13 +0300
+ -- Sergei Golovan <sgolovan at debian.org> Sun, 03 Apr 2016 10:15:29 +0300
esdl (1.3.1-2) unstable; urgency=medium
Modified: libsdl-erlang/trunk/debian/patches/rebar.patch
===================================================================
--- libsdl-erlang/trunk/debian/patches/rebar.patch 2016-04-03 05:32:17 UTC (rev 1770)
+++ libsdl-erlang/trunk/debian/patches/rebar.patch 2016-04-03 07:16:06 UTC (rev 1771)
@@ -1,14 +1,18 @@
-diff -ru esdl-esdl-1.3.1.orig/rebar.config esdl-esdl-1.3.1/rebar.config
---- esdl-esdl-1.3.1.orig/rebar.config 2013-12-19 14:51:52.930930018 +0400
-+++ esdl-esdl-1.3.1/rebar.config 2013-12-19 15:44:08.918284859 +0400
+Author: Sergei Golovan
+Description: Patch fixes FTBFS for GNU/kFreeBSD and GNU/Hurd architectures
+ and enables building of TTF and image manipulation bits.
+Last-Modified: Sun, 03 Apr 2016 10:13:38 +0300
+
+--- a/rebar.config
++++ b/rebar.config
@@ -5,8 +5,8 @@
%% Also see rebar.config.script
{port_env, [
- {"linux", "CFLAGS", "$CFLAGS $SDL_CFLAGS"},
- {"linux", "LDFLAGS", "$LDFLAGS $SDL_LIBDIR"},
-+ {"linux", "CFLAGS", "$CFLAGS $SDL_CFLAGS -DSHM -D_USE_SDL_TTF -D_USE_SDL_IMAGE -DPTHREADS"},
-+ {"linux", "LDFLAGS", "$LDFLAGS $SDL_LIBDIR -lSDL_ttf -lSDL_image"},
++ {"gnu", "CFLAGS", "$CFLAGS $SDL_CFLAGS -DSHM -D_USE_SDL_TTF -D_USE_SDL_IMAGE -DPTHREADS"},
++ {"gnu", "LDFLAGS", "$LDFLAGS $SDL_LIBDIR -lSDL_ttf -lSDL_image"},
{"darwin", "CFLAGS", "$CFLAGS -ObjC -D_OSX_COCOA -I/opt/X11/include"},
{"darwin", "LDFLAGS", "$LDFLAGS -framework SDL -rpath @executable_path/../Frameworks"},
@@ -21,4 +25,3 @@
"c_src/esdl_wrapper.c"
]}
]}.
-Only in esdl-esdl-1.3.1: .rebar.config.swp
More information about the Pkg-erlang-commits
mailing list