summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2023-07-03 17:01:13 +0200
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2023-07-03 17:01:13 +0200
commit5d544708d43fdde0fb3f9ce860c984be9a17d4e6 (patch)
treeb921dabc3f1422b60cefc48197b63c4c8d4462da
parent0d6c21cb286616868c481b8000cbd956fa7eae79 (diff)
Drop obsolete patches
-rw-r--r--debian/patches/makefile_update_for_kfreebsd_and_hurd91
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 92 deletions
diff --git a/debian/patches/makefile_update_for_kfreebsd_and_hurd b/debian/patches/makefile_update_for_kfreebsd_and_hurd
deleted file mode 100644
index 0feb98c..0000000
--- a/debian/patches/makefile_update_for_kfreebsd_and_hurd
+++ /dev/null
@@ -1,91 +0,0 @@
-Description: updated Makefile to build on kFreeBSD and Hurd
- This patch takes the upstream template Makefile with new code for handling
- building using kFreeBSD and Hurd kernels. This Makefile is already included
- in the upstream SVN repository, but there is no new release yet.
-
-Author: Hans-Christoph Steiner <hans@eds.org>
-Bug-Debian: http://bugs.debian.org/605821
-Forwarded: not-needed
-Reviewed-By: Hans-Christoph Steiner <hans@eds.org>
-Last-Update: <2010-12-19>
-
---- pd-bassemu-0.3.orig/Makefile
-+++ pd-bassemu-0.3/Makefile
-@@ -1,4 +1,4 @@
--## Pd library template version 1.0.4
-+## Pd library template version 1.0.6
- # For instructions on how to use this template, see:
- # http://puredata.info/docs/developer/MakefileTemplate
- LIBRARY_NAME = bassemu~
-@@ -31,7 +31,8 @@ EXTRA_DIST = miniseq.pd Makefile.nt
- #
- #------------------------------------------------------------------------------#
-
--CFLAGS = -DPD -I"$(PD_INCLUDE)" -Wall -W -g
-+# -I"$(PD_INCLUDE)/pd" supports the header location for 0.43
-+CFLAGS = -I"$(PD_INCLUDE)/pd" -Wall -W -g
- LDFLAGS =
- LIBS =
-
-@@ -44,7 +45,7 @@ LIBS =
- # get library version from meta file
- LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd)
-
--CFLAGS += -DVERSION='"$(LIBRARY_VERSION)"'
-+CFLAGS += -DPD -DVERSION='"$(LIBRARY_VERSION)"'
-
- PD_INCLUDE = $(PD_PATH)/include
- # where to install the library, overridden below depending on platform
-@@ -121,6 +122,34 @@ ifeq ($(UNAME),Linux)
- STRIP = strip --strip-unneeded -R .note -R .comment
- DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m)
- endif
-+ifeq ($(UNAME),GNU)
-+ # GNU/Hurd, should work like GNU/Linux for basically all externals
-+ CPU := $(shell uname -m)
-+ SOURCES += $(SOURCES_linux)
-+ EXTENSION = pd_linux
-+ OS = linux
-+ PD_PATH = /usr
-+ OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
-+ CFLAGS += -fPIC
-+ LDFLAGS += -Wl,--export-dynamic -shared -fPIC
-+ LIBS += -lc
-+ STRIP = strip --strip-unneeded -R .note -R .comment
-+ DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m)
-+endif
-+ifeq ($(UNAME),GNU/kFreeBSD)
-+ # Debian GNU/kFreeBSD, should work like GNU/Linux for basically all externals
-+ CPU := $(shell uname -m)
-+ SOURCES += $(SOURCES_linux)
-+ EXTENSION = pd_linux
-+ OS = linux
-+ PD_PATH = /usr
-+ OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
-+ CFLAGS += -fPIC
-+ LDFLAGS += -Wl,--export-dynamic -shared -fPIC
-+ LIBS += -lc
-+ STRIP = strip --strip-unneeded -R .note -R .comment
-+ DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m)
-+endif
- ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
- CPU := $(shell uname -m)
- SOURCES += $(SOURCES_cygwin)
-@@ -140,7 +169,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME))
- EXTENSION = dll
- OS = windows
- PD_PATH = $(shell cd "$(PROGRAMFILES)"/pd && pwd)
-- OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -march=i686 -mtune=pentium4
-+ OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer
- CFLAGS += -mms-bitfields
- LDFLAGS += -s -shared -Wl,--enable-auto-import
- LIBS += -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" -L"$(PD_PATH)/obj" -lpd -lwsock32 -lkernel32 -luser32 -lgdi32
-@@ -149,7 +178,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME))
- endif
-
- # in case somebody manually set the HELPPATCHES above
--HELPPATCHES ?= $(SOURCES:.c=-help.pd) $(PDOBJECTS:.c=-help.pd)
-+HELPPATCHES ?= $(SOURCES:.c=-help.pd) $(PDOBJECTS:.pd=-help.pd)
-
- CFLAGS += $(OPT_CFLAGS)
-
diff --git a/debian/patches/series b/debian/patches/series
index 661cce5..e69de29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +0,0 @@
-makefile_update_for_kfreebsd_and_hurd