Christian Wiese
15 years ago
2 changed files with 69 additions and 1 deletions
@ -0,0 +1,60 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../smalltalk/use-system-sigsegv.patch
|
||||
# Copyright (C) 2010 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
If '--with-system-libsigsegv' is used while running configure, we should
|
||||
also include the 'sigsegv.h' header file from the system, otherwise the
|
||||
build is failing.
|
||||
|
||||
diff -ruN smalltalk-3.2.1-orig/config.h.in smalltalk-3.2.1/config.h.in
|
||||
--- smalltalk-3.2.1-orig/config.h.in 2010-07-25 12:37:50.000000000 +0200
|
||||
+++ smalltalk-3.2.1/config.h.in 2010-07-27 15:09:45.968174955 +0200
|
||||
@@ -450,6 +450,9 @@
|
||||
/* Define to 1 if libsigsegv is being used */
|
||||
#undef HAVE_SIGSEGV_H
|
||||
|
||||
+/* Define to 1 if system libsigsegv is being used */
|
||||
+#undef USE_SYSTEM_SIGSEGV
|
||||
+
|
||||
/* Define to 1 if you have the `sigsetmask' function. */
|
||||
#undef HAVE_SIGSETMASK
|
||||
|
||||
diff -ruN smalltalk-3.2.1-orig/configure smalltalk-3.2.1/configure
|
||||
--- smalltalk-3.2.1-orig/configure 2010-07-25 12:37:33.000000000 +0200
|
||||
+++ smalltalk-3.2.1/configure 2010-07-27 14:51:36.772169677 +0200
|
||||
@@ -6199,6 +6199,7 @@
|
||||
# Check whether --with-system-libsigsegv was given.
|
||||
if test "${with_system_libsigsegv+set}" = set; then :
|
||||
withval=$with_system_libsigsegv;
|
||||
+ $as_echo "#define USE_SYSTEM_SIGSEGV 1" >>confdefs.h
|
||||
else
|
||||
with_system_libsigsegv=no
|
||||
fi
|
||||
diff -ruN smalltalk-3.2.1-orig/libgst/gstpriv.h smalltalk-3.2.1/libgst/gstpriv.h
|
||||
--- smalltalk-3.2.1-orig/libgst/gstpriv.h 2010-04-21 11:25:01.000000000 +0200
|
||||
+++ smalltalk-3.2.1/libgst/gstpriv.h 2010-07-27 14:29:14.244174367 +0200
|
||||
@@ -107,8 +107,12 @@
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SIGSEGV_H
|
||||
+#ifdef USE_SYSTEM_SIGSEGV
|
||||
+#include <sigsegv.h>
|
||||
+#else
|
||||
#include "sigsegv.h"
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#include "gst.h"
|
||||
|
Loading…
Reference in new issue