Hello community,

here is the log from the commit of package primus for openSUSE:Factory checked 
in at 2014-07-11 20:06:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/primus (Old)
 and      /work/SRC/openSUSE:Factory/.primus.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "primus"

Changes:
--------
--- /work/SRC/openSUSE:Factory/primus/primus.changes    2014-07-11 
06:45:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.primus.new/primus.changes       2014-07-11 
20:06:09.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul 11 09:39:28 UTC 2014 - [email protected]
+
+- type-directive.patch: Use % in .type directive since @ is a comment
+  character on arm
+
+-------------------------------------------------------------------

New:
----
  type-directive.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ primus.spec ++++++
--- /var/tmp/diff_new_pack.m2fKkf/_old  2014-07-11 20:06:10.000000000 +0200
+++ /var/tmp/diff_new_pack.m2fKkf/_new  2014-07-11 20:06:10.000000000 +0200
@@ -26,6 +26,8 @@
 Source0:        %{name}-master.zip
 Source1:        primusrun
 Source2:        baselibs.conf
+# PATCH-FIX-UPSTREAM Use % in .type directive since @ is a comment character 
on arm
+Patch0:         type-directive.patch
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  gcc-c++
 BuildRequires:  libX11-devel
@@ -44,6 +46,7 @@
 
 %prep
 %setup -q -n primus-master
+%patch0 -p1
 cp -p %{SOURCE1} .
 
 %build


++++++ type-directive.patch ++++++
Index: primus-master/libglfork.cpp
===================================================================
--- primus-master.orig/libglfork.cpp
+++ primus-master/libglfork.cpp
@@ -915,7 +915,7 @@ ret name par \
 #define DEF_GLX_PROTO(ret, name, par, ...) \
 static ret l##name par \
 { return primus.afns.name(__VA_ARGS__); } \
-asm(".type " #name ", @gnu_indirect_function"); \
+asm(".type " #name ", %gnu_indirect_function"); \
 void *ifunc_##name(void) asm(#name) __attribute__((visibility("default"))); \
 void *ifunc_##name(void) \
 { return primus.afns.handle ? real_dlsym(primus.afns.handle, #name) : 
(void*)l##name; }
@@ -1006,7 +1006,7 @@ const char *glXQueryExtensionsString(Dis
 
 // OpenGL extension forwarders
 #define P(name) \
-asm(".type " #name ", @gnu_indirect_function"); \
+asm(".type " #name ", %gnu_indirect_function"); \
 void *ifunc_##name(void) asm(#name) __attribute__((visibility("default"))); \
 void *ifunc_##name(void) \
 { return primus.afns.handle ? real_dlsym(primus.afns.handle, #name) : NULL; }
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to