[Pkg-erlang-commits] r1384 - in libsdl-erlang/trunk/debian: . patches

sgolovan at alioth.debian.org sgolovan at alioth.debian.org
Fri Dec 23 18:29:41 UTC 2011


Author: sgolovan
Date: 2011-12-23 18:29:41 +0000 (Fri, 23 Dec 2011)
New Revision: 1384

Added:
   libsdl-erlang/trunk/debian/patches/pic.patch
Modified:
   libsdl-erlang/trunk/debian/changelog
   libsdl-erlang/trunk/debian/patches/series
Log:
[esdl]
  * Replaced -fpic by -fPIC in c_src/Makefile.


Modified: libsdl-erlang/trunk/debian/changelog
===================================================================
--- libsdl-erlang/trunk/debian/changelog	2011-12-23 13:26:59 UTC (rev 1383)
+++ libsdl-erlang/trunk/debian/changelog	2011-12-23 18:29:41 UTC (rev 1384)
@@ -5,8 +5,9 @@
     conflicts with main Erlang distribution are resolved.
   * Do not include gl.hrl in sdl_img.erl and sdl_ttf.erl as it is not necessary
     and breaks their build.
+  * Replaced -fpic by -fPIC in c_src/Makefile.
 
- -- Sergei Golovan <sgolovan at debian.org>  Wed, 21 Dec 2011 16:17:06 +0400
+ -- Sergei Golovan <sgolovan at debian.org>  Fri, 23 Dec 2011 22:22:47 +0400
 
 esdl (1.0.1-4) experimental; urgency=low
 

Added: libsdl-erlang/trunk/debian/patches/pic.patch
===================================================================
--- libsdl-erlang/trunk/debian/patches/pic.patch	                        (rev 0)
+++ libsdl-erlang/trunk/debian/patches/pic.patch	2011-12-23 18:29:41 UTC (rev 1384)
@@ -0,0 +1,18 @@
+
+--- esdl-1.2.orig/c_src/Makefile
++++ esdl-1.2/c_src/Makefile
+@@ -43,12 +43,12 @@
+   INCS                  = $(GL_INCS) $(SDL_INCS)  $(SDL_TTF_INCS) \
+                           $(SDL_IMAGE_INCS) $(ERL_INCS)
+ 
+-  CFLAGS		= -g -O2 -funroll-loops -Wall -ffast-math -fpic \
++  CFLAGS		= -g -O2 -funroll-loops -Wall -ffast-math -fPIC \
+ 			-fomit-frame-pointer $(USE_GL_INCLUDE_DIR) -DSHM \
+                         $(USE_SDL_TTF) $(USE_SDL_IMAGE) \
+ 			-DPTHREADS $(INCS)
+ 
+-  CLINKFLAGS 		=  -fpic -shared  
++  CLINKFLAGS 		=  -fPIC -shared  
+ 
+   SOEXT = so
+ 

Modified: libsdl-erlang/trunk/debian/patches/series
===================================================================
--- libsdl-erlang/trunk/debian/patches/series	2011-12-23 13:26:59 UTC (rev 1383)
+++ libsdl-erlang/trunk/debian/patches/series	2011-12-23 18:29:41 UTC (rev 1384)
@@ -1,2 +1,3 @@
 driver.patch
 gl.patch
+pic.patch




More information about the Pkg-erlang-commits mailing list