Add patches for meson building master
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 5 Sep 2017 22:44:40 +0000 (17:44 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Tue, 5 Sep 2017 22:44:40 +0000 (17:44 -0500)
1.4-cygwin-fvisibility.patch
1.4-cygwin-tests.patch

index f2fcebcf5d64750b1d93592c938d39780015f8f1..44920e8db574c26fcc7f78177f3cb6cdd1d0c5be 100644 (file)
@@ -9,3 +9,14 @@
      dnl on mingw32 we do -fvisibility=hidden and __declspec(dllexport)
      AC_DEFINE([EPOXY_PUBLIC],
                [__attribute__((visibility("default"))) __declspec(dllexport) extern],
+--- origsrc/libepoxy-1.4.3/meson.build 2017-06-06 04:55:43.000000000 -0500
++++ src/libepoxy-1.4.3/meson.build     2017-09-05 13:11:55.464742800 -0500
+@@ -162,7 +166,7 @@ libtype = get_option('default_library')
+ # Visibility compiler flags; we only use this for shared libraries
+ if libtype == 'shared'
+   visibility_cflags = []
+-  if host_system == 'windows'
++  if host_system == 'windows' or host_system == 'cygwin'
+     conf.set('DLL_EXPORT', true)
+     conf.set('EPOXY_PUBLIC', '__declspec(dllexport) extern')
+     if cc.get_id() != 'msvc'
index 65f4d221dac9dc54b64bdf29d6fe3d4f9b7905b4..3b313c071c480c184dcd8eb743868aff15276e04 100644 (file)
@@ -1,3 +1,16 @@
+--- origsrc/libepoxy-1.4.3/meson.build 2017-06-06 04:55:43.000000000 -0500
++++ src/libepoxy-1.4.3/meson.build     2017-09-05 13:11:55.464742800 -0500
+@@ -80,6 +80,10 @@ elif host_system == 'darwin'
+   build_apple = true
+   build_wgl = false
+   has_znow = false
++elif host_system == 'cygwin'
++  build_apple = false
++  build_wgl = false
++  has_znow = false
+ else
+   build_apple = false
+   build_wgl = false
 --- origsrc/libepoxy-1.4.3/test/Makefile.am    2017-06-06 04:55:43.000000000 -0500
 +++ src/libepoxy-1.4.3/test/Makefile.am        2017-09-04 16:11:15.676245700 -0500
 @@ -31,11 +31,13 @@ libegl_common_la_SOURCES = \
This page took 0.020584 seconds and 5 git commands to generate.