🌴 Sync 2026-03-05 23:51:42

This commit is contained in:
github-actions[bot] committed 2026-03-05 23:51:42 +08:00
1 parent 97c049ed0a
commit 0acff03804
14253 files changed
+3893239

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
#
# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=dhrystone
PKG_VERSION:=2.1
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/siasjack/dhrystone4OP.git
PKG_SOURCE_VERSION:=cce98c52c3d8b2676ca68cab075c6e89fc9988d2
PKG_MIRROR_HASH:=skip
MAKE_PATH:=src
include $(INCLUDE_DIR)/package.mk
define Package/dhrystone
SECTION:=utils
CATEGORY:=Utilities
URL:=https://github.com/siasjack/dhrystone4OP
TITLE:=Dhrystone Benchmark Program
endef
define Package/dhrystone/description
Dhrystone 2.1 Benchmark Program by Reinhold P. Weicker
endef
define Package/dhrystone/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gcc_dry2 $(1)/usr/bin/dhrystone
endef
$(eval $(call BuildPackage,dhrystone))
@@ -0,0 +1,10 @@
--- a/src/dhry1.c
+++ b/src/dhry1.c
@@ -2,6 +2,7 @@
#include <sys/time.h>
#include <stdlib.h>
#include <stdio.h>
+#include <unistd.h>
//#include <gio/gio.h>
Rec_Pointer Ptr_Glob, Next_Ptr_Glob;