From 15c84adca94bfe4a89ece5c04f06a884cf508ebb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 17 Jan 2011 21:55:49 +0100 Subject: fix packages to be compile with stack protector - libtool do not pass -fstack-protector while linking, but this is required to successfully link libraries or executables with SSP - pass LDFLAGS for non-libtool packages --- package/DirectFB/patches/patch-ltmain_sh | 11 + package/ImageMagick/patches/patch-config_ltmain_sh | 11 +- package/alsa-lib/patches/patch-ltmain_sh | 11 + package/apr/patches/patch-build_ltmain_sh | 11 + package/autossh/patches/patch-Makefile_in | 11 +- package/avahi/patches/patch-ltmain_sh | 11 + package/bind/patches/patch-ltmain_sh | 11 + package/binutils/patches/patch-ltmain_sh | 11 + package/bitlbee/Makefile | 4 +- package/bluez/patches/patch-Makefile_in | 10 +- package/bluez/patches/patch-ltmain_sh | 11 + package/bogofilter/Makefile | 1 + package/cairo/patches/patch-build_ltmain_sh | 11 + package/cairo/patches/patch-src_cairo-features_h | 15 + package/ccid/patches/patch-ltmain_sh | 11 + package/cgilib/patches/patch-ltmain_sh | 11 +- package/collectd/patches/patch-ltmain_sh | 11 + package/cryptsetup/Makefile | 3 +- package/cryptsetup/patches/patch-ltmain_sh | 11 + package/cups/Makefile | 4 +- package/curl/patches/patch-configure | 6 +- package/curl/patches/patch-ltmain_sh | 11 + package/dansguardian/Makefile | 8 +- package/dbus/patches/patch-configure | 4 +- package/dbus/patches/patch-ltmain_sh | 11 +- package/digitemp/patches/patch-Makefile | 33 +- package/dovecot/patches/patch-ltmain_sh | 11 + package/drbd/patches/patch-drbd_drbd_buildtag_c | 9 - package/drbd/patches/patch-user_Makefile_in | 24 + package/ebtables/patches/patch-Makefile | 24 +- package/esound/patches/patch-esd_c | 6 +- package/esound/patches/patch-ltmain_sh | 11 + package/expat/patches/patch-conftools_ltmain_sh | 11 + package/faad2/patches/patch-ltmain_sh | 11 + package/file/patches/patch-ltmain_sh | 11 + package/flac/patches/patch-ltmain_sh | 11 + package/fltk/Makefile | 14 + package/fltk/patches/patch-Makefile | 11 + package/fontconfig/patches/patch-ltmain_sh | 11 + package/freeglut/patches/patch-ltmain_sh | 11 + package/freeradius-client/patches/patch-ltmain_sh | 11 + package/freeradius-server/patches/patch-ltmain_sh | 11 + .../freetype/patches/patch-builds_unix_ltmain_sh | 11 + package/gatling/patches/patch-GNUmakefile | 17 +- package/gcc/Makefile | 3 +- package/gcc/patches/cross-gcc-fix.patch | 10 +- package/gcc/patches/ltmain.patch | 12 + package/gdb/patches/patch-ltmain_sh | 11 + package/gdk-pixbuf/patches/patch-ltmain_sh | 11 + package/gettext/patches/patch-build-aux_ltmain_sh | 11 +- package/gkrellm/Makefile | 31 + package/gkrellm/files/gkrellmd.init | 27 + package/gkrellm/files/gkrellmd.postinst | 3 + package/gkrellm/patches/patch-server_Makefile | 22 + package/gkrellmd/Makefile | 32 - package/gkrellmd/files/gkrellmd.init | 27 - package/gkrellmd/files/gkrellmd.postinst | 3 - package/glib/Makefile | 20 +- package/glib/patches/patch-glib_gconvert_c | 16 + package/glib/patches/patch-ltmain_sh | 11 + package/gmp/patches/patch-ltmain_sh | 11 + package/gnutls/patches/patch-build-aux_ltmain_sh | 11 + .../gnutls/patches/patch-lib_build-aux_ltmain_sh | 11 + .../patches/patch-libextra_build-aux_ltmain_sh | 11 + package/gpsd/Makefile | 11 +- package/gpsd/patches/patch-Makefile_in | 11 +- package/gpsd/patches/patch-ltmain_sh | 20 + package/gtk+/patches/patch-ltmain_sh | 11 + package/hdparm/patches/patch-Makefile | 30 +- package/heimdal/patches/patch-ltmain_sh | 11 + package/id3lib/Makefile | 7 +- package/id3lib/patches/patch-ltmain_sh | 22 + package/imlib2/patches/patch-ltmain_sh | 11 + package/iperf/Makefile | 4 + package/ipsec-tools/patches/patch-ltmain_sh | 11 + package/iptables/patches/patch-ltmain_sh | 11 + package/iptraf/Makefile | 2 +- package/jamvm/patches/patch-ltmain_sh | 11 + package/jpeg/patches/patch-ltmain_sh | 11 + package/lame/patches/patch-ltmain_sh | 11 + package/libICE/patches/patch-ltmain_sh | 11 + package/libSM/patches/patch-ltmain_sh | 11 + package/libX11/patches/patch-ltmain_sh | 11 + package/libXau/patches/patch-ltmain_sh | 11 + package/libXaw/patches/patch-ltmain_sh | 11 + package/libXcursor/patches/patch-ltmain_sh | 11 + package/libXdmcp/patches/patch-ltmain_sh | 11 + package/libXext/patches/patch-ltmain_sh | 11 + package/libXfont/patches/patch-ltmain_sh | 11 + package/libXft/patches/patch-ltmain_sh | 11 + package/libXi/patches/patch-ltmain_sh | 11 + package/libXmu/patches/patch-ltmain_sh | 11 + package/libXpm/patches/patch-ltmain_sh | 11 + package/libXt/patches/patch-ltmain_sh | 11 + package/libXv/patches/patch-ltmain_sh | 11 + package/libao/patches/patch-ltmain_sh | 11 + package/libart/patches/100-cross_compile_fix.patch | 6 +- package/libart/patches/patch-ltmain_sh | 11 + package/libaudiofile/Makefile | 12 +- .../patches/001-audiofile-config-libdirs.patch | 6 +- package/libaudiofile/patches/patch-ltmain_sh | 27 + package/libdaemon/patches/patch-ltmain_sh | 11 + package/libdb/patches/patch-dist_ltmain_sh | 11 + .../libdnet/patches/libdnet-1.10-dnet_config.patch | 6 +- package/libdnet/patches/patch-config_ltmain_sh | 11 + package/libdrm/patches/patch-ltmain_sh | 11 + package/libelf/patches/patch-lib_Makefile_in | 11 + package/libevent/patches/patch-ltmain_sh | 11 + package/libffi/patches/patch-ltmain_sh | 11 + package/libfontenc/patches/patch-ltmain_sh | 11 + package/libgcrypt/patches/patch-ltmain_sh | 11 + package/libgssglue/patches/patch-ltmain_sh | 11 + package/libiconv/patches/patch-build-aux_ltmain_sh | 11 + .../patches/patch-libcharset_build-aux_ltmain_sh | 11 + package/liblzo/patches/patch-autoconf_ltmain_sh | 11 + package/libmad/patches/patch-ltmain_sh | 11 + package/libmms/patches/patch-ltmain_sh | 11 + package/libmpdclient/patches/patch-build_ltmain_sh | 11 + package/libnet/patches/patch-ltmain_sh | 11 + .../libnetfilter_conntrack/patches/patch-ltmain_sh | 11 + package/libnetfilter_log/patches/patch-ltmain_sh | 11 + package/libnetfilter_queue/patches/patch-ltmain_sh | 11 + package/libnfnetlink/patches/patch-ltmain_sh | 11 + package/libnfsidmap/patches/patch-ltmain_sh | 11 + package/libnl/Makefile | 5 +- package/libnl/patches/patch-ltmain_sh | 11 + package/libol/patches/patch-ltmain_sh | 11 + package/libosip2/patches/patch-scripts_ltmain_sh | 11 + package/libowfat/Makefile | 3 +- package/libowfat/patches/patch-GNUmakefile | 22 +- package/libowfat/patches/patch-Makefile | 11 + package/libp11/patches/patch-ltmain_sh | 11 + package/libpciaccess/patches/patch-ltmain_sh | 11 + package/libpng/patches/patch-ltmain_sh | 11 + package/librpcsecgss/patches/patch-ltmain_sh | 11 + package/libshout/patches/patch-ltmain_sh | 11 + package/libtasn1/patches/patch-build-aux_ltmain_sh | 11 + package/libtiff/patches/patch-config_ltmain_sh | 11 + package/libtirpc/patches/patch-ltmain_sh | 11 + .../libtool/patches/patch-libltdl_config_ltmain_sh | 31 + package/libupnp/patches/autotool.patch | 2 +- package/libusb/patches/patch-ltmain_sh | 11 + package/libvirt/patches/patch-build-aux_ltmain_sh | 11 + package/libvorbis/patches/patch-ltmain_sh | 11 + package/libvorbisidec/patches/autotool.patch | 2 +- package/libxkbfile/patches/patch-ltmain_sh | 11 + package/libxml2/patches/patch-ltmain_sh | 11 + package/libxslt/patches/patch-ltmain_sh | 11 + package/lighttpd/patches/patch-ltmain_sh | 11 + package/linux-atm/patches/patch-ltmain_sh | 11 + package/logrotate/Makefile | 1 - package/logrotate/patches/patch-Makefile | 32 +- package/lsof/Makefile | 5 +- package/lsof/patches/patch-Configure | 17 - package/lsof/patches/patch-dialects_linux_dlsof_h | 16 - .../lsof/patches/patch-dialects_linux_machine_h | 10 - package/lsof/patches/patch-lib_Makefile_skel | 11 - package/lsof/patches/patch-lsof_4_84_src_Configure | 17 + .../patch-lsof_4_84_src_dialects_linux_dlsof_h | 16 + .../patch-lsof_4_84_src_dialects_linux_machine_h | 10 + .../patches/patch-lsof_4_84_src_lib_Makefile_skel | 11 + package/microperl/patches/patch-Makefile_micro | 11 +- package/miredo/patches/patch-admin_ltmain_sh | 11 + package/moc/patches/patch-ltmain_sh | 11 + package/mpfr/patches/patch-ltmain_sh | 11 + package/mpg123/patches/patch-build_ltmain_sh | 11 + package/mrd6/Makefile | 9 +- package/mysql/patches/patch-configure | 24 +- package/mysql/patches/patch-include_config_h_in | 4 +- package/mysql/patches/patch-ltmain_sh | 11 + package/neon/patches/patch-ltmain_sh | 11 + package/nmap/Makefile | 7 +- package/nut/patches/patch-ltmain_sh | 11 + package/obexftp/patches/patch-ltmain_sh | 11 + package/opencdk/patches/patch-build-aux_ltmain_sh | 11 + package/opencdk/patches/patch-configure | 6 +- package/opencdk/patches/patch-ltmain_sh | 11 + package/openct/patches/patch-ltmain_sh | 11 + package/openldap/patches/patch-build_ltmain_sh | 11 + package/openobex/patches/patch-ltmain_sh | 11 + package/opensc/patches/patch-ltmain_sh | 13 +- package/openssl-pkcs11/patches/patch-ltmain_sh | 11 + package/oprofile/patches/patch-doc_oprofile_1 | 26 - package/oprofile/patches/patch-ltmain_sh | 11 + package/osiris/patches/patch-configure | 89 +- .../patches/patch-src_db-4_2_52_dist_configure | 12 + .../patches/patch-src_db-4_2_52_dist_ltmain_sh | 11 + package/owfs/patches/autotool.patch | 2 +- package/pango/patches/patch-ltmain_sh | 11 + package/pango/patches/patch-tests_runtests_sh | 8 + package/parted/patches/patch-build-aux_ltmain_sh | 11 + package/pcre/patches/patch-ltmain_sh | 11 + package/pcsc-lite/patches/patch-ltmain_sh | 11 + package/pipacs/Makefile | 4 +- package/pipacs/src/Makefile | 8 +- package/pixman/patches/patch-ltmain_sh | 11 + package/ppp/Makefile | 4 +- package/ppp/patches/patch-chat_Makefile_linux | 26 +- package/ppp/patches/patch-include_linux_ppp-comp_h | 63 - package/ppp/patches/patch-include_net_ppp-comp_h | 36 - package/ppp/patches/patch-pppd_Makefile_linux | 70 +- package/ppp/patches/patch-pppd_chap_ms_c | 6 +- package/ppp/patches/patch-pppd_main_c | 14 +- .../ppp/patches/patch-pppd_plugins_Makefile_linux | 29 + .../patch-pppd_plugins_pppoatm_Makefile_linux | 36 + .../patch-pppd_plugins_pppol2tp_Makefile_linux | 41 + .../patch-pppd_plugins_radius_Makefile_linux | 40 +- .../patch-pppd_plugins_rp-pppoe_Makefile_linux | 80 + package/ppp/patches/patch-pppd_pppd_8 | 10 +- package/ppp/patches/patch-pppdump_Makefile_linux | 32 +- package/ppp/patches/patch-pppstats_Makefile_linux | 45 +- package/ppp/src/makedefs.linux | 14 + package/pptp/Makefile | 3 - package/pptp/patches/patch-Makefile | 22 + package/qingy/patches/patch-ltmain_sh | 11 + package/quagga/patches/patch-ltmain_sh | 11 + package/quagga/patches/patch-redhat_quagga_spec | 11 + package/quagga/patches/patch-vtysh_extract_pl | 8 + package/rp-pppoe/patches/patch-src_Makefile_in | 32 + package/rrdtool/patches/patch-ltmain_sh | 11 + package/ruby/Makefile | 3 +- package/ruby/patches/patch-Makefile_in | 11 + package/sane-backends/patches/patch-ltmain_sh | 11 + package/scanlogd/Makefile | 5 +- package/scanlogd/patches/patch-Makefile | 14 + package/scanlogd/patches/patch-params_h | 20 + package/sdl-image/patches/patch-ltmain_sh | 11 + package/sdl/patches/patch-build-scripts_ltmain_sh | 11 + package/siproxd/patches/patch-libltdl_ltmain_sh | 11 + package/siproxd/patches/patch-scripts_ltmain_sh | 11 + package/snort/patches/patch-ltmain_sh | 11 + package/speex/patches/patch-ltmain_sh | 11 + package/sqlite/patches/patch-ltmain_sh | 11 + .../ssmtp/patches/500-debian-subset-2.61-2.patch | 248 - .../ssmtp/patches/901-strftime_space_padding.patch | 12 - package/ssmtp/patches/patch-Makefile_in | 11 + package/ssmtp/patches/patch-arpadate_c | 11 + package/ssmtp/patches/patch-configure_in | 13 + package/ssmtp/patches/patch-ssmtp_c | 224 + package/ssmtp/patches/patch-ssmtp_conf | 11 + package/strongswan/patches/patch-ltmain_sh | 11 + package/subversion/patches/patch-build_ltmain_sh | 11 +- package/sysfsutils/patches/patch-ltmain_sh | 11 + package/tcp_wrappers/patches/patch-Makefile | 16 +- package/tcp_wrappers/patches/patch-cflags | 4 +- package/traceroute/Makefile | 2 +- package/traceroute/patches/patch-default_rules | 11 + package/tslib/patches/patch-ltmain_sh | 8416 ++++++++++++++++++++ package/ulogd/patches/patch-ltmain_sh | 11 + package/updatedd/patches/patch-ltmain_sh | 11 + .../util-linux-ng/patches/patch-config_ltmain_sh | 11 + package/vrrpd/patches/patch-Makefile | 17 + package/weechat/patches/patch-ltmain_sh | 11 + package/wifidog/patches/patch-config_ltmain_sh | 11 + package/wireless-tools/patches/patch-Makefile | 11 + package/wput/patches/patch-Makefile | 21 - package/wput/patches/patch-config_status | 160 - package/wput/patches/patch-po_Makefile | 50 - package/wput/patches/patch-po_Makefile_in | 50 - package/wput/patches/patch-src_Makefile | 19 - package/wput/patches/patch-src_Makefile_in | 19 + package/wput/patches/patch-src_config_h | 27 - package/xf86-input-evtouch/patches/patch-ltmain_sh | 11 + .../xf86-input-keyboard/patches/patch-ltmain_sh | 11 + package/xf86-input-mouse/patches/patch-ltmain_sh | 11 + package/xf86-video-cirrus/patches/patch-ltmain_sh | 11 + package/xf86-video-geode/patches/patch-ltmain_sh | 11 + package/xf86-video-intel/patches/patch-ltmain_sh | 11 + .../patches/patch-ltmain_sh | 11 + package/xorg-server/patches/patch-ltmain_sh | 11 + package/xz/patches/patch-build-aux_ltmain_sh | 11 + 271 files changed, 11644 insertions(+), 1042 deletions(-) create mode 100644 package/DirectFB/patches/patch-ltmain_sh create mode 100644 package/alsa-lib/patches/patch-ltmain_sh create mode 100644 package/apr/patches/patch-build_ltmain_sh create mode 100644 package/avahi/patches/patch-ltmain_sh create mode 100644 package/bind/patches/patch-ltmain_sh create mode 100644 package/binutils/patches/patch-ltmain_sh create mode 100644 package/bluez/patches/patch-ltmain_sh create mode 100644 package/cairo/patches/patch-build_ltmain_sh create mode 100644 package/cairo/patches/patch-src_cairo-features_h create mode 100644 package/ccid/patches/patch-ltmain_sh create mode 100644 package/collectd/patches/patch-ltmain_sh create mode 100644 package/cryptsetup/patches/patch-ltmain_sh create mode 100644 package/curl/patches/patch-ltmain_sh create mode 100644 package/dovecot/patches/patch-ltmain_sh delete mode 100644 package/drbd/patches/patch-drbd_drbd_buildtag_c create mode 100644 package/drbd/patches/patch-user_Makefile_in create mode 100644 package/esound/patches/patch-ltmain_sh create mode 100644 package/expat/patches/patch-conftools_ltmain_sh create mode 100644 package/faad2/patches/patch-ltmain_sh create mode 100644 package/file/patches/patch-ltmain_sh create mode 100644 package/flac/patches/patch-ltmain_sh create mode 100644 package/fltk/patches/patch-Makefile create mode 100644 package/fontconfig/patches/patch-ltmain_sh create mode 100644 package/freeglut/patches/patch-ltmain_sh create mode 100644 package/freeradius-client/patches/patch-ltmain_sh create mode 100644 package/freeradius-server/patches/patch-ltmain_sh create mode 100644 package/freetype/patches/patch-builds_unix_ltmain_sh create mode 100644 package/gcc/patches/ltmain.patch create mode 100644 package/gdb/patches/patch-ltmain_sh create mode 100644 package/gdk-pixbuf/patches/patch-ltmain_sh create mode 100644 package/gkrellm/Makefile create mode 100644 package/gkrellm/files/gkrellmd.init create mode 100644 package/gkrellm/files/gkrellmd.postinst create mode 100644 package/gkrellm/patches/patch-server_Makefile delete mode 100644 package/gkrellmd/Makefile delete mode 100644 package/gkrellmd/files/gkrellmd.init delete mode 100644 package/gkrellmd/files/gkrellmd.postinst create mode 100644 package/glib/patches/patch-glib_gconvert_c create mode 100644 package/glib/patches/patch-ltmain_sh create mode 100644 package/gmp/patches/patch-ltmain_sh create mode 100644 package/gnutls/patches/patch-build-aux_ltmain_sh create mode 100644 package/gnutls/patches/patch-lib_build-aux_ltmain_sh create mode 100644 package/gnutls/patches/patch-libextra_build-aux_ltmain_sh create mode 100644 package/gpsd/patches/patch-ltmain_sh create mode 100644 package/gtk+/patches/patch-ltmain_sh create mode 100644 package/heimdal/patches/patch-ltmain_sh create mode 100644 package/id3lib/patches/patch-ltmain_sh create mode 100644 package/imlib2/patches/patch-ltmain_sh create mode 100644 package/ipsec-tools/patches/patch-ltmain_sh create mode 100644 package/iptables/patches/patch-ltmain_sh create mode 100644 package/jamvm/patches/patch-ltmain_sh create mode 100644 package/jpeg/patches/patch-ltmain_sh create mode 100644 package/lame/patches/patch-ltmain_sh create mode 100644 package/libICE/patches/patch-ltmain_sh create mode 100644 package/libSM/patches/patch-ltmain_sh create mode 100644 package/libX11/patches/patch-ltmain_sh create mode 100644 package/libXau/patches/patch-ltmain_sh create mode 100644 package/libXaw/patches/patch-ltmain_sh create mode 100644 package/libXcursor/patches/patch-ltmain_sh create mode 100644 package/libXdmcp/patches/patch-ltmain_sh create mode 100644 package/libXext/patches/patch-ltmain_sh create mode 100644 package/libXfont/patches/patch-ltmain_sh create mode 100644 package/libXft/patches/patch-ltmain_sh create mode 100644 package/libXi/patches/patch-ltmain_sh create mode 100644 package/libXmu/patches/patch-ltmain_sh create mode 100644 package/libXpm/patches/patch-ltmain_sh create mode 100644 package/libXt/patches/patch-ltmain_sh create mode 100644 package/libXv/patches/patch-ltmain_sh create mode 100644 package/libao/patches/patch-ltmain_sh create mode 100644 package/libart/patches/patch-ltmain_sh create mode 100644 package/libaudiofile/patches/patch-ltmain_sh create mode 100644 package/libdaemon/patches/patch-ltmain_sh create mode 100644 package/libdb/patches/patch-dist_ltmain_sh create mode 100644 package/libdnet/patches/patch-config_ltmain_sh create mode 100644 package/libdrm/patches/patch-ltmain_sh create mode 100644 package/libelf/patches/patch-lib_Makefile_in create mode 100644 package/libevent/patches/patch-ltmain_sh create mode 100644 package/libffi/patches/patch-ltmain_sh create mode 100644 package/libfontenc/patches/patch-ltmain_sh create mode 100644 package/libgcrypt/patches/patch-ltmain_sh create mode 100644 package/libgssglue/patches/patch-ltmain_sh create mode 100644 package/libiconv/patches/patch-build-aux_ltmain_sh create mode 100644 package/libiconv/patches/patch-libcharset_build-aux_ltmain_sh create mode 100644 package/liblzo/patches/patch-autoconf_ltmain_sh create mode 100644 package/libmad/patches/patch-ltmain_sh create mode 100644 package/libmms/patches/patch-ltmain_sh create mode 100644 package/libmpdclient/patches/patch-build_ltmain_sh create mode 100644 package/libnet/patches/patch-ltmain_sh create mode 100644 package/libnetfilter_conntrack/patches/patch-ltmain_sh create mode 100644 package/libnetfilter_log/patches/patch-ltmain_sh create mode 100644 package/libnetfilter_queue/patches/patch-ltmain_sh create mode 100644 package/libnfnetlink/patches/patch-ltmain_sh create mode 100644 package/libnfsidmap/patches/patch-ltmain_sh create mode 100644 package/libnl/patches/patch-ltmain_sh create mode 100644 package/libol/patches/patch-ltmain_sh create mode 100644 package/libosip2/patches/patch-scripts_ltmain_sh create mode 100644 package/libowfat/patches/patch-Makefile create mode 100644 package/libp11/patches/patch-ltmain_sh create mode 100644 package/libpciaccess/patches/patch-ltmain_sh create mode 100644 package/libpng/patches/patch-ltmain_sh create mode 100644 package/librpcsecgss/patches/patch-ltmain_sh create mode 100644 package/libshout/patches/patch-ltmain_sh create mode 100644 package/libtasn1/patches/patch-build-aux_ltmain_sh create mode 100644 package/libtiff/patches/patch-config_ltmain_sh create mode 100644 package/libtirpc/patches/patch-ltmain_sh create mode 100644 package/libtool/patches/patch-libltdl_config_ltmain_sh create mode 100644 package/libusb/patches/patch-ltmain_sh create mode 100644 package/libvirt/patches/patch-build-aux_ltmain_sh create mode 100644 package/libvorbis/patches/patch-ltmain_sh create mode 100644 package/libxkbfile/patches/patch-ltmain_sh create mode 100644 package/libxml2/patches/patch-ltmain_sh create mode 100644 package/libxslt/patches/patch-ltmain_sh create mode 100644 package/lighttpd/patches/patch-ltmain_sh create mode 100644 package/linux-atm/patches/patch-ltmain_sh delete mode 100644 package/lsof/patches/patch-Configure delete mode 100644 package/lsof/patches/patch-dialects_linux_dlsof_h delete mode 100644 package/lsof/patches/patch-dialects_linux_machine_h delete mode 100644 package/lsof/patches/patch-lib_Makefile_skel create mode 100644 package/lsof/patches/patch-lsof_4_84_src_Configure create mode 100644 package/lsof/patches/patch-lsof_4_84_src_dialects_linux_dlsof_h create mode 100644 package/lsof/patches/patch-lsof_4_84_src_dialects_linux_machine_h create mode 100644 package/lsof/patches/patch-lsof_4_84_src_lib_Makefile_skel create mode 100644 package/miredo/patches/patch-admin_ltmain_sh create mode 100644 package/moc/patches/patch-ltmain_sh create mode 100644 package/mpfr/patches/patch-ltmain_sh create mode 100644 package/mpg123/patches/patch-build_ltmain_sh create mode 100644 package/mysql/patches/patch-ltmain_sh create mode 100644 package/neon/patches/patch-ltmain_sh create mode 100644 package/nut/patches/patch-ltmain_sh create mode 100644 package/obexftp/patches/patch-ltmain_sh create mode 100644 package/opencdk/patches/patch-build-aux_ltmain_sh create mode 100644 package/opencdk/patches/patch-ltmain_sh create mode 100644 package/openct/patches/patch-ltmain_sh create mode 100644 package/openldap/patches/patch-build_ltmain_sh create mode 100644 package/openobex/patches/patch-ltmain_sh create mode 100644 package/openssl-pkcs11/patches/patch-ltmain_sh delete mode 100644 package/oprofile/patches/patch-doc_oprofile_1 create mode 100644 package/oprofile/patches/patch-ltmain_sh create mode 100644 package/osiris/patches/patch-src_db-4_2_52_dist_configure create mode 100644 package/osiris/patches/patch-src_db-4_2_52_dist_ltmain_sh create mode 100644 package/pango/patches/patch-ltmain_sh create mode 100644 package/pango/patches/patch-tests_runtests_sh create mode 100644 package/parted/patches/patch-build-aux_ltmain_sh create mode 100644 package/pcre/patches/patch-ltmain_sh create mode 100644 package/pcsc-lite/patches/patch-ltmain_sh create mode 100644 package/pixman/patches/patch-ltmain_sh delete mode 100644 package/ppp/patches/patch-include_linux_ppp-comp_h delete mode 100644 package/ppp/patches/patch-include_net_ppp-comp_h create mode 100644 package/ppp/patches/patch-pppd_plugins_Makefile_linux create mode 100644 package/ppp/patches/patch-pppd_plugins_pppoatm_Makefile_linux create mode 100644 package/ppp/patches/patch-pppd_plugins_pppol2tp_Makefile_linux create mode 100644 package/ppp/patches/patch-pppd_plugins_rp-pppoe_Makefile_linux create mode 100644 package/ppp/src/makedefs.linux create mode 100644 package/pptp/patches/patch-Makefile create mode 100644 package/qingy/patches/patch-ltmain_sh create mode 100644 package/quagga/patches/patch-ltmain_sh create mode 100644 package/quagga/patches/patch-redhat_quagga_spec create mode 100644 package/quagga/patches/patch-vtysh_extract_pl create mode 100644 package/rp-pppoe/patches/patch-src_Makefile_in create mode 100644 package/rrdtool/patches/patch-ltmain_sh create mode 100644 package/ruby/patches/patch-Makefile_in create mode 100644 package/sane-backends/patches/patch-ltmain_sh create mode 100644 package/scanlogd/patches/patch-Makefile create mode 100644 package/scanlogd/patches/patch-params_h create mode 100644 package/sdl-image/patches/patch-ltmain_sh create mode 100644 package/sdl/patches/patch-build-scripts_ltmain_sh create mode 100644 package/siproxd/patches/patch-libltdl_ltmain_sh create mode 100644 package/siproxd/patches/patch-scripts_ltmain_sh create mode 100644 package/snort/patches/patch-ltmain_sh create mode 100644 package/speex/patches/patch-ltmain_sh create mode 100644 package/sqlite/patches/patch-ltmain_sh delete mode 100644 package/ssmtp/patches/500-debian-subset-2.61-2.patch delete mode 100644 package/ssmtp/patches/901-strftime_space_padding.patch create mode 100644 package/ssmtp/patches/patch-Makefile_in create mode 100644 package/ssmtp/patches/patch-arpadate_c create mode 100644 package/ssmtp/patches/patch-configure_in create mode 100644 package/ssmtp/patches/patch-ssmtp_c create mode 100644 package/ssmtp/patches/patch-ssmtp_conf create mode 100644 package/strongswan/patches/patch-ltmain_sh create mode 100644 package/sysfsutils/patches/patch-ltmain_sh create mode 100644 package/traceroute/patches/patch-default_rules create mode 100644 package/tslib/patches/patch-ltmain_sh create mode 100644 package/ulogd/patches/patch-ltmain_sh create mode 100644 package/updatedd/patches/patch-ltmain_sh create mode 100644 package/util-linux-ng/patches/patch-config_ltmain_sh create mode 100644 package/vrrpd/patches/patch-Makefile create mode 100644 package/weechat/patches/patch-ltmain_sh create mode 100644 package/wifidog/patches/patch-config_ltmain_sh create mode 100644 package/wireless-tools/patches/patch-Makefile delete mode 100644 package/wput/patches/patch-Makefile delete mode 100644 package/wput/patches/patch-config_status delete mode 100644 package/wput/patches/patch-po_Makefile delete mode 100644 package/wput/patches/patch-po_Makefile_in delete mode 100644 package/wput/patches/patch-src_Makefile create mode 100644 package/wput/patches/patch-src_Makefile_in delete mode 100644 package/wput/patches/patch-src_config_h create mode 100644 package/xf86-input-evtouch/patches/patch-ltmain_sh create mode 100644 package/xf86-input-keyboard/patches/patch-ltmain_sh create mode 100644 package/xf86-input-mouse/patches/patch-ltmain_sh create mode 100644 package/xf86-video-cirrus/patches/patch-ltmain_sh create mode 100644 package/xf86-video-geode/patches/patch-ltmain_sh create mode 100644 package/xf86-video-intel/patches/patch-ltmain_sh create mode 100644 package/xf86-video-siliconmotion/patches/patch-ltmain_sh create mode 100644 package/xorg-server/patches/patch-ltmain_sh create mode 100644 package/xz/patches/patch-build-aux_ltmain_sh (limited to 'package') diff --git a/package/DirectFB/patches/patch-ltmain_sh b/package/DirectFB/patches/patch-ltmain_sh new file mode 100644 index 000000000..cd25bbd95 --- /dev/null +++ b/package/DirectFB/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- DirectFB-1.4.11.orig/ltmain.sh 2010-11-03 11:14:45.000000000 +0100 ++++ DirectFB-1.4.11/ltmain.sh 2011-01-14 00:24:52.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/ImageMagick/patches/patch-config_ltmain_sh b/package/ImageMagick/patches/patch-config_ltmain_sh index 3c1be111b..9ca2a4a6c 100644 --- a/package/ImageMagick/patches/patch-config_ltmain_sh +++ b/package/ImageMagick/patches/patch-config_ltmain_sh @@ -1,5 +1,14 @@ --- ImageMagick-6.6.5-10.orig/config/ltmain.sh 2010-11-21 22:35:22.000000000 +0100 -+++ ImageMagick-6.6.5-10/config/ltmain.sh 2011-01-08 23:20:33.000000000 +0100 ++++ ImageMagick-6.6.5-10/config/ltmain.sh 2011-01-14 00:59:45.000000000 +0100 +@@ -5091,7 +5091,7 @@ func_mode_link () + # @file GCC response files + # -tp=* Portland pgcc target processor selection + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" @@ -5843,27 +5843,6 @@ func_mode_link () esac fi diff --git a/package/alsa-lib/patches/patch-ltmain_sh b/package/alsa-lib/patches/patch-ltmain_sh new file mode 100644 index 000000000..7c980c176 --- /dev/null +++ b/package/alsa-lib/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- alsa-lib-1.0.22.orig/ltmain.sh 2006-11-25 12:04:27.000000000 +0100 ++++ alsa-lib-1.0.22/ltmain.sh 2011-01-14 11:34:46.000000000 +0100 +@@ -1623,7 +1623,7 @@ EOF + # -pg pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \ +- -t[45]*|-txscale*|@*) ++ -t[45]*|-txscale*|@*|-fstack-protector*|-flto) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. diff --git a/package/apr/patches/patch-build_ltmain_sh b/package/apr/patches/patch-build_ltmain_sh new file mode 100644 index 000000000..0ce8441f6 --- /dev/null +++ b/package/apr/patches/patch-build_ltmain_sh @@ -0,0 +1,11 @@ +--- apr-1.4.2.orig/build/ltmain.sh 2010-01-21 08:59:41.000000000 +0100 ++++ apr-1.4.2/build/ltmain.sh 2011-01-14 11:41:48.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/autossh/patches/patch-Makefile_in b/package/autossh/patches/patch-Makefile_in index 098c3fee1..6aa8a369a 100644 --- a/package/autossh/patches/patch-Makefile_in +++ b/package/autossh/patches/patch-Makefile_in @@ -1,5 +1,14 @@ --- autossh-1.4b.orig/Makefile.in 2008-04-11 22:47:46.000000000 +0200 -+++ autossh-1.4b/Makefile.in 2010-02-05 17:49:30.511836749 +0100 ++++ autossh-1.4b/Makefile.in 2011-01-14 18:20:25.000000000 +0100 +@@ -31,7 +31,7 @@ all: $(TARGET) + + + $(TARGET): $(OFILES) +- $(CC) $(CPPFLAGS) -o $(TARGET) $(OFILES) $(LIBS) ++ $(CC) $(LDFLAGS) -o $(TARGET) $(OFILES) $(LIBS) + + clean: + - /bin/rm -f *.o *.a *.core *~ @@ -45,18 +45,18 @@ distclean: allclean - /bin/rm -f Makefile diff --git a/package/avahi/patches/patch-ltmain_sh b/package/avahi/patches/patch-ltmain_sh new file mode 100644 index 000000000..2bd6af820 --- /dev/null +++ b/package/avahi/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- avahi-0.6.25.orig/ltmain.sh 2009-04-14 03:48:18.000000000 +0200 ++++ avahi-0.6.25/ltmain.sh 2011-01-14 18:46:07.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/bind/patches/patch-ltmain_sh b/package/bind/patches/patch-ltmain_sh new file mode 100644 index 000000000..30b126894 --- /dev/null +++ b/package/bind/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- bind-9.7.0.orig/ltmain.sh 2009-01-19 02:38:41.000000000 +0100 ++++ bind-9.7.0/ltmain.sh 2011-01-14 18:53:09.000000000 +0100 +@@ -1706,7 +1706,7 @@ EOF + # -F/path gives path to uninstalled frameworks, gcc on darwin + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. diff --git a/package/binutils/patches/patch-ltmain_sh b/package/binutils/patches/patch-ltmain_sh new file mode 100644 index 000000000..18a178908 --- /dev/null +++ b/package/binutils/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- binutils-2.21.orig/ltmain.sh 2010-01-09 22:11:32.000000000 +0100 ++++ binutils-2.21/ltmain.sh 2011-01-14 19:07:08.000000000 +0100 +@@ -4980,7 +4980,7 @@ func_mode_link () + # @file GCC response files + # -tp=* Portland pgcc target processor selection + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/bitlbee/Makefile b/package/bitlbee/Makefile index 9c18f0c13..41b56a5ca 100644 --- a/package/bitlbee/Makefile +++ b/package/bitlbee/Makefile @@ -19,7 +19,6 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,BITLBEE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIG_STYLE:= minimal - TCFLAGS+= -fPIC CONFIGURE_ARGS:= --target=${REAL_GNU_TARGET_NAME} \ --prefix=/usr/ \ @@ -33,13 +32,12 @@ CONFIGURE_ARGS:= --target=${REAL_GNU_TARGET_NAME} \ --strip=0 \ --ipv6=1 \ --ssl=openssl - INSTALL_TARGET= install-etc install-bin post-configure: @echo 'CFLAGS+="-I${STAGING_TARGET_DIR}/usr/include/iconv"' >> \ ${WRKBUILD}/Makefile.settings - @echo 'LFLAGS+="-L${STAGING_TARGET_DIR}/usr/lib"' >> \ + @echo 'LFLAGS+=${TARGET_LDFLAGS}' >> \ ${WRKBUILD}/Makefile.settings post-install: diff --git a/package/bluez/patches/patch-Makefile_in b/package/bluez/patches/patch-Makefile_in index 4334402d7..2c4cf7336 100644 --- a/package/bluez/patches/patch-Makefile_in +++ b/package/bluez/patches/patch-Makefile_in @@ -1,6 +1,6 @@ ---- bluez-4.59.orig/Makefile.in Thu Dec 24 17:42:48 2009 -+++ bluez-4.59/Makefile.in Tue Dec 29 01:31:12 2009 -@@ -48,7 +48,6 @@ noinst_PROGRAMS = $(am__EXEEXT_7) $(am__EXEEXT_8) $(am +--- bluez-4.59.orig/Makefile.in 2009-12-24 17:42:48.000000000 +0100 ++++ bluez-4.59/Makefile.in 2011-01-14 19:24:13.000000000 +0100 +@@ -48,7 +48,6 @@ noinst_PROGRAMS = $(am__EXEEXT_7) $(am__ $(am__EXEEXT_10) $(am__EXEEXT_11) @SBC_TRUE@am__append_1 = sbc/libsbc.la @SBC_TRUE@am__append_2 = sbc/sbcinfo sbc/sbcdec sbc/sbcenc @@ -8,7 +8,7 @@ @NETLINK_TRUE@am__append_4 = plugins/netlink.la @ECHOPLUGIN_TRUE@am__append_5 = echo @ECHOPLUGIN_TRUE@am__append_6 = plugins/echo.c -@@ -318,7 +317,6 @@ sbc_libsbc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $( +@@ -318,7 +317,6 @@ sbc_libsbc_la_LINK = $(LIBTOOL) $(AM_V_l @DUND_TRUE@am__EXEEXT_6 = compat/dund$(EXEEXT) @SBC_TRUE@am__EXEEXT_7 = sbc/sbcinfo$(EXEEXT) sbc/sbcdec$(EXEEXT) \ @SBC_TRUE@ sbc/sbcenc$(EXEEXT) @@ -16,7 +16,7 @@ @TOOLS_TRUE@am__EXEEXT_9 = tools/avinfo$(EXEEXT) tools/ppporc$(EXEEXT) \ @TOOLS_TRUE@ tools/hcieventmask$(EXEEXT) \ @TOOLS_TRUE@ tools/hcisecfilter$(EXEEXT) -@@ -918,8 +916,6 @@ lib_libbluetooth_la_DEPENDENCIES = $(local_headers) +@@ -918,8 +916,6 @@ lib_libbluetooth_la_DEPENDENCIES = $(loc @SBC_TRUE@sbc_sbcdec_LDADD = sbc/libsbc.la @SBC_TRUE@sbc_sbcenc_SOURCES = sbc/sbcenc.c sbc/formats.h @SBC_TRUE@sbc_sbcenc_LDADD = sbc/libsbc.la diff --git a/package/bluez/patches/patch-ltmain_sh b/package/bluez/patches/patch-ltmain_sh new file mode 100644 index 000000000..e323f1b54 --- /dev/null +++ b/package/bluez/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- bluez-4.59.orig/ltmain.sh 2009-12-24 17:42:43.000000000 +0100 ++++ bluez-4.59/ltmain.sh 2011-01-14 19:25:00.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/bogofilter/Makefile b/package/bogofilter/Makefile index 120dfaf4e..0c8cca392 100644 --- a/package/bogofilter/Makefile +++ b/package/bogofilter/Makefile @@ -23,6 +23,7 @@ CONFIGURE_ENV+= LIBS="-liconv" \ CONFIGURE_ARGS+= --without-libsqlite3-prefix \ --without-libqdbm-prefix \ --with-included-gsl \ + --disable-static \ --with-libdb-prefix=${STAGING_TARGET_DIR}/usr \ --disable-transactions diff --git a/package/cairo/patches/patch-build_ltmain_sh b/package/cairo/patches/patch-build_ltmain_sh new file mode 100644 index 000000000..d79eba50b --- /dev/null +++ b/package/cairo/patches/patch-build_ltmain_sh @@ -0,0 +1,11 @@ +--- cairo-1.8.10.orig/build/ltmain.sh 2010-02-20 00:39:43.000000000 +0100 ++++ cairo-1.8.10/build/ltmain.sh 2011-01-14 20:17:40.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/cairo/patches/patch-src_cairo-features_h b/package/cairo/patches/patch-src_cairo-features_h new file mode 100644 index 000000000..6466deec7 --- /dev/null +++ b/package/cairo/patches/patch-src_cairo-features_h @@ -0,0 +1,15 @@ +--- cairo-1.8.10.orig/src/cairo-features.h 2010-02-19 22:34:38.000000000 +0100 ++++ cairo-1.8.10/src/cairo-features.h 2011-01-14 20:12:28.000000000 +0100 +@@ -10,11 +10,11 @@ + #define CAIRO_HAS_SVG_SURFACE 1 + #define CAIRO_HAS_USER_FONT 1 + #define CAIRO_HAS_XLIB_SURFACE 1 +-#define CAIRO_HAS_XLIB_XRENDER_SURFACE 1 + + /*#undef CAIRO_HAS_QUARTZ_FONT */ + /*#undef CAIRO_HAS_QUARTZ_SURFACE */ + /*#undef CAIRO_HAS_WIN32_FONT */ + /*#undef CAIRO_HAS_WIN32_SURFACE */ ++/*#undef CAIRO_HAS_XLIB_XRENDER_SURFACE */ + + #endif diff --git a/package/ccid/patches/patch-ltmain_sh b/package/ccid/patches/patch-ltmain_sh new file mode 100644 index 000000000..572c24069 --- /dev/null +++ b/package/ccid/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- ccid-1.4.1.orig/ltmain.sh 2010-08-04 15:28:29.000000000 +0200 ++++ ccid-1.4.1/ltmain.sh 2011-01-14 20:22:38.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/cgilib/patches/patch-ltmain_sh b/package/cgilib/patches/patch-ltmain_sh index 6eceb3560..f2e06e38b 100644 --- a/package/cgilib/patches/patch-ltmain_sh +++ b/package/cgilib/patches/patch-ltmain_sh @@ -1,6 +1,6 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ --- cgilib-0.7.orig/ltmain.sh 2008-04-29 23:33:55.000000000 +0200 -+++ cgilib-0.7/ltmain.sh 2009-05-09 03:58:09.000000000 +0200 ++++ cgilib-0.7/ltmain.sh 2011-01-14 20:26:24.000000000 +0100 @@ -43,8 +43,8 @@ EXIT_FAILURE=1 PROGRAM=ltmain.sh @@ -65,6 +65,15 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ continue ;; +@@ -1676,7 +1706,7 @@ EOF + # -F/path gives path to uninstalled frameworks, gcc on darwin + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. @@ -2135,10 +2165,7 @@ EOF case $pass in dlopen) libs="$dlfiles" ;; diff --git a/package/collectd/patches/patch-ltmain_sh b/package/collectd/patches/patch-ltmain_sh new file mode 100644 index 000000000..d53645853 --- /dev/null +++ b/package/collectd/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- collectd-4.10.0.orig/ltmain.sh 2010-05-01 11:15:57.000000000 +0200 ++++ collectd-4.10.0/ltmain.sh 2011-01-14 20:29:06.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/cryptsetup/Makefile b/package/cryptsetup/Makefile index fbccefdfe..8ab2f397d 100644 --- a/package/cryptsetup/Makefile +++ b/package/cryptsetup/Makefile @@ -24,7 +24,8 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,CRYPTSETUP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIGURE_ARGS+= --disable-selinux +CONFIGURE_ARGS+= --disable-selinux \ + --disable-static post-install: ${INSTALL_DIR} ${IDIR_CRYPTSETUP}/usr/sbin ${IDIR_CRYPTSETUP}/usr/lib diff --git a/package/cryptsetup/patches/patch-ltmain_sh b/package/cryptsetup/patches/patch-ltmain_sh new file mode 100644 index 000000000..4aa161aec --- /dev/null +++ b/package/cryptsetup/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- cryptsetup-1.1.3.orig/ltmain.sh 2010-01-17 11:29:15.000000000 +0100 ++++ cryptsetup-1.1.3/ltmain.sh 2011-01-14 20:48:34.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/cups/Makefile b/package/cups/Makefile index 8f764ba1b..aa3bea6fd 100644 --- a/package/cups/Makefile +++ b/package/cups/Makefile @@ -21,7 +21,7 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,CUPS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_ENV+= ac_cv_func_sigset=no \ - OPTIM='-fPIC' + OPTIM='-fPIC $(TARGET_CFLAGS)' CONFIGURE_ARGS+= --with-cups-user=cups \ --with-cups-group=cups \ @@ -42,7 +42,7 @@ CONFIGURE_ARGS+= --with-cups-user=cups \ --disable-ssl FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true" -XAKE_FLAGS+= OPTIM='-fPIC' +XAKE_FLAGS+= OPTIM='-fPIC $(TARGET_CFLAGS)' post-install: ${INSTALL_DIR} ${IDIR_CUPS}/usr/bin diff --git a/package/curl/patches/patch-configure b/package/curl/patches/patch-configure index 21c0b095d..27e43ebf0 100644 --- a/package/curl/patches/patch-configure +++ b/package/curl/patches/patch-configure @@ -1,6 +1,6 @@ ---- curl-7.19.7.orig/configure 2009-11-04 13:26:02.000000000 +0100 -+++ curl-7.19.7/configure 2009-12-03 21:07:01.000000000 +0100 -@@ -19233,15 +19233,6 @@ fi +--- curl-7.21.0.orig/configure 2010-06-05 00:32:04.000000000 +0200 ++++ curl-7.21.0/configure 2011-01-14 12:05:38.000000000 +0100 +@@ -19714,15 +19714,6 @@ fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi diff --git a/package/curl/patches/patch-ltmain_sh b/package/curl/patches/patch-ltmain_sh new file mode 100644 index 000000000..b1eef4628 --- /dev/null +++ b/package/curl/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- curl-7.21.0.orig/ltmain.sh 2010-05-27 21:20:16.000000000 +0200 ++++ curl-7.21.0/ltmain.sh 2011-01-14 12:07:25.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/dansguardian/Makefile b/package/dansguardian/Makefile index e262bbca6..b24b416b7 100644 --- a/package/dansguardian/Makefile +++ b/package/dansguardian/Makefile @@ -20,12 +20,18 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,DANSGUARDIAN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lm +ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y) +LIBRARIES+=-lssp +endif + ifeq ($(ADK_COMPILE_DANSGUARDIAN_WITH_UCLIBCXX),y) CONFIGURE_ENV+= CXXFLAGS="-fno-threadsafe-statics -fno-builtin -nostdinc++ \ -I${STAGING_TARGET_DIR}/usr/include/uClibc++" \ - LIBS="-nodefaultlibs -luClibc++ -lgcc -lm" + LIBS="$(LIBRARIES)" endif + CONFIGURE_ARGS+= --enable-orig-ip \ --with-proxyuser=proxy \ --with-proxygroup=proxy diff --git a/package/dbus/patches/patch-configure b/package/dbus/patches/patch-configure index 85521d390..18acacbc8 100644 --- a/package/dbus/patches/patch-configure +++ b/package/dbus/patches/patch-configure @@ -1,6 +1,6 @@ --- dbus-1.2.24.orig/configure 2010-03-23 20:11:22.000000000 +0100 -+++ dbus-1.2.24/configure 2011-01-08 22:50:31.000000000 +0100 -@@ -25294,19 +25296,6 @@ if test "x$GCC" = "xyes"; then ++++ dbus-1.2.24/configure 2011-01-14 19:21:37.000000000 +0100 +@@ -25294,19 +25294,6 @@ if test "x$GCC" = "xyes"; then ;; esac diff --git a/package/dbus/patches/patch-ltmain_sh b/package/dbus/patches/patch-ltmain_sh index b63e1d647..c594b88f2 100644 --- a/package/dbus/patches/patch-ltmain_sh +++ b/package/dbus/patches/patch-ltmain_sh @@ -1,5 +1,14 @@ --- dbus-1.2.24.orig/ltmain.sh 2010-03-12 23:22:29.000000000 +0100 -+++ dbus-1.2.24/ltmain.sh 2011-01-08 22:57:14.000000000 +0100 ++++ dbus-1.2.24/ltmain.sh 2011-01-14 19:22:39.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" @@ -5516,27 +5516,6 @@ func_mode_link () esac fi diff --git a/package/digitemp/patches/patch-Makefile b/package/digitemp/patches/patch-Makefile index 4f19aaae2..95b89e7b3 100644 --- a/package/digitemp/patches/patch-Makefile +++ b/package/digitemp/patches/patch-Makefile @@ -1,7 +1,7 @@ do not use static linking on Cygwin --- digitemp-3.6.0.orig/Makefile 2008-08-28 23:37:00.000000000 +0200 -+++ digitemp-3.6.0/Makefile 2010-01-06 19:12:56.868375000 +0100 -@@ -11,8 +11,8 @@ ++++ digitemp-3.6.0/Makefile 2011-01-14 21:37:33.000000000 +0100 +@@ -11,8 +11,9 @@ VERSION = 3.6.0 @@ -9,10 +9,20 @@ do not use static linking on Cygwin -CFLAGS = -I./src -I./userial -O2 -Wall # -g +CC ?= gcc +CFLAGS ?= -I./src -I./userial ++LDFLAGS ?= OBJS = src/digitemp.o src/device_name.o src/ds2438.o HDRS = src/digitemp.h src/device_name.h -@@ -57,7 +57,6 @@ endif +@@ -45,7 +46,7 @@ DS2490OBJS = userial/ds2490/ownet.o user + # If you add a new OSTYPE here please email it to me so that I can add + # it to the distribution in the next release + # ----------------------------------------------------------------------- +-SYSTYPE := $(shell uname -s) ++SYSTYPE := Linux + + ifeq ($(SYSTYPE), Linux) + CFLAGS += -DLINUX +@@ -57,7 +58,6 @@ endif ifneq (, $(findstring CYGWIN,$(SYSTYPE))) CFLAGS += -DCYGWIN @@ -20,3 +30,20 @@ do not use static linking on Cygwin endif ifeq ($(SYSTYPE), SunOS) +@@ -116,13 +116,13 @@ all: help + + # Build the Linux executable + ds9097: $(OBJS) $(HDRS) $(ONEWIREOBJS) $(ONEWIREHDRS) $(DS9097OBJS) +- $(CC) $(OBJS) $(ONEWIREOBJS) $(DS9097OBJS) -o digitemp_DS9097 $(LIBS) ++ $(CC) $(LDFLAGS) $(OBJS) $(ONEWIREOBJS) $(DS9097OBJS) -o digitemp_DS9097 $(LIBS) + + ds9097u: $(OBJS) $(HDRS) $(ONEWIREOBJS) $(ONEWIREHDRS) $(DS9097UOBJS) +- $(CC) $(OBJS) $(ONEWIREOBJS) $(DS9097UOBJS) -o digitemp_DS9097U $(LIBS) ++ $(CC) $(LDFLAGS) $(OBJS) $(ONEWIREOBJS) $(DS9097UOBJS) -o digitemp_DS9097U $(LIBS) + + ds2490: $(OBJS) $(HDRS) $(ONEWIREOBJS) $(ONEWIREHDRS) $(DS2490OBJS) +- $(CC) $(OBJS) $(ONEWIREOBJS) $(DS2490OBJS) -o digitemp_DS2490 $(LIBS) ++ $(CC) $(LDFLAGS) $(OBJS) $(ONEWIREOBJS) $(DS2490OBJS) -o digitemp_DS2490 $(LIBS) + + + # Clean up the object files and the sub-directory for distributions diff --git a/package/dovecot/patches/patch-ltmain_sh b/package/dovecot/patches/patch-ltmain_sh new file mode 100644 index 000000000..8c7c6bc7d --- /dev/null +++ b/package/dovecot/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- dovecot-2.0.5.orig/ltmain.sh 2010-05-24 16:48:06.000000000 +0200 ++++ dovecot-2.0.5/ltmain.sh 2011-01-14 22:05:48.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" diff --git a/package/drbd/patches/patch-drbd_drbd_buildtag_c b/package/drbd/patches/patch-drbd_drbd_buildtag_c deleted file mode 100644 index 7a8358ea7..000000000 --- a/package/drbd/patches/patch-drbd_drbd_buildtag_c +++ /dev/null @@ -1,9 +0,0 @@ ---- drbd-8.3.8.1.orig/drbd/drbd_buildtag.c 2010-07-09 10:19:05.000000000 +0200 -+++ drbd-8.3.8.1/drbd/drbd_buildtag.c 2010-11-26 18:59:58.000000000 +0100 -@@ -3,5 +3,5 @@ - const char *drbd_buildtag(void) - { - return "GIT-hash: 0d8589fcc32c874df57c930ca1691399b55ec893" -- " build by lars@soda, 2010-07-09 10:19:24"; -+ " build by wbx@neon.lan, 2010-11-26 18:59:58"; - } diff --git a/package/drbd/patches/patch-user_Makefile_in b/package/drbd/patches/patch-user_Makefile_in new file mode 100644 index 000000000..2979decb1 --- /dev/null +++ b/package/drbd/patches/patch-user_Makefile_in @@ -0,0 +1,24 @@ +--- drbd-8.3.8.1.orig/user/Makefile.in 2010-05-10 16:09:13.000000000 +0200 ++++ drbd-8.3.8.1/user/Makefile.in 2011-01-14 22:16:28.000000000 +0100 +@@ -74,7 +74,7 @@ drbd_strings.c: ../drbd/drbd_strings.c + cp $^ $@ + + drbdadm: $(drbdadm-obj) +- $(CC) -o $@ $^ ++ $(CC) $(LDFLAGS) -o $@ $^ + + drbdadm_scanner.c: drbdadm_scanner.fl drbdadm_parser.h + flex -s -odrbdadm_scanner.c drbdadm_scanner.fl +@@ -83,10 +83,10 @@ drbdmeta_scanner.c: drbdmeta_scanner.fl + flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl + + drbdsetup: $(drbdsetup-obj) +- $(CC) -o $@ $^ ++ $(CC) $(LDFLAGS) -o $@ $^ + + drbdmeta: $(drbdmeta-obj) +- $(CC) -o $@ $^ ++ $(CC) $(LDFLAGS) -o $@ $^ + + clean: + rm -f drbdadm_scanner.c drbdmeta_scanner.c diff --git a/package/ebtables/patches/patch-Makefile b/package/ebtables/patches/patch-Makefile index 62528ec30..f05da74c9 100644 --- a/package/ebtables/patches/patch-Makefile +++ b/package/ebtables/patches/patch-Makefile @@ -1,6 +1,6 @@ --- ebtables-v2.0.9-1.orig/Makefile 2009-06-21 15:13:25.000000000 +0200 -+++ ebtables-v2.0.9-1/Makefile 2009-11-29 15:39:30.000000000 +0100 -@@ -8,17 +8,16 @@ PROGDATE:=June\ 2009 ++++ ebtables-v2.0.9-1/Makefile 2011-01-14 22:24:16.000000000 +0100 +@@ -8,17 +8,17 @@ PROGDATE:=June\ 2009 # default paths LIBDIR:=/usr/lib @@ -16,6 +16,7 @@ -CFLAGS:=-Wall -Wunused +CFLAGS?=-Wall -Wunused ++LDFLAGS?= CFLAGS_SH_LIB:=-fPIC -CC:=gcc -LD:=ld @@ -23,16 +24,25 @@ ifeq ($(shell uname -m),sparc64) CFLAGS+=-DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32 -@@ -85,7 +84,7 @@ ebtables-standalone.o: ebtables-standalo +@@ -85,14 +85,14 @@ ebtables-standalone.o: ebtables-standalo .PHONY: libebtc libebtc: $(OBJECTS2) - $(LD) -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2) -+ $(CC) -shared -o libebtc.so -lc $(OBJECTS2) ++ $(CC) -shared $(LDFLAGS) -o libebtc.so -lc $(OBJECTS2) ebtables: $(OBJECTS) ebtables-standalone.o libebtc - $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ -@@ -154,28 +153,29 @@ tmp3:=$(shell printf $(PIPE) | sed 's/\/ +- $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ ++ $(CC) $(LDFLAGS) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ + -Wl,-rpath,$(LIBDIR) + + ebtablesu: ebtablesu.c +- $(CC) $(CFLAGS) $(PROGSPECSD) $< -o $@ ++ $(CC) $(LDFLAGS) $(CFLAGS) $(PROGSPECSD) $< -o $@ + + ebtablesd.o: ebtablesd.c include/ebtables_u.h + $(CC) $(CFLAGS) $(PROGSPECSD) -c $< -o $@ -I$(KERNEL_INCLUDES) +@@ -154,28 +154,29 @@ tmp3:=$(shell printf $(PIPE) | sed 's/\/ .PHONY: scripts scripts: ebtables-save ebtables.sysv ebtables-config cat ebtables-save | sed 's/__EXEC_PATH__/$(tmp1)/g' > ebtables-save_ @@ -69,7 +79,7 @@ .PHONY: install install: $(MANDIR)/man8/ebtables.8 $(ETHERTYPESFILE) exec scripts -@@ -199,18 +199,18 @@ release: +@@ -199,18 +200,18 @@ release: rm -f extensions/ebt_inat.c rm -rf $(CVSDIRS) mkdir -p include/linux/netfilter_bridge diff --git a/package/esound/patches/patch-esd_c b/package/esound/patches/patch-esd_c index ebec477a1..2af302a63 100644 --- a/package/esound/patches/patch-esd_c +++ b/package/esound/patches/patch-esd_c @@ -2,9 +2,9 @@ $Id$ cast to double, to avoid sinf, patch from Sven Gugges ---- esound-0.2.38.orig/esd.c 2007-05-03 22:28:35.000000000 +0200 -+++ esound-0.2.38/esd.c 2007-05-19 17:21:23.000000000 +0200 -@@ -131,14 +131,14 @@ void set_audio_buffer( void *buf, esd_fo +--- esound-0.2.41.orig/esd.c 2008-11-18 21:35:19.000000000 +0100 ++++ esound-0.2.41/esd.c 2011-01-14 23:15:33.000000000 +0100 +@@ -134,14 +134,14 @@ void set_audio_buffer( void *buf, esd_fo { case ESD_BITS8: for ( i = 0 ; i < length ; i+=2 ) { diff --git a/package/esound/patches/patch-ltmain_sh b/package/esound/patches/patch-ltmain_sh new file mode 100644 index 000000000..316c61433 --- /dev/null +++ b/package/esound/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- esound-0.2.41.orig/ltmain.sh 2008-06-06 20:28:34.000000000 +0200 ++++ esound-0.2.41/ltmain.sh 2011-01-14 23:16:51.000000000 +0100 +@@ -1676,7 +1676,7 @@ EOF + # -F/path gives path to uninstalled frameworks, gcc on darwin + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. diff --git a/package/expat/patches/patch-conftools_ltmain_sh b/package/expat/patches/patch-conftools_ltmain_sh new file mode 100644 index 000000000..7c2364b93 --- /dev/null +++ b/package/expat/patches/patch-conftools_ltmain_sh @@ -0,0 +1,11 @@ +--- expat-2.0.1.orig/conftools/ltmain.sh 2006-12-19 20:28:40.000000000 +0100 ++++ expat-2.0.1/conftools/ltmain.sh 2011-01-14 01:24:32.000000000 +0100 +@@ -1623,7 +1623,7 @@ EOF + # -pg pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \ +- -t[45]*|-txscale*|@*) ++ -t[45]*|-txscale*|@*|-fstack-protector*|-flto) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. diff --git a/package/faad2/patches/patch-ltmain_sh b/package/faad2/patches/patch-ltmain_sh new file mode 100644 index 000000000..7c24bb64e --- /dev/null +++ b/package/faad2/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- faad2-2.7.orig/ltmain.sh 2006-03-22 01:06:55.000000000 +0100 ++++ faad2-2.7/ltmain.sh 2011-01-14 23:20:01.000000000 +0100 +@@ -1623,7 +1623,7 @@ EOF + # -pg pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \ +- -t[45]*|-txscale*|@*) ++ -t[45]*|-txscale*|@*|-fstack-protector*|-flto) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. diff --git a/package/file/patches/patch-ltmain_sh b/package/file/patches/patch-ltmain_sh new file mode 100644 index 000000000..f0bc58c34 --- /dev/null +++ b/package/file/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- file-5.04.orig/ltmain.sh 2009-02-09 17:40:06.000000000 +0100 ++++ file-5.04/ltmain.sh 2011-01-14 23:37:41.000000000 +0100 +@@ -1735,7 +1735,7 @@ EOF + # -F/path gives path to uninstalled frameworks, gcc on darwin + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. diff --git a/package/flac/patches/patch-ltmain_sh b/package/flac/patches/patch-ltmain_sh new file mode 100644 index 000000000..ded69d58a --- /dev/null +++ b/package/flac/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- flac-1.2.1.orig/ltmain.sh 2005-04-26 20:23:39.000000000 +0200 ++++ flac-1.2.1/ltmain.sh 2011-01-15 11:22:29.000000000 +0100 +@@ -1533,7 +1533,7 @@ EOF + # +DA*, +DD* enable 64-bit mode on the HP compiler + # -q* pass through compiler args for the IBM compiler + # -m* pass through architecture-specific compiler args for GCC +- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*) ++ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-fstack-protector*|-flto) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. diff --git a/package/fltk/Makefile b/package/fltk/Makefile index fc2e54ad5..b29de4bc5 100644 --- a/package/fltk/Makefile +++ b/package/fltk/Makefile @@ -13,6 +13,9 @@ PKG_BUILDDEP:= libX11 libXi MesaLib freeglut PKG_URL:= http://www.fltk.org/ PKG_SITES:= http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/snapshots/ +PKG_NEED_CXX:= 1 +PKG_CXX:= LIBFLTK + PKG_SUBPKGS:= LIBFLTK PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el @@ -23,6 +26,17 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBFLTK,libfltk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lm +ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y) +LIBRARIES+=-lssp +endif + +ifeq ($(ADK_COMPILE_LIBFLTK_WITH_UCLIBCXX),y) +CONFIGURE_ENV+= CXXFLAGS="-fno-threadsafe-statics -fno-builtin -nostdinc++ \ + -I${STAGING_TARGET_DIR}/usr/include/uClibc++" \ + LIBS="$(LIBRARIES)" +endif + post-install: $(INSTALL_DIR) $(IDIR_LIBFLTK)/usr/lib $(CP) ${WRKINST}/usr/lib/libfltk*.so* $(IDIR_LIBFLTK)/usr/lib diff --git a/package/fltk/patches/patch-Makefile b/package/fltk/patches/patch-Makefile new file mode 100644 index 000000000..466aef887 --- /dev/null +++ b/package/fltk/patches/patch-Makefile @@ -0,0 +1,11 @@ +--- fltk-2.0.x-r7513.orig/Makefile 2010-04-15 18:29:49.000000000 +0200 ++++ fltk-2.0.x-r7513/Makefile 2011-01-14 22:01:49.000000000 +0100 +@@ -25,7 +25,7 @@ + + include makeinclude + +-DIRS = src $(LOCALIMAGES) images OpenGL fluid glut test ++DIRS = src $(LOCALIMAGES) images OpenGL fluid + + all: makeinclude + for dir in $(DIRS); do\ diff --git a/package/fontconfig/patches/patch-ltmain_sh b/package/fontconfig/patches/patch-ltmain_sh new file mode 100644 index 000000000..97a052432 --- /dev/null +++ b/package/fontconfig/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- fontconfig-2.8.0.orig/ltmain.sh 2009-11-16 21: