|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../bzip2/fix_shared.patch
|
|
|
|
# Copyright (C) 2007 - 2011 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 ---
|
|
|
|
|
|
|
|
--- bzip2-1.0.6/Makefile-libbz2_so.orig 2010-09-11 01:07:52.000000000 +0200
|
|
|
|
+++ bzip2-1.0.6/Makefile-libbz2_so 2011-03-10 13:28:26.818695138 +0100
|
|
|
|
@@ -36,7 +36,7 @@
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
$(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
|
|
|
|
- $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
|
|
|
|
+ $(CC) $(CFLAGS) -shared -o bzip2-shared bzip2.c libbz2.so.1.0.6
|
|
|
|
rm -f libbz2.so.1.0
|
|
|
|
ln -s libbz2.so.1.0.6 libbz2.so.1.0
|
|
|
|
|